Kernel-based Interpolatory Methods for Context Compression of Attention Mechanisms
On the map: Efficient LLM inference and serving → KV cache optimization also fits: Prompt and context compression
Abstract (arXiv)
The bottleneck of attention mechanisms, which are the fundamental building block of modern language models, is their quadratic complexity in terms of context size. There has thus been an increasing interest in the compression of the context, also called KV-cache compression. In this article, we consider the problem of compressing the context of attention mechanisms by first formulating it in the Hilbert space associated with its kernel. In this formalism, attention can be represented as the ratio of two linear maps whose interpolant is also the ratio of interpolants, this allows us to consider the interpolation of the linear maps directly. We thus introduce two novel KV-cache compression methods which we call GAIM and Q-DAIM, based on the Generalized Empirical Interpolation Method (GEIM) and the Q-Discrete Empirical Interpolation Method (Q-DEIM), respectively. As the cost of these methods is quadratic in terms of context length, we propose surrogate models based on the Taylor series, the Performer and the Random Fourier Features method which allow the compression to be done in linear time. Finally, we extend this result to the streaming attention setting, providing new methods which allow one to penalize the selection of interpolation nodes based on the previously interpolated context and to update the previous interpolation based on new information. We then provide numerical results on the convergence of the residuals and the output error in future queries and preliminary results on the LongBench-E benchmark showing performance comparable to the state-of-the-art methods. These experiments suggest that the range revealed by our Q-DAIM method could help identify where information is concentrated in the KV cache, thus enabling an efficient compression.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 28 of its 60 references that are in the map. Submitted 29 Oct 2026.
Builds on
28 of 60 references.
Closest ancestors · 4
Same direction, newest first
- 2026Towards Tight Bounds for Streaming Attention5 Jun
- 2025TransMLA: Multi-Head Latent Attention Is All You Need11 Feb
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference21 May
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
Other references · 24
- 2017Attention Is All You Needcited by 62,125
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,279
- 2024Qwen2.5 Technical Reportcited by 5,527
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,133
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2020Reformer: The Efficient Transformercited by 1,718
- 2020Rethinking Attention with Performerscited by 1,669
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 150
12 more
- 2015Optimal whitening and decorrelationcited by 112
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 93
- 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 64
- 2023KDEformer: Accelerating Transformers via Kernel Density Estimationcited by 63
- 2023PolySketchFormer: Fast Transformers via Sketching Polynomial Kernelscited by 42
- 2025PolarQuant: Quantizing KV Caches with Polar Transformationcited by 31
- 2025Multipole Attention for Efficient Long Context Reasoningcited by 22
- 2025Streaming Attention Approximation via Discrepancy Theorycited by 14
- 2024Embrace rejection: Kernel matrix approximation by accelerated randomly pivoted Choleskycited by 9
- 2026WildCat: Near-Linear Attention in Theory and Practicecited by 7
- 2026Attention-based graph neural networks: a surveycited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Kwai Summary Attention Technical Report
- 2025Q-Filters: Leveraging QK Geometry for Efficient KV Cache Compression
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression
- 2025AttentionPredictor: Temporal Patterns Matter for KV Cache Compression
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution
- 2025SALS: Sparse Attention in Latent Space for KV cache Compression
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs