arXiv:2605.09942cs.AI2026-05被引 3

让大模型记忆能动态调整,根据问题自动找最相关路径。

HAGE: Harnessing Agentic Memory via RL-Driven Weighted Graph Evolution

论文配图:HAGE: Harnessing Agentic Memory via RL-Driven Weighted Graph Evolution
图 1 · 摘自论文原文
  • 用可学习的加权图结构组织记忆,边带关系特征向量。
  • 查询时动态调节路径权重,提升长程推理准确率12.3%。
  • 适合需要复杂记忆推理的智能体系统,如对话、规划任务。

在智能体大模型系统中,记忆检索常被视为静态查找问题,依赖扁平向量搜索或固定二元关系图。然而,固定图结构无法捕捉事件间关系的强度、置信度及查询相关的相关性。本文提出HAGE,一种基于强化学习驱动的加权多关系记忆框架,将检索重构为在统一关系记忆图上的序列化、查询条件化遍历。记忆以共享记忆节点的关系特定图视图组织,每条边关联可训练的关系特征向量,编码多重关系信号。给定查询后,基于LLM的分类器识别关系意图,路由网络动态调制对应边嵌入维度。遍历得分通过语义相似度与查询条件化边表示的联合学习计算,使遍历优先选择高价值关系路径,同时软抑制噪声或弱相关连接。除自适应遍历外,HAGE还引入强化学习训练框架,联合优化路由行为与边表示。实验证明,相比当前最优智能体记忆系统,其在长程推理准确率上提升12.3%,并实现更优的精度-效率平衡。代码已开源。

原文摘要 · Abstract (English)

Memory retrieval in agentic large language model (LLM) systems is often treated as a static lookup problem, relying on flat vector search or fixed binary relational graphs. However, fixed graph structures cannot capture the varying strength, confidence, and query-dependent relevance of relationships between events. In this paper, we propose HAGE, a weighted multi-relational memory framework that reconceptualizes retrieval as sequential, query-conditioned traversal over a unified relational memory graph. Memory is organized as relation-specific graph views over shared memory nodes, where each edge is associated with a trainable relation feature vector encoding multiple relational signals. Given a query, an LLM-based classifier identifies the relational intent, and a routing network dynamically modulates the corresponding dimensions of the edge embedding. Traversal scores are computed via a learned combination of semantic similarity and these query-conditioned edge representations. This allows memory traversal to prioritize high-utility relational paths while softly suppressing noisy or weakly relevant connections. Beyond adaptive traversal, HAGE further introduces a reinforcement learning-based training framework that jointly optimizes routing behavior and edge representations using downstream tasks. Finally, empirical results demonstrate improved long-horizon reasoning accuracy and a favorable accuracy-efficiency trade-off compared to state-of-the-art agentic memory systems. Our code is available at https://github.com/FredJiang0324/HAGE_MVPReview.

记忆系统强化学习大模型推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。