arXiv AI By Bojie Li

Models Take Notes at Prefill: KV Cache Can Be Editable and Composable

Read the original on arXiv AI →

arXiv:2606. 17107v1 Announce Type: cross Abstract: Prefix caching reuses prefill only across an exactly shared prefix, so one changed field invalidates the entire downstream cache.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Sep 17

Contiguity, Not Importance: Budgeted Repair of Stale KV Caches After Document Edits

The paper investigates how to efficiently repair stale key-value (KV) caches in retrieval‑augmented generation systems after document edits. It proposes a budgeted in‑place recomputation approach and evaluates training‑free position‑selection policies on a factual RAG benchmark. Across three model families, a contiguous edit‑local window consistently recovers most of the post‑edit answer quality while being 13–21 times faster than a full re‑prefill, though its effectiveness diminishes when answer‑bearing text moves downstream.

By Mingyang Mao, Wyatt Mackey, Xiaomin Lin
arXiv Machine Learning
Sep 29

CacheReforge: Bounded Recovery for Stale KV Caches under Evolving Adapters

CacheReforge is a method for recovering stale key‑value (KV) caches in large language models when lightweight adapters evolve. It represents stale caches as layer‑wise mixed‑version objects and uses adapter anchors, sensitivity calibration, drift accumulation, and restart boundaries to decide between direct reuse, bounded recomputation, or full suffix recovery. Experiments on Qwen2.5 models with continual LoRA updates show a 92.4% reduction in mean KL divergence while only recomputing 5.44% of layers and cutting cache‑maintenance time by 93.2% compared to full prefill.

By Yuhang Cao, Yanzhou Mu, Chunrong Fang, Zhenyu Chen
arXiv AI
6d ago

KV-LTM: Persistent Per-Session KV Caches as Long-Term Memory for Personal Assistants

KV‑LTM proposes a persistent per‑session key‑value cache as a long‑term memory layer for personal assistants, storing each session’s raw text and its KV cache under a fixed reader model. The design emphasizes an append‑only read path, budget‑derived retention, and bounded aggregation, aiming to reduce re‑prefill computation while maintaining fidelity to the original conversation history. The authors analytically estimate storage needs (0.34–3.6 TB per user‑year for a 30K‑token/day scenario) and outline an evaluation protocol that separates logical QA testing from real‑cache replay to assess cost and numerical equivalence.

By Ziv Kfir, Ido Kfir