Metraipolis › archive › dc_365baad1989b

Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs — arXiv:2608.30310

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.30310
License (as archived)
CC0-1.0
Archived
2026-10-17T07:52:34.497Z
SHA-256 of the archived text
4407be69c36d08581fbff3ffeafa7bcf7dc396f125aadc243cf19e6f75b6b45e
Stable URL of this page
https://metraipolis.com/documento/dc_365baad1989b

How to cite

Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs — arXiv:2608.30310 — arXiv (en), https://arxiv.org/abs/2608.30310 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_365baad1989b (Metraipolis archive dc_365baad1989b, sha256 4407be69c36d08581fbff3ffeafa7bcf7dc396f125aadc243cf19e6f75b6b45e)
BibTeX
@misc{dc365baad1989b,
  title = {Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs — arXiv:2608.30310},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.30310},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_365baad1989b; sha256 4407be69c36d08581fbff3ffeafa7bcf7dc396f125aadc243cf19e6f75b6b45e},
  year = {2026}
}

Archived text

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

Hybrid large language models interleave full-attention layers with linear-attention layers to reduce the cost of long-context inference. This structure complicates prefix caching: full-attention key-value caches are token-addressable, whereas linear-attention layers maintain recurrent states that cannot be rolled back to arbitrary prefix boundaries. Existing hybrid prefix caching methods address this mismatch by storing recurrent-state checkpoints. As a result, token-level matches are directly usable only at positions aligned with stored checkpoints, constraining prefix reuse to a discrete set of boundaries. We present Tail-Replay, a prefix caching mechanism that enables unconstrained token-level prefix reuse in hybrid large language models. The key insight is that linear-attention mechanisms such as Gated DeltaNet can be viewed as a structured, lossy compression of the input prefix: gated recurrent updates progressively attenuate the contributions of earlier inputs. Consequently, the recurrent state of a matched prefix can be well approximated by replaying only a short, recent suffix of that prefix. Tail-Replay exploits this property by caching the exact full-attention key-value cache while omitting recurrent-state checkpoints. On a cache hit, it reconstructs the linear-attention states by replaying a short, recent suffix of the matched prefix. As a result, the reuse boundary is determined by the shared tokens rather than by recurrent-state checkpoints. We evaluate Tail-Replay on three Gated DeltaNet-based hybrid models using the LongBench and RULER benchmarks. With only a 5--10\% replay budget, it retains 92.8--99.9\% of full-prefill quality on LongBench and RULER. For serving efficiency, we evaluate time-to-first-token speedups across multiple matched-prefix lengths---8K, 16K, and 32K. The speedup grows with prefix length, reaching $9.1$--$14.3\times$ over full prefill at 32K.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-01 in cs.AI).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.30310 — 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-17T07:28:26.852Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).