Positions Are Not Facts: The Mismatch Between KV Caches and Memory
Changhai Zhou, Yuhua Zhou, Shiyang Zhang, Jun Gao, Zhen Li, Hua Wu, Hanchao Yu, Haifeng Wang
Key points
From the paper's conclusion- These findings identify what must be preserved beyond the replaced value when using a KV cache as updatable memory.
Abstract
When a fact changes, how should a language model update the history stored in its key-value (KV) cache? Hiding the old record is cheap, but it may still contain needed details or answer questions about the past. We compare hiding whole records, hiding only replaced values, and deleting old text and recomputing the cache. In a controlled quantity task, masking makes all eight models prefer the new value more strongly, yet six lose complete answers through unit errors or failure to stop; keeping the unit preserves all current answers. Later states also retain useful information from earlier records: on multi-hop updates, rebuilding these states at unchanged positions lowers historical accuracy by 20-41 percentage points, whereas moving the existing states has little effect. Keeping object dependencies and unchanged revision passages prevents many losses. Recognition is a separate challenge. Learned readouts recover distinctions missed by fixed cache similarities on synthetic record pairs. On natural text, text-detector-selected masks show no clear advantage over random masks at the same rate in 14 same-model detector-generator comparisons. Query-dependent access can avoid some losses, with additional storage or access costs. These findings identify what must be preserved beyond the replaced value when using a KV cache as updatable memory.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Can KV Cache Be Reused Across Model Updates? A DeepSeek-V4-Flash Case StudyarXiv · 2026
- Contiguity, Not Importance: Budgeted Repair of Stale KV Caches After Document EditsarXiv · 2026
- Where Should a KV-Cache Repair Budget Go? Distractor Structure and Contextual Compatibility in Non-Prefix ReusearXiv · 2026
- MemShift: Separating Detection from Repair in LLM-Derived Personal MemoryarXiv · 2026
- EchoKV: Self-Corrective KV Cache Eviction via Iterative Query FeedbackarXiv · 2026
- Stale, Misattributed, or Late: Where Personal Memory Fails Before GenerationarXiv · 2026