PreCoMem: Predictive Cognitive Memory for Self-Evolving Long-Term Dialogue Agents

Jian Zhong, Zeyu Liu, Pingchuan Cao, Rongduo Han, Shunye Tang +6 more
10/21/2026
cs.AI

Official code: ZhongWishing/PreCoMem (1 star, MIT, last commit 2026-10-12).

Abstract

Long-horizon dialogue agents need to keep user memories stable enough for personalization while adapting when the user genuinely changes. Existing memory systems often append every observation or overwrite old entries by heuristic rules, which makes transient noise hard to distinguish from real belief drift. We introduce PreCoMem, a memory consolidation framework inspired by predictive coding that represents memory as confidence-weighted beliefs about the user's state. Its core signal, Effective Surprisal, combines semantic deviation and contradiction evidence, then downweights this signal when retrieval is diffuse and unreliable. According to effective surprisal, a two-threshold gate maps each turn to one of three deterministic updates: MAINTAIN reinforces supported beliefs, PROFILE stores ambiguous cues as low-confidence hypotheses, and CORRECT softly decays reliably contradicted facts. The PROFILE stage acts as an explicit waiting room, preventing premature commitment to noisy evidence. Experiments on LoCoMo, LongMemEval-S, and PersonaMem-v2 show consistent state-of-the-art accuracy; our new DiMoBench confirms that PreCoMem adapts to non-stationary belief drift without over-reacting to noise. The code is available at https://github.com/ZhongWishing/PreCoMem.

View on arXivView PDF

Code Implementations(1)

MIT
10PythonOct 4, 20261 weeks agoMIT

Similar Papers

Cite this paper

@article{zhong2026precomem,
  title  = {PreCoMem: Predictive Cognitive Memory for Self-Evolving Long-Term Dialogue Agents},
  author = {Jian Zhong and Zeyu Liu and Pingchuan Cao and Rongduo Han and Shunye Tang and Guohuan Xie and Mingyuan Qin and Ran Ji and Xiao Liang and Wei Wang and Haining Zhang},
  year   = {2026},
  eprint = {2610.29467},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.29467v1}
}

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/2610.29467.svg)](https://codeofpaper.com/paper/2610.29467)

Discussion