arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01630cs.AI
收藏

TReMu:面向具有记忆的LLM智能体在多会话对话中的神经符号时间推理

TReMu: Towards Neuro-Symbolic Temporal Reasoning for LLM-Agents with Memory in Multi-Session Dialogues

University of Illinois Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校);Amazon Web Services(亚马逊网络服务)

Yubin Ge, Salvatore Romeo, Jason Cai, Raphael Shu, Monica Sunkara, Yassine Benajiba, Yi Zhang

AI总结:

提出TReMu框架,通过时间线摘要记忆和神经符号时间推理(LLM生成Python代码)增强多会话对话中LLM智能体的时间推理,在自建基准上将GPT-4o得分从29.83提升至77.67。

摘要:

多会话对话中的时间推理是一个重要挑战,但此前的时序推理基准对此研究不足。为弥补这一空白,我们提出了一项针对多会话对话中时间推理的新评估任务,并引入了一种通过扩充LoCoMo中的对话并创建多项选择问答来构建新基准的方法。此外,我们提出了TReMu,这是一个旨在增强LLM智能体在此背景下时间推理能力的新框架。具体而言,该框架通过时间线摘要实现时间感知记忆,通过总结每个对话会话中的事件及其推断日期来生成可检索的记忆。同时,我们整合了神经符号时间推理,其中LLM生成Python代码以执行时间计算并选择答案。对主流LLM的实验评估表明,我们的基准具有挑战性,所提出的框架相比基线方法显著提升了时间推理性能,将GPT-4o的标准提示得分从29.83提升至我们方法的77.67,凸显了其在解决多会话对话中时间推理问题上的有效性。

英文摘要:

Temporal reasoning in multi-session dialogues presents a significant challenge which has been under-studied in previous temporal reasoning benchmarks. To bridge this gap, we propose a new evaluation task for temporal reasoning in multi-session dialogues and introduce an approach to construct a new benchmark by augmenting dialogues from LoCoMo and creating multi-choice QAs. Furthermore, we present TReMu, a new framework aimed at enhancing the temporal reasoning capabilities of LLM-agents in this context. Specifically, the framework employs time-aware memorization through timeline summarization, generating retrievable memory by summarizing events in each dialogue session with their inferred dates. Additionally, we integrate neuro-symbolic temporal reasoning, where LLMs generate Python code to perform temporal calculations and select answers. Experimental evaluations on popular LLMs demonstrate that our benchmark is challenging, and the proposed framework significantly improves temporal reasoning performance compared to baseline methods, raising from 29.83 on GPT-4o via standard prompting to 77.67 via our approach and highlighting its effectiveness in addressing temporal reasoning in multi-session dialogues.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑