Beyond Homogeneous Attention: Memory-Efficient LLMs via Fourier-Approximated KV Cache
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large Language Models struggle with memory demands from the growing Key-Value (KV) cache as context lengths increase. Existing compression methods homogenize head dimensions or rely on attention-guided token pruning, often sacrificing accuracy or introducing computational overhead. We propose FourierAttention, a training-free framework that exploits the heterogeneous roles of transformer head dimensions: lower dimensions prioritize local context, while upper ones capture long-range dependencies. By projecting the long-context-insensitive dimensions onto orthogonal Fourier bases, FourierAttention approximates their temporal evolution with fixed-length spectral coefficients. Evaluations on LLaMA models show that FourierAttention achieves the best long-context accuracy on LongBench and Needle-In-A-Haystack (NIAH). Besides, a custom Triton kernel, FlashFourierAttention, is designed to optimize memory via streamlined read-write operations, enabling efficient deployment without performance compromise.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. First posted on arXiv 13 Jun 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 40
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharingcited by 9
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMscited by 2
- 2026VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantizationcited by 1
- 2026When Quantization Is Free: An int4 KV Cache That Outruns fp16 on Apple Siliconcited by 0
- 2026When Quantization Is Free: An int4 KV Cache That Outruns fp16 on Apple Silicon7 May 2026
- 2026VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantization17 Mar 2026
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMs8 Dec 2025
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharing22 Aug 2025
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2025FAEDKV: Infinite-Window Fourier Transform for Unbiased KV Cache Compression
- 2025HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads
- 2025ZSMerge: Zero-Shot KV Cache Compression for Memory-Efficient Long-Context LLMs
- 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs