Metraipolis › archive › dc_b4af64f948ca
RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation Energies — arXiv:2610.28385
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.28385
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-21T07:07:05.896Z
- SHA-256 of the archived text
b3859e8e151e7dee692ce6ef1a2a7c528d6a4ac28a804e57b5153ce729012321- Stable URL of this page
https://metraipolis.com/documento/dc_b4af64f948ca
How to cite
RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation Energies — arXiv:2610.28385 — arXiv (en), https://arxiv.org/abs/2610.28385 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b4af64f948ca (Metraipolis archive dc_b4af64f948ca, sha256 b3859e8e151e7dee692ce6ef1a2a7c528d6a4ac28a804e57b5153ce729012321)
BibTeX
@misc{dcb4af64f948ca,
title = {RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation Energies — arXiv:2610.28385},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.28385},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b4af64f948ca; sha256 b3859e8e151e7dee692ce6ef1a2a7c528d6a4ac28a804e57b5153ce729012321},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.28385. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Head-dimension compression can reduce the memory required by the key-value (KV) cache, but existing methods often reconstruct full-dimensional representations during inference, adding significant decoding FLOPs overhead. We formalize the design considerations for converting pretrained attention into a natively reduced-dimensional form that reduces both KV-cache storage and attention computation using a calibration set. Specifically, we consider reductions that (1) apply a shared projection to queries and keys so that they remain in a common reduced feature space, (2) derive this projection jointly from query and key activations to better preserve their interaction, and (3) are compatible with the pretrained RoPE transformation. To obtain a reconstruction-free realization of this reduction, we restrict it to coordinate selection and theoretically show that RoPE compatibility then holds if and only if complete rotary pairs are retained. Building on this characterization, we introduce RACE, a post-training method that selects rotary pairs using their joint query-key activation energy. We theoretically show that this criterion minimizes a separable, calibration-dependent upper bound on post-RoPE query-key product approximation error. The resulting reductions are folded into the model weights and require neither runtime reconstruction nor specialized kernels. Across three model families and different compression levels, RACE outperforms structured pruning and remains competitive with reconstruction-based methods on language-modeling, zero-shot, and long-context tasks. At 50% KV-cache retention and 256K context, RACE reduces total inference FLOPs by 47.8%, yielding 1.79x higher throughput, 43.2% lower time-to-first-token (TTFT), and 28.1% lower allocated GPU memory in comparison to an uncompressed model. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.28385 — 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-21T07:05:43.479Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).