MemShift: Separating Detection from Repair in LLM-Derived Personal Memory

Zichuan Xu, Haochen Zhang, Yuyang Dong, Makoto Onizuka, Chuan Xiao
11/2/2026
cs.CLcs.AIcs.LG

Official code: zichuanxu/memshift (1 star, Python, MIT, last commit 2026-11-03).

Abstract

AI assistants store values that a language model derived from a person's records under the person's own definitions, such as their important contacts. Keeping such a value correct takes two steps: detection, noticing that an input changed, and repair, producing the correct new value.

Show full abstract

Benchmarks that score only the final answer cannot tell which step failed, and they state every change as new text. Seeing this limitation, we present MemShift, a benchmark of five shifts: source revision, deletion, redefinition, writer switch, and export. The first three fork a synthetic world into branches that differ only in the shift. Gold values and dependencies are fixed before any text, and a deterministic scorer replaces an LLM judge. For a memory that reports its invalidations, MemShift shows for each changed item whether the memory noticed the change and whether its repair was right. Moreover, we build a reference memory with known detection and repair to validate the measure. By evaluating four open-weight LLMs, we find that detection helps only as much as repair allows: the LLMs re-derive few values computed by the person's definitions correctly, and programs that the LLM writes over typed records close most of the gap to exact recomputation. Code and data are available at https://github.com/zichuanxu/memshift.

View on arXivView PDF

Code Implementations(1)

zichuanxu/memshiftOfficial100%
MIT

MemShift: a benchmark separating detection from repair in LLM-derived personal memory under controlled shifts

10Python, ShellOct 8, 20264 weeks agoMIT

Similar Papers

Cite this paper

@article{xu2026memshift,
  title  = {MemShift: Separating Detection from Repair in LLM-Derived Personal Memory},
  author = {Zichuan Xu and Haochen Zhang and Yuyang Dong and Makoto Onizuka and Chuan Xiao},
  year   = {2026},
  eprint = {2611.02338},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.02338v1}
}

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

Discussion