Metraipolis › archive › dc_c6fabb06b764

AnchorKV: Lossless Key-Value Cache Reconstruction from Layer-Sparse Residual Anchors — arXiv:2611.00117

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.00117
License (as archived)
CC0-1.0
Archived
2026-11-03T11:12:55.054Z
SHA-256 of the archived text
da6da7d766168a1ee8e53621c20b807c4e4d44df736450c987dd989f92e52b2f
Stable URL of this page
https://metraipolis.com/documento/dc_c6fabb06b764

How to cite

AnchorKV: Lossless Key-Value Cache Reconstruction from Layer-Sparse Residual Anchors — arXiv:2611.00117 — arXiv (en), https://arxiv.org/abs/2611.00117 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c6fabb06b764 (Metraipolis archive dc_c6fabb06b764, sha256 da6da7d766168a1ee8e53621c20b807c4e4d44df736450c987dd989f92e52b2f)
BibTeX
@misc{dcc6fabb06b764,
  title = {AnchorKV: Lossless Key-Value Cache Reconstruction from Layer-Sparse Residual Anchors — arXiv:2611.00117},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.00117},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c6fabb06b764; sha256 da6da7d766168a1ee8e53621c20b807c4e4d44df736450c987dd989f92e52b2f},
  year = {2026}
}

Archived text

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

Residual-stream caching can reconstruct transformer key-value (KV) caches losslessly, but its memory advantage depends on architecture. We present AnchorKV, a storage-replay spectrum connecting per-layer residual caching and full recomputation through configurable residual anchors. An architecture-dependent break-even rule identifies the first storage-saving spacing, while deployment selects an operating point from the spectrum and cascade replay reduces reconstruction from O(Ls) to O(L), with L the model depth and s the anchor spacing. For interleaved sliding-window architectures, exact dynamic programming places anchors under non-uniform reconstruction demand. Across CPU, CUDA, and Ascend NPU backends, six architecture families, and fp32/bf16 arithmetic, evaluations verify bit-exact KV reconstruction and unchanged continuation logits and tokens. At 4k context, cascade reconstruction is up to 16.3 times faster than naive replay; across eight applicable global-attention checkpoints at 32k context, deepest spacing yields 5.78-54.0 times full-KV reactivatable session capacity. Compared with seven external cache methods on a common model, AnchorKV preserves full-cache retrieval and question-answering scores, whereas lossy methods change output fidelity and task scores. The break-even spacing is computable from a model's configuration file alone.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.AR, nuovi lavori del giorno).
Categorie arXiv: Hardware Architecture (cs.AR).
Pagina del lavoro: https://arxiv.org/abs/2611.00117 — 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-11-03T11:00:22.152Z dalla pagina https://arxiv.org/list/cs.AR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).