mlsanityData to 14 Oct 2026

MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometries

arXiv 2609.31261 ↗First posted 25 Sep 2026cs.CL cs.AIcited by 0

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  10. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  11. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  12. 2020Longformer: The Long-Document Transformercited by 3,413
24 more
  1. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  4. 2024Mixtral of Expertscited by 1,823
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  6. 2020Reformer: The Efficient Transformercited by 1,668
  7. 2019Root Mean Square Layer Normalizationcited by 1,480
  8. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  10. 2020Efficient Transformers: A Surveycited by 790
  11. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  12. 2024Large Language Models: A Surveycited by 525
  13. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  14. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  15. 2024A Survey on Mixture of Experts in Large Language Modelscited by 237
  16. 2025Why Language Models Hallucinatecited by 220
  17. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
  18. 2019Adaptive Attention Span in Transformerscited by 149
  19. 2022A Length-Extrapolatable Transformercited by 127
  20. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  21. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
  22. 2024Selective Attention Improves Transformercited by 26
  23. 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Modelscited by 10
  24. 2025CoPE: A Lightweight Complex Positional Encodingcited by 1

Built on by

Not cited yet.