Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents
摘要
研究者提出证据链接记忆系统 WikiTrace,让 LLM 智能体在采用某条经验前可沿链接回溯其来源轨迹,核对或修正错误经验。每条经验以简洁洞见形式存储,并链接到该轨迹成功或失败原因的摘要及原始轨迹;新任务中遇到细节不足、相互冲突或来自失败任务的经验时,智能体用终端工具沿链接下探补全或纠正后再行动。
摘要由模型根据原文撰写,以原文为准。
正文 · 原文
External memory enables LLM agents to improve from experience by distilling trajectories of past tasks into concise lessons for new tasks. However, memory can also lead to memory-induced degradation, where an agent fails on tasks it would solve without memory, often because it follows a lesson that is incorrect, or misapplies or misreads a valid one. This is because lessons are inferred from trajectories labeled only with task success or failure, yet are typically provided without the trajectories they came from, leaving the agent no way to check them. To address this, we introduce WikiTrace, an evidence-linked memory system designed to let agents check each lesson against its original trajectory. Specifically, motivated by the finding that a trajectory often still holds the evidence needed to catch an erroneous lesson, WikiTrace stores each lesson as a concise insight linked to a summary of why its trajectory succeeded or failed and to the raw trajectory itself. Then, on a new task, the agent starts from all insights and, whenever one lacks details needed to act, conflicts with another, or comes from a failed task, descends through its links with terminal tools to fill in missing details or correct the insight before acting. We validate WikiTrace on five agentic benchmarks, showing that it consistently outperforms existing memory approaches and a baseline given the same insights alone, while also reducing memory-induced degradation. Our code is available at https://github.com/yukyeongleee/wikitrace
注意转载授权 · 阅读原文
来源:Hugging Face Daily Papers · huggingface.co
引用原文
Hugging Face Daily Papers. Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents[EB/OL]. (2026-11-10)[访问日期]. https://huggingface.co/papers/2611.14320.