Reproduce “C$^2$KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inference” 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
Chuheng Du, Junyi Chen, Hanlin Tang, Kan Liu, Tao Lan, Lin Qu, Chaoyue Niu, Shengzhong Liu and 2 more
Researchers from Shanghai Jiao Tong University and Alibaba Group developed C$^{2}$KV, a unified framework for large language model inference that integrates KV cache compression with composable non-prefix reuse. This method reduces Time-to-First-Token and flattens decode-time scaling with increasing context length, effectively preserving generation quality.
Key insights
- Designing KV representations that are simultaneously compressible and reusable across arbitrary contexts without fidelity loss is a core challenge in efficient long-context LLM inference.
- A lightweight, trainable sidecar module can effectively compress and make KVs composable without altering the frozen base LLM, thus avoiding catastrophic forgetting.
- Carefully designed asymmetric attention (Structured Information Flow) is essential for extracting context-independent, composable KV caches, enabling flexible reuse.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.