When Errors Become Memories: Causal Pathway Tracing in Multi-Turn Memory-Augmented LLMs

Shuyao Xiao, Shengling Wang, Xuan Chen, Ke Chao, Ming Cui +6 more
8/31/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Long-term memory enables large language models (LLMs) to preserve and reuse information across interactions, but it can also turn localized errors into persistent risks. Existing work mainly evaluates whether memory systems store and retrieve information correctly, leaving limited understanding of how errors propagate across responses, memory states, and future interactions.

Show full abstract

We propose a structural causal model (SCM)-based framework for cross-turn error propagation in memory-augmented LLMs. We model user questions, model responses, and memory states as a dynamic causal process, and identify two entry pathways: internal memory updating and external question feedback. By intervening on these pathways, we construct four counterfactual trajectories and quantify their downstream effects and interaction. Error influence is evaluated at four levels: memory retention, natural responses, targeted diagnostic probing, and probability-level error preference. Experiments show that error influence generally decays with interaction distance, while the memory-update pathway contributes more persistent effects than question feedback; latent errors may remain even after disappearing from natural responses. Propagation patterns also vary across memory categories and memory mechanisms. Pathway-guided restoration further validates this decomposition: Question Repair reduces residual error by 27.5%, Memory Repair by 70.2%, and Joint Repair by 98.3%, nearly eliminating residual propagation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiao2026when,
  title  = {When Errors Become Memories: Causal Pathway Tracing in Multi-Turn Memory-Augmented LLMs},
  author = {Shuyao Xiao and Shengling Wang and Xuan Chen and Ke Chao and Ming Cui and Feifei Qian and Fanlin Meng and Chaoyang Mei and Chaoyong Jiang and Qi Ouyang and Junxi Yi},
  year   = {2026},
  eprint = {2608.30198},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.30198v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.30198.svg)](https://codeofpaper.com/paper/2608.30198)

Discussion