Agent memory can teach mistakes too: WikiTrace links lessons to their source experiences
WikiTrace improves average performance by linking agents’ lessons from past experience to source records, while reducing the risk that memory undermines tasks they already solve.
Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents — arXiv:2611.14320
When will it reach products?
3–6 mo — If you’re developing an agent with persistent memory, you can try this design in selected workflows over the next three months. The likely first product application is for the agent to open and check the source execution record when needed, before applying advice drawn from the past.
What happened?
Researchers at KAIST show that AI agents can fail because of incorrect or misapplied lessons learned from past experience. WikiTrace links each lesson to the execution record that produced it, allowing the agent to inspect the evidence when needed. Across five evaluation environments, average performance improves by 10.7 points over an agent without memory.
Why it matters
Customer service, cross-application automation, and recurring operational tasks are likely to be the first areas to benefit from this design. Checking the conditions under which a brief piece of advice in memory applies could reduce repeated use of faulty procedures. Source links can also make it easier to inspect which past experience informed a decision. There is a cost: experiments show an average per-task operating cost 1.17 times that of the system using the same lessons alone.
Technical summary
WikiTrace uses evidence-linked memory to store lessons from past tasks alongside their source experiences. Memory has three layers: a brief lesson, a rationale summary of success or failure, and a raw execution trajectory. The agent sees all lessons at the outset; if details are missing, lessons conflict, or a source task failed, it follows the links to inspect the evidence. Failed actions also prompt reinspection; no training or model-weight updates are required.
Contribution
The core contribution is a memory design that prompts lessons drawn from experience to be reexamined against their supporting evidence during a task, rather than presenting them as verified facts. The paper also uses Gain and Regression metrics to distinguish two effects obscured by average performance. A comparison that uses the same lessons without source access shows the additional benefit of combining source records with a prompt to inspect them.