MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometries
Not on the map. Why?
Abstract (arXiv)
The quadratic complexity of dense self-attention remains a central bottleneck for long-context language modeling. Many efficient alternatives address this cost by deciding in advance where attention should be sparse or local. We argue that attention approximation should instead be approached as a geometric problem, with the relevant interaction geometry learned from data: natural-language dependencies are input-dependent and difficult to prescribe in advance, so the model should learn where positional relevance can decay and where broader interactions must be preserved. We introduce Mixture of Semantic Attention Regimes (MoSAR), which learns such an adaptive, controlled-decay geometry over query--key interactions. Input-conditioned query and key routers, applied after positional encoding, select mixtures over short, medium, and global regimes, inducing a continuous distance-dependent attention field rather than a fixed sparsity pattern. This geometry is learned during training and can subsequently be discretized through top-1 routing. In controlled pre-training experiments with matched 500M-parameter models, MoSAR learns a substantially lower-reach attention geometry without degrading language-modeling quality, improving perplexity over dense RoPE at the training context length. Under length extrapolation, MoSAR achieves the best perplexity among all evaluated variants, including strong baselines such as ALiBi. Moreover, the learned geometry remains stable under deterministic top-1 discretization, suggesting that it is not only adaptive, but also amenable to low-cost approximation at inference time.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 39 references that are in the map. First posted on arXiv 25 Sep 2026.
Builds on
36 of 39 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2020Longformer: The Long-Document Transformercited by 3,413
24 more
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Mixtral of Expertscited by 1,823
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2020Efficient Transformers: A Surveycited by 790
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2024Large Language Models: A Surveycited by 525
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 237
- 2025Why Language Models Hallucinatecited by 220
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
- 2019Adaptive Attention Span in Transformerscited by 149
- 2022A Length-Extrapolatable Transformercited by 127
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2024Selective Attention Improves Transformercited by 26
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Modelscited by 10
- 2025CoPE: A Lightweight Complex Positional Encodingcited by 1
Built on by
Not cited yet.