Sigmoid Self-Attention has Lower Sample Complexity than Softmax Self-Attention: A Mixture-of-Experts Perspective
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
At the core of the popular Transformer architecture is the self-attention mechanism, which dynamically assigns softmax weights to each input token so that the model can focus on the most salient information. However, the softmax structure slows down the attention computation due to its row-wise nature, and it inherently introduces competition among tokens: as the weight assigned to one token increases, the weights of others decrease. This competitive dynamic may narrow the focus of self-attention to a limited set of features, potentially overlooking other informative characteristics. Recent experimental studies have shown that using the element-wise sigmoid function helps eliminate token competition and reduce the computational overhead. Despite these promising empirical results, a rigorous comparison between sigmoid and softmax self-attention mechanisms remains absent in the literature. This paper closes this gap by theoretically demonstrating that sigmoid self-attention is more sample-efficient than its softmax counterpart. Toward that goal, we represent the self-attention matrix as a mixture of experts and show that ``experts'' in sigmoid self-attention require significantly less data to achieve the same approximation error as those in softmax self-attention.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 38 of its 51 references that are in the map. First posted on arXiv 1 Feb 2025.
Builds on
38 of 51 references.
Closest ancestors · 4
Same direction, newest first
- 2024MoH: Multi-Head Attention as Mixture-of-Head Attention15 Oct
- 2023SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention13 Dec
- 2022On the Representation Collapse of Sparse Mixture of Experts20 Apr
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
22 more
- 2024Mixtral of Expertscited by 1,785
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2023From Sparse to Soft Mixtures of Expertscited by 245
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2021DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learningcited by 114
- 2023Preference Transformer: Modeling Human Preferences using Transformers for RLcited by 77
- 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 62
- 2021SpeechMoE: Scaling to Large Acoustic Models with Dynamic Routing Mixture of Expertscited by 48
- 2019Convergence Rates for Gaussian Mixtures of Expertscited by 39
- 2023Demystifying Softmax Gating Function in Gaussian Mixture of Expertscited by 33
- 2023MoLE : Mixture of Language Experts for Multi-Lingual Automatic Speech Recognitioncited by 31
- 2023Brainformers: Trading Simplicity for Efficiencycited by 31
- 2024Multi-Head Mixture-of-Expertscited by 30
- 2023Statistical Perspective of Top-K Sparse Softmax Gating Mixture of Expertscited by 28
- 2023Approximating Two-Layer Feedforward Networks for Efficient Transformerscited by 27
- 2024On Least Square Estimation in Softmax Gating Mixture of Expertscited by 23
- 2022Refined Convergence Rates for Maximum Likelihood Estimation under Finite Mixture Modelscited by 22
- 2024On Expert Estimation in Hierarchical Mixture of Experts: Beyond Softmax Gating Functionscited by 16
- 2024Understanding Expert Structures on Minimax Parameter Estimation in Contaminated Mixture of Expertscited by 5
- 2024Quadratic Gating Mixture of Experts: Statistical Insights into Self-Attentioncited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights
- 2026A Statistical Theory of Gated Attention through the Lens of Hierarchical Mixture of Experts
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency
- 2026Optimal Expert-Attention Allocation in Mixture-of-Experts: A Scalable Law for Dynamic Model Design
- 2025Element-wise Attention Is All You Need
- 2025Mixture of Sparse Attention: Content-Based Learnable Sparse Attention via Expert-Choice Routing
- 2025Mixture-of-Transformers Learn Faster: A Theoretical Study on Classification Problems
- 2024Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts