HiSA: Sparsifying the Hidden Dimension of RoPE Attention in LLMs
Not on the map. Why?
Abstract (arXiv)
Attention in large language models (LLMs) scores every query against every key with a full dot product. We investigate whether this dot product must be computed completely for attention to be effective. We propose Hidden Sparse Attention (HiSA), which keeps the query and key projections intact but only computes a partial dot product, following a static, parameter-free rule set by the token positions: attention becomes sparse in the hidden (feature) dimension, an axis much less explored than token sparsity, rather than over tokens as in almost all sparse attention methods. Based on the structure of rotary position embeddings (RoPE), we decompose keys and queries into parts which can be omitted when computing attention. By training LLMs from scratch with HiSA, we find that this partial dot product does not hurt but improves performance compared with the complete product while computing only about a third of the query-key products. During inference HiSA improves decoding speed and shrinks memory footprint. We also extend HiSA to FlashAttention-3 kernels for training and inference. Finally, we motivate our approach by showing that dense attention learns to suppress the attention score parts that HiSA drops. Code is available at https://github.com/ambroise-b/hisa.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 33 of its 40 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
33 of 40 references.
References · 33
- 2017Attention Is All You Needcited by 62,125
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025Qwen3 Technical Reportcited by 9,994
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2020Big Bird: Transformers for Longer Sequencescited by 1,729
- 2019Generating Long Sequences with Sparse Transformerscited by 1,641
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
21 more
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 794
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
- 2026Gemma 4 Technical Reportcited by 464
- 2023Effective Long-Context Scaling of Foundation Modelscited by 324
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
- 2024How to Train Long-Context Language Models (Effectively)cited by 168
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 136
- 2023Scaling Laws of RoPE-based Extrapolationcited by 132
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 128
- 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 116
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 77
- 2024Base of RoPE Bounds Context Lengthcited by 58
- 2024Post-Training Sparse Attention with Double Sparsitycited by 54
- 2026Scaling Attention via Feature Sparsitycited by 3
- 2026ATFlash: Per-RoPE-Wavelength Attention Windows for Compute/Memory-Efficient LLM Inferencecited by 3
- 2026AdaRoPE: Not All Attention Heads Should Rotate and Scale Equallycited by 2
- 2026WavePrune: One period is often enough for RoPEcited by 1
Built on by
Not cited yet.