Where Should a KV-Cache Repair Budget Go? Distractor Structure and Contextual Compatibility in Non-Prefix Reuse
Yuxing Peng, Zhiqing Tang, Weijia Jia
Abstract
Non-prefix KV-cache reuse encodes retrieved chunks independently and concatenates their caches. To find where a small repair budget should be spent, we vary the chunks around the answer-bearing one (the target) across three 7B-8B models and four datasets of dialogue memory, open-domain QA and API documentation. Reuse loses 19-100% of the context-dependent questions that full prefill answers, and it loses more when the other chunks are of the same kind as the target. Because the recoverable damage is spread over these other chunks, restoring a few of them recovers little, and the budget is better spent on the target. This works through contextual compatibility: recomputing the target against the reused cache beats inserting its full-prefill KV in all seven settings tested, although the recomputed KV stays far from the full-prefill KV. Question attention over reused caches, however, selects the target in at most 18.8% of development questions. A retriever finds it more often, and recomputing its top chunk after moving it next to the question significantly beats InfoFlow-style reordering at the same 5% budget in six of nine open-domain QA and API-documentation settings. On dialogue memory, though, recomputing chunks never significantly beats the token-level selector chosen for each setting.
Create a lesson
Related papers
Hy-MT3: More Accurate, Robust and Practical Multilingual Translation Models in the Wild
Mao Zheng, Zheng Li, Fangxu Liu et al.
Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders
Yunha Seo, Changhoon Kim
Tasklets: A Unit-Test Benchmark for Language Model Architectures
Zayd Muhammad Kawakibi Zuhri, Munachiso Samuel Nwadike, Kentaro Inui et al.
Alliance Rupture and Repair in Simulating Cognitive Behavioral Therapy Dialogues
Jian Chai, Yitian Yang, Siqi Liu et al.
Open CDLM: A Benchmark and Library for Continuous Diffusion Language Models
Hao Jiang, Ruixi Chen, Jiayi Han et al.
How Many Bytes Has a BPE Model Seen? Estimating Byte-Token Exposure in Pretraining from Corpus Statistics and Embedding Norms
Liwei Zhang, ZhiMing Tong, Mochen Guan et al.