C 2 KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inference
Chuheng Du, Junyi Chen, Hanlin Tang, Kan Liu, Tao Lan, Lin Qu et al. · 2026 · 10 citationsRead the paper
All 10 authors
Long-context inference is central to modern large language model (LLM) applications such as retrieval-augmented generation. To mitigate the growing inference cost, recent work has explored non-prefix key-value (KV) cache reuse to reduce redundant prefill computation. However, existing reuse methods primarily focus on computation savings and overlook a critical bottleneck in long-context LLM serving: the cost of storing and accessing large KV caches. While KV compression appears to be a natural complement, naively combining compression with non-prefix KV reuse often leads to severe accuracy degradation. In this work, we propose C2KV, a unified framework for non-prefix KV reuse that jointly optimizes KV cache compression and concatenation. C2KV learns a composable and compressed KV cache manifold that is explicitly designed to be position-agnostic. Our approach introduces a lightweight sidecar Extractor with learnable compression tokens and a structured attention flow, enabling modular KV representations that can be flexibly reused and concatenated without modifying the frozen base model. We further employ a compression-concatenation co-training strategy to align extraction-time representations with their downstream reuse behavior. Extensive experiments across multiple long-context benchmarks and model families demonstrate that C2KV significantly reduces KV cache storage and transfer costs, achieving up to 17× inference speedup under long contexts, while preserving generation quality.
What the full text shows
Working prototype- Achieved significant inference speedup under long contexts. — up to 17× (Long-context inference scenarios)
- Reduced KV cache storage and transfer costs through joint compression and reuse. — 4× compression ratio (C2KV framework applied to long-context LLM serving)
- Avoided the performance drop associated with training-based reuse methods like Block-Attention. — up to 10.4% performance drop (in baseline) (Evaluated on LongBench using Llama3.1-8B)
- Setup
- Trained on 120k samples from HotpotQA, 2WikiMultiHopQA, and LongMagpie; evaluated on LongBench using Qwen3-4B-Instruct, Llama-3.1-8B-Instruct, and Qwen2.5-7B-Instruct.
- How
- The authors developed C2KV, which uses a lightweight 'C2Extractor' sidecar module with learnable compression tokens and structured attention flow to create position-agnostic KV caches. They employed a compression-concatenation co-training strategy to align extracted representations with downstream reuse while keeping the base LLM frozen.
- Limitations
- Requires training a sidecar extractor for the specific model family.
Summarized by Gemma 4 from the open-access full text · 22 Nov 2026. Read it