Reproduce “Information-Aware KV Cache Compression for Long Reasoning” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jushi Kai, Zhuiri Xiao, Alexandra Birch, Zhouhan Lin
InfoKV is an entropy-aware KV cache compression framework that addresses memory and computational bottlenecks in large language models for long reasoning tasks by leveraging predictive uncertainty and layer-wise representation evolution. The framework consistently outperforms attention-based methods in long prefilling and decoding tasks across various LLMs, occasionally exceeding full cache performance in specific scenarios.
Key insights
- Tokens with high predictive uncertainty (entropy) exhibit a stronger and more persistent 'Forward Influence' on distant future contexts compared to tokens selected purely based on attention scores.
- Solely relying on backward-looking attention-based compression methods primarily captures local dependencies and can overlook critical information needed for long-term reasoning and generation trajectories.
- Intelligent, information-aware KV cache compression can sometimes surpass the performance of using a full, uncompressed KV cache, suggesting that full retention may introduce redundancy or distracting information.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.