工具使用LLM代理的多轨迹推理——生成多个推理尝试并从中选择——受益于跨尝试的知识转移,以便后续尝试避免早期尝试的陷阱。现有的跨轨迹记忆方法(轨迹级反思、原子事实提取、原始观察注入)均在单个任务的单一推理策略下进行评估,使得报告的性能提升是否反映记忆抽象或推理方法的属性变得不明确。我们提出一个统一框架,将记忆沿两个维度分解——传输范围(扩展内 vs. 跨轨迹)和传输内容的抽象程度——并在四种工具使用基准(涵盖SQL、知识图谱和CLI环境)上,在匹配实际代理部署设置的无验证器设置下,评估四种方法在三种推理策略(best-of-N、束搜索、MCTS)下的表现。实验矩阵将推理方法识别为混淆变量:相同的记忆方法在相同示例的不同推理策略下产生统计上不同的结果。反思仅在MCTS下达到显著性(不在best-of-N下);扩展内注入(使每个候选条件依赖于先前兄弟候选的结果)仅有助于缺乏多样性的束搜索;而原子事实提取对准确性无影响,但在具有可重用环境结构的任务上使轨迹缩短19-26%。
英文摘要:
Multi-trajectory inference for tool-use LLM agents - generating multiple reasoning attempts and selecting among them - benefits from transferring knowledge across attempts so that later ones avoid the pitfalls of earlier ones. Existing cross-trajectory memory methods (trajectory-level reflection, atomic fact extraction, raw observation injection) are each evaluated under a single inference strategy on a single task, making it unclear whether reported gains reflect properties of the memory abstraction or of the inference method. We propose a unified framework that decomposes memory along two axes -- the scope of transfer (within an expansion vs. across trajectories) and the abstraction of the transferred content -- and evaluate four methods under three inference strategies (best-of-N, beam search, MCTS) on four tool-use benchmarks spanning SQL, knowledge-graph, and CLI environments, in a verifier-free setting that matches the deployment regime of practical agents. The experiment matrix identifies the inference method as a confound: the same memory method produces statistically distinct results under different inference strategies on the same examples. Reflection reaches significance only under MCTS (not under best-of-N); within-expansion injection (conditioning each candidate on prior siblings' outcomes) helps only diversity-starved beam search; and atomic fact extraction is accuracy-neutral but shortens trajectories by 19-26% on tasks with reusable environmental structure.
From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms
Hong Kong Baptist University(香港 Baptist 大学);South China Normal University(南方中国师范大学);Hong Kong University of Science and Technology(香港科学与技术大学);National University of Singapore(新加坡国立大学);University of Science and Technology Beijing(北京科技大学)
TrajWiki: Source-Grounded Memory Trajectories for Long-Horizon Dialogue Agents
The University of Manchester(曼彻斯特大学);The University of Melbourne(墨尔本大学);The University of Edinburgh(爱丁堡大学);University of Southern California(南加州大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校)
TIDE: Trajectory-based Diagnostic Evaluation of Test-Time Improvement in LLM Agents
Xi’an Jiaotong University(西安交通大学);The University of Hong Kong(香港大学);Shanghai AI Laboratory(上海人工智能实验室);Nanjing University(南京大学);National University of Singapore(新加坡国立大学)
Memory as Resonance: A Biomimetic Architecture for Infinite Context Memory on Ergodic Phonetic Manifolds
System Research & Development Laboratory(系统研究与开发实验室);EME AXE LLC(5EME AXE公司);Faculty of Science, Mohammed V University In Rabat(穆罕默德五世大学科学学院);Computer Science Research Laboratory (LaRI)(计算机科学研究实验室)
SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents
The Chinese University of Hong Kong, China(香港中文大学);Shanghai Jiao Tong University, China(上海交通大学);Tsinghua University, China(清华大学);ByteDance, China(字节跳动)
MemSearcher: Training LLMs to Reason, Search and Manage Memory via End-to-End Reinforcement Learning
Chinese Information Processing Laboratory, Institute of Software, Chinese Academy of Sciences, Beijing, China(中国科学院软件研究所信息处理实验室,北京,中国);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学,北京,中国);Xiaohongshu Inc(小红书公司)
Expert Streaming: Accelerating Low-Batch MoE Inference via Multi-chiplet Architecture and Dynamic Expert Trajectory Scheduling
AI Chip Center for Emerging Smart Systems(新兴智能系统芯片中心);The Hong Kong University of Science and Technology(香港科技大学);Shanghai UniVista Industrial Software Group Co., Ltd.(上海华大九天工业软件集团有限公司)
AgenticRag-R1: Agentic Reinforcement Learning with Stack Memory for Multi-Step Reasoning, Retrieval and Memorizing
National Engineering Research Center of Software Engineering, Peking University(北京大学国家软件工程研究中心);School of Computer Science, Peking University(北京大学计算机学院)