mlsanityData to 24 Nov 2026

RACE: RoPE-Aligned Attention Compression Based on Query-Key Activation Energies

arXiv 2610.28385 ↗Submitted 20 Oct 2026cs.AIcited by 0

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 21 of its 21 references that are in the map. Submitted 20 Oct 2026.

Builds on

21 of 21 references.

Closest ancestors · 12

Same direction, newest first

  1. 2026STAR-KV: Low-Rank KV Cache Compression via Soft Thresholding for Adaptive Rank Control7 Jun
  2. 2026Thin Keys, Full Values: Reducing KV Cache via Low-Dimensional Attention Selection16 Feb
  3. 2026RAP: KV-Cache Compression via RoPE-Aligned Pruning1 Feb
  4. 2025LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models14 Jul
  5. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
  6. 2024MatryoshkaKV: Adaptive KV Compression via Trainable Orthogonal Projection16 Oct
  7. 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression10 Aug
  8. 2024Palu: Compressing KV-Cache with Low-Rank Projection30 Jul
  9. 2024ThinK: Thinner Key Cache by Query-Driven Pruning30 Jul
  10. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  11. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  12. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun

Other references · 9

  1. 2017Attention Is All You Needcited by 62,125
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  4. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  5. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  6. 2014Sketching as a Tool for Numerical Linear Algebracited by 294
  7. 2015Optimal approximate matrix product in terms of stable rankcited by 38
  8. 2025SQuat: Subspace-orthogonal KV Cache Quantizationcited by 8
  9. 2025AdaBet: Gradient-free Layer Selection for Efficient Training of Deep Neural Networkscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025EliteKV: Scalable KV Cache Compression via RoPE Frequency Selection and Joint Low-Rank Projection
  2. 2026GaugeRoPE: RoPE-Compatible Executable Latent Attention
  3. 2025SALS: Sparse Attention in Latent Space for KV cache Compression
  4. 2025KQ-SVD: Compressing the KV Cache with Provable Guarantees on Attention Fidelity
  5. 2026A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention
  6. 2026ATFlash: Per-RoPE-Wavelength Attention Windows for Compute/Memory-Efficient LLM Inference
  7. 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution
  8. 2026Attention-Weighted Value Projection for KV-Cache Compression