Metraipolis › archive › dc_5855033f6c95

DistillCache: KL-Guided Adaptive KV-Cache Eviction for Memory-Efficient LLM Inference — arXiv:2608.08878

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.08878
License (as archived)
CC0-1.0
Archived
2026-10-19T08:54:00.309Z
SHA-256 of the archived text
a18a3a8e36d65ebcf73d36f0a6c19ea4fea8087afeafe1516aea6e4af9c330c4
Stable URL of this page
https://metraipolis.com/documento/dc_5855033f6c95

How to cite

DistillCache: KL-Guided Adaptive KV-Cache Eviction for Memory-Efficient LLM Inference — arXiv:2608.08878 — arXiv (en), https://arxiv.org/abs/2608.08878 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5855033f6c95 (Metraipolis archive dc_5855033f6c95, sha256 a18a3a8e36d65ebcf73d36f0a6c19ea4fea8087afeafe1516aea6e4af9c330c4)
BibTeX
@misc{dc5855033f6c95,
  title = {DistillCache: KL-Guided Adaptive KV-Cache Eviction for Memory-Efficient LLM Inference — arXiv:2608.08878},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.08878},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5855033f6c95; sha256 a18a3a8e36d65ebcf73d36f0a6c19ea4fea8087afeafe1516aea6e4af9c330c4},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.08878. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Transformer-based large language models (LLMs) achieve strong performance across many tasks, but their Key-Value (KV) cache grows linearly with sequence length, creating a severe memory bottleneck for long-context inference. Existing heuristic eviction methods (e.g., H$_2$O and SnapKV) rely on static attention or positional signals that often fail to capture a token's future predictive influence. We propose DistillCache, a reinforcement learning framework that formulates KV-cache eviction as a sequential decision problem. DistillCache learns a lightweight policy network using rich internal model signals (attention statistics, value norms, entropy, and position) and trains it with REINFORCE via a per-step KL-divergence reward to preserve the full-cache output distribution. On a 7B-parameter instruction-tuned Transformer (Mistral-7B-Instruct-v0.3), DistillCache retains 94.2% of full-cache accuracy on LongBench at a 25% cache budget, outperforming both strong heuristic baselines (H$_2$O, SnapKV) by up to 2.7 absolute points and, under our re-implementations, concurrent RL-based methods (ForesightKV, RLKV) by up to 1.4 points on long-context tasks. On reasoning benchmarks, DistillCache is competitive with the best concurrent method and surpasses it under aggressive compression. It also delivers up to 2.1x full-cache throughput while maintaining competitive practical efficiency. These results highlight the effectiveness of learned, distribution-aware policies for memory-efficient long-context LLM inference.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-11 in cs.PF).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2608.08878 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T08:51:22.490Z dalla pagina https://arxiv.org/catchup/cs.PF/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).