EchoKV: Self-Corrective KV Cache Eviction via Iterative Query Feedback
Abstract
KV cache eviction is not merely a token-ranking problem: the workspace retained for generating eviction queries also determines the quality of those queries. Consequently, an early workspace error can distort later query observations and reinforce an incorrect final eviction decision, particularly when evidence is dispersed across a long context. We present EchoKV, which discovers and addresses this failure mode with iterative correction. It initializes a feedback-compatible bootstrap workspace using proposals at future decode positions, then uses early decode-generated queries to recover the workspace before the remaining lookahead steps. It uses the same number of workspace forward passes as LAQ while adding a tensor re-scoring operation for workspace repair. On LongBench (16 tasks, Mistral-7B-Instruct-v0.2 and Qwen2.5-7B-Instruct), EchoKV shows notable improvements over LAQ on several tasks requiring dispersed evidence, including multi-hop cross-document QA and long single-document comprehension. Across budgets and backbones, EchoKV selectively improves evidence-intensive tasks while maintaining comparable performance on the remaining LongBench subsets. These results identify query--workspace coupling as a practical failure mode of query-driven KV eviction.
Create a lesson
Related papers
EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries
Shared title terminology · Xinyu Cao, Tianjie Ju, Zhuosheng Zhang
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminology · Wanghao Ye, Shwai He, Sihan Chen et al.
Wactorz: Self-Writing LLM Agents That Discover, Repair, and Migrate at the Edge
Shared title terminology · Panagiotis Kasnesis, Lazaros Toumanidis, Amalia Contiero Syropoulou et al.
Similarity-Constrained Reweighting for Complex Query Answering on Knowledge Graphs
Shared title terminology · Daniel Daza, Alberto Bernardi, Luca Costabello et al.
DoppelVet: Comparative Safety Verification for Self-Evolving Agents
Shared title terminology · Yifan Duan, Du Yin, Siyuan Zheng et al.
Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Shared title terminology · Dexia Chen, YiLong Hu, Wenqi Zhong et al.