mlsanityData to 14 Oct 2026

MemTrace: Tracing and Attributing Errors in Large Language Model Memory Systems

arXiv 2605.28732 ↗First posted 27 May 2026cs.CL cs.AI cs.LGcited by 6

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Memory is essential for enabling large language models to support long-horizon reasoning, yet existing memory systems remain unreliable and difficult to debug. Tracing memory's dynamic evolution is crucial to understand how information is synthesized, propagated, or corrupted over time. In this work, we study the new problem of error tracing and attribution in LLM memory systems. We propose a novel framework that transforms memory pipelines into executable memory evolution graphs, enabling fine-grained tracing of operational information flow. We then construct MemTraceBench, a benchmark collected from representative memory systems such as Long-Context, RAG, Mem0, and EverMemOS, to systematically study memory failure modes. We further introduce an automatic attribution method that iteratively traces operation subgraphs to pinpoint the root cause of any failed case. Our analysis reveals that memory failures are systematic, stemming from operation-level issues like information loss and retrieval misalignment. Crucially, we leverage these fine-grained attribution signals to guide downstream prompt optimization, establishing a closed-loop system that automatically corrects faults and boosts end-task performance by up to 7.62 percentage points. Code has ben released at https://github.com/zjunlp/MemTrace.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 78 of its 100 references that are in the map. First posted on arXiv 27 May 2026.

Builds on

78 of 100 references.

References · 78

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2023Let's Verify Step by Stepcited by 3,789
  6. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  8. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  9. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  10. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,080
  11. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  12. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
38 more
  1. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  2. 2024A Survey on LLM-as-a-Judgecited by 1,423
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  4. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  5. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  7. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  8. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  9. 2023Large Language Models as Optimizerscited by 864
  10. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
  11. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
  12. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
  13. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
  14. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  15. 2022Efficiently Scaling Transformer Inferencecited by 539
  16. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 532
  17. 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
  18. 2023Ragas: Automated Evaluation of Retrieval Augmented Generationcited by 418
  19. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
  20. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 384
  21. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
  22. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  23. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
  24. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
  25. 2025UI-TARS-2 Technical Report: Advancing GUI Agent with Multi-Turn Reinforcement Learningcited by 215
  26. 2020Sparse, Dense, and Attentional Representations for Text Retrievalcited by 214
  27. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systemscited by 185
  28. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
  29. 2023An LLM Compiler for Parallel Function Callingcited by 179
  30. 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 173
  31. 2026SimpleMem: Efficient Lifelong Memory for LLM Agentscited by 149
  32. 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 148
  33. 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 126
  34. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 119
  35. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 116
  36. 2025EgoLife: Towards Egocentric Life Assistantcited by 91
  37. 2023LLMs as Narcissistic Evaluators: When Ego Inflates Evaluation Scorescited by 90
  38. 2024Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinementcited by 88

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026MemTrace: State-Consistent Memory for Long-Horizon Coding Agents
  2. 2026CNnotator: LLM-Guided Memory Safety Annotation Synthesis
  3. 2026MemTxn: A Transaction Boundary for Source-Supported Updates and Complete-State Recovery in Agent Memory
  4. 2026EvalMem: An Operation-Level Diagnostic Framework for Long-Term Memory Systems
  5. 2026MemGuard: Preventing Memory Contamination in Long-Term Memory-Augmented Large Language Models
  6. 2026MemSifter: Offloading LLM Memory Retrieval via Outcome-Driven Proxy Reasoning
  7. 2026MechMem-RTL: Reusing Verified Mechanism Memories for LLM-Based RTL Repair ↗
  8. 2026Is One Score Enough? Rethinking the Evaluation of Sequentially Evolving LLM Memory