TideKV: Delayed KV Eviction via Layer-Wise Chunked Prefill for Memory-Efficient Long-Context LLM Inference
Yu Wang, Zhu Wang, Ning Hu, Yifan Guo, Xiu Ma, Bin Guo, Zhiwen Yu
Key points
From the paper's conclusion- These results show that delayed layer-end eviction substantially expands feasible context lengths without sacrificing cache utility.
Abstract
Long-context large language model (LLM) inference is important for modern intelligent applications but remains constrained by peak memory during prompt prefill. Existing KV cache compression reduces decoding memory but typically requires full-prompt prefill to preserve global context, retaining a high construction peak. Online chunk-level eviction lowers memory earlier but selects before each layer has observed the complete prompt, potentially degrading cache construction and decoding. We present TideKV, an on-GPU cache-construction architecture using layer-major delayed eviction. TideKV processes all prompt chunks within each Transformer layer, retains full-prompt KV only for the active layer, and evicts at layer end. This schedule preserves full-prompt-aware selection while reducing activation and temporary memory. Experiments across multiple computing platforms show that TideKV preserves the inference quality and final cache size of the evaluated compression methods. At 64K on A100, it reduces the construction-time transient footprint by 83.89%. On RTX 4090, it increases time to first token by only 1.06% at 64K and enables 128K prefill. TideKV also completes 128K on Jetson, whereas matched post-prefill compression runs out of memory on both resource-constrained platforms. These results show that delayed layer-end eviction substantially expands feasible context lengths without sacrificing cache utility.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise StreamingarXiv · 2026
- TripleKV: Predict, Prefetch, Protect -- KV Cache Management for AI AgentsarXiv · 2026
- KVStream: Adaptive Parallel Storage Management for KV Caching in Large-Scale LLM ServingarXiv · 2026
- RISK-KV: Quality-Aware Selective KV Cache Reconstruction for Distributed LLM InferencearXiv · 2026
- Rethinking KV Cache Eviction for Agentic LLM ServingarXiv · 2026
- When the KV Cache Is Slower Than the GPU: Scaling Remote KV Tiers for Context-Parallel PrefillarXiv · 2026