← 首页|学术|ReTree: 树结构记忆的自我修正搜索 agent
cs.AI · 2608.10676 · 2026/08/11

Self-Correcting Long-Horizon Search Agents via Tree-Structured Memory

Yang, Aijun, Guo, Qianxue, Huang, Ziyi, Chen, Yuxuan, Qian, Shiyou, Cao, Jian
TL;DR:LLM 搜索 agent 不该把完整执行轨迹喂给模型(上下文无界 + 噪声)。ReTree 用树结构记忆:证据树节点存有界摘要/证据/修订历史,新证据与旧 claim 冲突时回溯到引入节点、替换过期证据、再生摘要、剪枝受影响分支、恢复搜索。准确率最高提升 25.6pp。

🎯 问题

提供完整执行轨迹导致上下文无界增长并引入噪声;现有压缩丢失重要细节,且常只替换错误事实而不修复由它推导出的下游推理。

🔬 方法

self-correcting tree-structured memory:证据树节点保存有界摘要、证据与修订历史;冲突检测到溯源定位引入节点,替换过期证据、再生摘要、剪枝受影响分支、恢复搜索;source-grounded provenance 支撑可靠定位与最终可追溯。
章节结构(全文标题提取):
Abstract
1 Introduction
2 Related Work
3 Problem Formulation
4 Methodology
5 Experiments
6 Limitations
7 Conclusion
2.1 Search Agents and Long-Horizon Context · 2.2 Agent Memory and Tree-Structured State · 2.3 Attribution, Conflict, and Belief Revision · 4.1 Evidence-Tree State · 4.2 Expansion and Source Binding · 4.3 Contradiction-Triggered Backtracking · 4.4 Claim-Level Attribution · 4.5 Computation Complexity and Failure Modes

📊 结果

4 个公开 QA/搜索基准一致优于 Full-Trajectory ReAct,准确率最高 +25.6pp;最大逐步推理上下文仅为 Full-Trajectory 的 1/1.27–1.51。

💡 与研究方向关联

搜索 agent 的上下文管理核心是「压缩 vs 保真」权衡。ReTree 把记忆组织成证据树,让「回滚修正」成为一等操作——与记忆增强 agent 的 rollback repair(10502)思路同源,但面向多步外部交互。

📝 原文摘要

▶ 原文摘要 Abstract
Large language model (LLM)-based search agents answer questions through multi-step interactions with external environments. However, providing complete execution trajectories to the LLM causes unbounded context growth and introduces noise. Existing compression methods reduce context at the cost of important details and often replace erroneous facts without repairing downstream reasoning derived from them. To address this problem, we propose ReTree, a self-correcting tree-structured memory mechanism for search agents. ReTree constructs a bounded per-step reasoning context while preserving source-linked evidence. It models search as an evidence tree whose nodes store bounded summaries, evidence, and revision histories. When newly retrieved evidence contradicts an earlier claim, ReTree traces back to the node where the claim was introduced, replaces outdated evidence, regenerates summaries, prunes affected branches, and resumes search. Source-grounded evidence provenance supports reliable conflict localization and keeps final claims traceable to retrieved passages. Experiments on four public question-answering and search benchmarks show that ReTree consistently outperforms Full-Trajectory ReAct, improving answer accuracy by up to 25.6 percentage points (pp); the average maximum per-step reasoning context of Full-Trajectory ReAct is $1.27$--$1.51\times$ that of ReTree. These results establish ReTree as an effective self-correcting memory abstraction for long-horizon search.
Deep Read · 2026-08-13高松灯 / Agent 日报
Search AgentsLong-HorizonMemoryTree