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

STRATA:面向自进化语言智能体的自维护结构化经验图

STRATA: Self-Maintaining Structured Experience Graphs for Self-Evolving Language Agents

New Jersey Institute of Technology(新泽理工学院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Guanhua Zhu, Hanwen Li, Zhi Wei, Mengnan Du, Chenxi Yuan

AI总结:

本研究提出STRATA结构化记忆系统,解决LLM智能体单层级记忆的负迁移与退化问题,在四个基准测试中取得最优性能,同时降低延迟、环境步骤及记忆行数。

摘要:

大型语言模型(LLM)智能体可在测试阶段通过积累经验实现自进化:行动前检索相关记忆,事后写入新的经验教训。然而大多数这类智能体是单层级的:轨迹、提炼的工作流和推理项都被存入一个未区分的池,仅通过嵌入相似度索引,无类型化抽象层级。它们不会遗忘或去重,易出现负迁移:即检索到表面相似但方向相反的经验,并逐字复制其具体步骤,反而对智能体造成损害。我们提出STRATA,一种结构化、基于结果、自维护的记忆系统,它将经验组织为包含原子技能与代码片段、任务工作流、通用元框架的三层图,通过类型化边连接。STRATA通过共享同一相似度几何的五种机制实现自维护:一是按操作和目标对检索进行评分的多维相似度;二是从成功案例中提炼流程、从失败案例中提炼陷阱的类型化反射器;三是生成元框架的社区检测;四是带 articulation-point 保护的压力触发垃圾回收;五是标记易混淆、方向相反经验的对比边。在四个交互式基准(AppWorld、WebArena、ALFWorld、ScienceWorld)、两个冻结骨干模型和七个基线的测试中,STRATA取得最佳平均分数,同时是所有记忆增强方法中延迟最低、环境步骤最少的,且比最依赖上下文的基线少44%的注入记忆行数。我们分离出先前记忆的两种失败模式:单层级记忆随任务集增长急剧退化,单层级具体记忆会遭受灾难性负迁移,而对比边可修复此问题,使ScienceWorld在同一系统内从78.7提升至96.7。

英文摘要:

Large language model (LLM) agents can self-evolve at test time by accumulating experience: retrieving relevant memories before acting and writing new lessons back afterwards. Yet most are single-level: trajectories, distilled workflows and reasoning items all land in one undifferentiated pool indexed by embedding similarity, with no typed abstraction hierarchy. They never forget or deduplicate, and are prone to negative transfer, where a superficially similar but directionally opposite experience is recalled and its concrete steps are copied verbatim, actively harming the agent. We introduce STRATA, a structured, outcome-grounded, self-maintaining memory that organizes experience into a three-layer graph of atomic skills and code snippets, task workflows and generalized meta-frameworks, connected by typed edges. STRATA maintains itself through five mechanisms sharing one similarity geometry: a multi-dimensional similarity that scores retrieval by operation and target; a typed reflector crystallizing procedures from successes and pitfalls from failures; community detection that induces meta-frameworks; pressure-triggered garbage collection with articulation-point protection; and contrast edges that flag confusable, direction-opposite experiences. Across four interactive benchmarks (AppWorld, WebArena, ALFWorld, ScienceWorld), two frozen backbones and seven baselines, STRATA attains the best average score while simultaneously using the lowest latency and fewest environment steps of any memory-augmented method, and 44% fewer lines of injected memory than the most context-hungry baseline. We isolate two failure modes of prior memories: single-level memory degrades sharply as the task set grows, and single-level concrete memories suffer catastrophic negative transfer, which contrast edges repair, lifting ScienceWorld from 78.7 to 96.7 within the same system.

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

↑