ProxyAttn: Guided Sparse Attention via Representative Heads
Not on the map. Why?
Abstract (arXiv)
The quadratic complexity of attention mechanisms limits the efficiency of Large Language Models (LLMs) on long-text tasks. Recently, methods that dynamically estimate block importance have enabled efficient block sparse attention, leading to significant acceleration in long-text pre-filling of LLMs. However, their coarse-grained estimation inevitably leads to performance degradation at high sparsity rates. In this work, we propose ProxyAttn, a training-free sparse attention algorithm that achieves more precise block estimation by compressing the dimension of attention heads. Based on our observation of the similarity among multiple attention heads, we use the scores of pooled representative heads to approximate the scores for all heads. To account for the varying sparsity among heads, we also propose a block-aware dynamic budget estimation method. By combining the scores from representative proxy heads with multi-head dynamic budgets, we achieve a more fine-grained block importance evaluation at low computational cost. Experiments on a variety of mainstream models and extensive benchmarks confirm the underlying similarity among attention heads. Leveraging a fine-grained estimation, the proposed method achieves substantial gains in performance and efficiency compared to existing methods. More precisely, ProxyAttn can achieve up to 10.3x attention acceleration and 2.4x prefilling acceleration without significant performance loss. Our code is available at https://github.com/wyxstriker/ProxyAttn.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 35 of its 40 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
35 of 40 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
23 more
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
- 2025Qwen2.5-1M Technical Reportcited by 164
- 2025XAttention: Block Sparse Attention with Antidiagonal Scoringcited by 137
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 117
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2022A General Survey on Attention Mechanisms in Deep Learningcited by 64
- 2025MiniCPM4: Ultra-Efficient LLMs on End Devicescited by 52
- 2021On the Expressive Power of Self-Attention Matricescited by 47
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 39
- 2025A Survey on Transformer Context Extension: Approaches and Evaluationcited by 11
- 2025Accelerating Prefilling for Long-Context LLMs via Sparse Pattern Sharingcited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 8.
9 papers.
- 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 35
- 2025VideoNSA: Native Sparse Attention Scales Video Understandingcited by 11
- 2026FlashPrefill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefillingcited by 9
- 2026(Sparse) Attention to the Details: Preserving Spectral Fidelity in ML-based Weather Forecasting Modelscited by 5
- 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstructioncited by 4
- 2026PIVOT: Efficient Query-Group Indexing for Token-Level Sparse Attentioncited by 3
- 2026UniPrefill: Universal Long-Context Prefill Acceleration via Block-wise Dynamic Sparsificationcited by 2
- 2026CoSA: Accelerating Long-Context Inference via Proxy-Kernel Co-Designed Sparse Attentioncited by 1
- 2026The Sirens' Song: When Proximal Background Context Overshadows Distant Evidencecited by 0
- 2026The Sirens' Song: When Proximal Background Context Overshadows Distant Evidence22 Sep 2026
- 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability31 Aug 2026
- 2026CoSA: Accelerating Long-Context Inference via Proxy-Kernel Co-Designed Sparse Attention28 Jul 2026
- 2026PIVOT: Efficient Query-Group Indexing for Token-Level Sparse Attention27 Jul 2026
- 2026UniPrefill: Universal Long-Context Prefill Acceleration via Block-wise Dynamic Sparsification7 May 2026
- 2026(Sparse) Attention to the Details: Preserving Spectral Fidelity in ML-based Weather Forecasting Models6 Apr 2026
- 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction24 Mar 2026
- 2026FlashPrefill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefilling6 Mar 2026
- 2025VideoNSA: Native Sparse Attention Scales Video Understanding2 Oct 2025