RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation Energies
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.
ProofPaper ↗
Key points
- 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.
- Building on this characterization, we introduce RACE, a post-training method that selects rotary pairs using their joint query-key activation energy.
- 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.
Sources (1)
- [1]RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation EnergiesarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 20, 03:34 PM
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.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 20, 2026Local Inference of LLMs on Long Contexts: A Data Systems Perspective
- Oct 20, 2026[AINews] DeepSeek DeepInfer: Open Source SOTA Inference running 155T toks/day/cluster making $22m/day at ~80% margin for a 81 day payback
- Oct 20, 2026Do Diffusion LLMs Scale? Testing Mercury 3 + Decide
- Oct 19, 2026Push-based KV transfer to improve TTFT and TPOT for disaggregated inference in vLLM
- Oct 19, 2026Improve TTFT for multi-turn agentic workloads with bi-directional KV transfer in vLLM
- Oct 19, 2026We built our own inference engine so a 32B model could keep 262K context inside a 16 GB GPU budget. Here's an uncut run.