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

从经验到策略:用可训练图记忆赋能LLM智能体

From Experience to Strategy: Empowering LLM Agents with Trainable Graph Memory

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Meituan(美团);Nanjing University of Posts and Telecommunications(南京邮电大学);AI Centre, Department of Computer Science, University College London(伦敦大学学院计算机科学系人工智能中心)

Siyu Xia, Zekun Xu, Jiajun Chai, Wentian Fan, Yan Song, Xiaohan Wang, Guojun Yin, Wei Lin, Haifeng Zhang, Jun Wang

AI总结:

针对LLM智能体经验利用存在的问题,提出可训练多层图记忆框架,将轨迹抽象为决策路径并提炼为元认知,通过强化学习优化权重,提升了智能体的战略推理性能与泛化能力。

摘要:

基于大语言模型(LLMs)的智能体在复杂、开放式环境中的自主任务解决方面展现出显著潜力。提升LLM智能体推理能力的一个有前景的方法是更好地利用先验经验指导当前决策。然而,LLMs获取经验的方式要么是通过训练获得的隐式记忆(存在灾难性遗忘和可解释性有限的问题),要么是通过提示获得的显式记忆(缺乏适应性)。本文提出一种新颖的、以智能体为中心的可训练多层图记忆框架,并评估上下文记忆如何增强LLMs利用参数化信息的能力。该图将原始智能体轨迹抽象为状态机中的结构化决策路径,并进一步提炼为高层次、人类可解释的战略元认知。为使记忆具有适应性,我们提出基于强化学习的权重优化程序,根据下游任务的奖励反馈估计每个元认知的经验效用。这些优化后的策略随后通过元认知提示动态整合到LLM智能体的训练循环中。实验表明,可学习图记忆实现了稳健的泛化,提升了LLM智能体的战略推理性能,并在强化学习训练期间提供了持续的收益。

英文摘要:

Large Language Models (LLMs) based agents have demonstrated remarkable potential in autonomous task-solving across complex, open-ended environments. A promising approach for improving the reasoning capabilities of LLM agents is to better utilize prior experiences in guiding current decisions. However, LLMs acquire experience either through implicit memory via training, which suffers from catastrophic forgetting and limited interpretability, or explicit memory via prompting, which lacks adaptability. In this paper, we introduce a novel agent-centric, trainable, multi-layered graph memory framework and evaluate how context memory enhances the ability of LLMs to utilize parametric information. The graph abstracts raw agent trajectories into structured decision paths in a state machine and further distills them into high-level, human-interpretable strategic meta-cognition. In order to make memory adaptable, we propose a reinforcement-based weight optimization procedure that estimates the empirical utility of each meta-cognition based on reward feedback from downstream tasks. These optimized strategies are then dynamically integrated into the LLM agent's training loop through meta-cognitive prompting. Empirically, the learnable graph memory delivers robust generalization, improves LLM agents' strategic reasoning performance, and provides consistent benefits during Reinforcement Learning (RL) training.

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

↑