paper-with-me

Papers

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

2026-05-27 · Xinle Deng, Ruobin Zhong, Hujin Peng, Xiaoben Lu, Yanzhe Wu, Guang Li, Buqiang Xu, Yunzhi Yao, Jizhan Fang, Haoliang Cao, Junjie Guo, Yuan Yuan, Ziqing Ma, Yuanqiang Yu, Rui Hu, Baohua Dong, Hangcheng Zhu, Ningyu Zhang 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%. Code will be released at https://github.com/zjunlp/MemTrace.

📄 PDF Abstract BibTeX arXiv:2605.28732

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TRAK: Attributing Model Behavior at Scale

2023-03-24 · Sung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc 외

The goal of data attribution is to trace model predictions back to training data. Despite a long line of work towards this goal, existing approaches to data attribution tend to force users to choose between computational…

model

MemTrace: Probing What Final Accuracy Misses in Long-Term Memory

2026-06-15 · Xianxuan Long, Zhikai Chen, Shenglai Zeng, Shouren Wang 외 arxiv

LLM agents increasingly maintain long-term memory of user facts across sessions. Yet such memory is usually evaluated by aggregating accuracy over question rows or episodes. Because this approach scores question rows ind…

Matching Pairs: Attributing Fine-Tuned Models to their Pre-Trained Large Language Models

2023-06-15 · Myles Foley, Ambrish Rawat, Taesung Lee, Yufang Hou 외

The wide applicability and adaptability of generative large language models (LLMs) has enabled their rapid adoption. While the pre-trained models can perform many tasks, such models are often fine-tuned to improve their …

Option Tracing: Beyond Correctness Analysis in Knowledge Tracing

2021-04-19 · Aritra Ghosh, Jay Raspat, Andrew Lan

Knowledge tracing refers to a family of methods that estimate each student's knowledge component/skill mastery level from their past responses to questions. One key limitation of most existing knowledge tracing methods i…

Knowledge TracingMultiple-choiceSkill Mastery

Using Large Language Models to Assess Tutors' Performance in Reacting to Students Making Math Errors

2024-01-06 · Sanjit Kakarla, Danielle Thomas, Jionghao Lin, Shivang Gupta 외

Research suggests that tutors should adopt a strategic approach when addressing math errors made by low-efficacy students. Rather than drawing direct attention to the error, tutors should guide the students to identify a…

Math