Reproduce “Inference-Time Hyper-Scaling with KV Cache Compression” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Adrian Łańcucki, Konrad Staniszewski, Piotr Nawrot, Edoardo M. Ponti
Researchers from NVIDIA, the University of Warsaw, and the University of Edinburgh developed Dynamic Memory Sparsification (DMS), a technique that compresses the Key-Value (KV) cache to enable "inference-time hyper-scaling" in Large Language Models (LLMs). DMS allows LLMs to process more reasoning tokens within equivalent compute budgets, improving reasoning accuracy by up to 12.5 points on challenging benchmarks like AIME 24 while significantly reducing inference latency and increasing throughput.
Key insights
- Inference-time hyper-scaling, achieved by decoupling the number of generated tokens from the effective compute budget through KV cache compression, significantly boosts LLM reasoning accuracy.
- The delayed eviction mechanism is crucial for maintaining model performance under high compression rates, allowing tokens to be fully leveraged before sparsification.
- Learned token eviction (sparsification) is more data-efficient and robust than complex merging strategies for KV cache compression, requiring substantially less training data than prior learned methods.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.