mlsanityData to 7 Oct 2026

Scalable-Softmax Is Superior for Attention

arXiv 2501.19399 ↗First posted 31 Jan 2025cs.CL cs.AI cs.LGcited by 38

Not on the map. Why?

Abstract (arXiv)

The maximum element of the vector output by the Softmax function approaches zero as the input vector size increases. Transformer-based language models rely on Softmax to compute attention scores, causing the attention distribution to flatten as the context size grows. This reduces the model's ability to prioritize key information effectively and potentially limits its length generalization. To address this problem, we propose Scalable-Softmax (SSMax), which replaces Softmax in scenarios where the input vector size varies. SSMax can be seamlessly integrated into existing Transformer-based architectures. Experimental results in language modeling show that models using SSMax not only achieve faster loss reduction during pretraining but also significantly improve performance in long contexts and key information retrieval. Furthermore, an analysis of attention scores reveals that SSMax enables the model to focus attention on key information even in long contexts. Additionally, although models that use SSMax from the beginning of pretraining achieve better length generalization, those that have already started pretraining can still gain some of this ability by replacing Softmax in the attention layers with SSMax, either during or after pretraining.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). First posted on arXiv 31 Jan 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 15; 2026: 23.

38 papers.

Sort:

By area:

  1. 2026Ministral 3cited by 88
  2. 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
  3. 2025The Mean-Field Dynamics of Transformerscited by 24
  4. 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmaxcited by 20
  5. 2025Long-Context Generalization with Sparse Attentioncited by 18
  6. 2025Critical attention scaling in long-context transformerscited by 17
  7. 2025Multi-Token Attentioncited by 10
  8. 2026EXAONE Tabular 1.0 : Technical Reportcited by 7
  9. 2025Scale-invariant Attentioncited by 5
  10. 2026Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modelingcited by 4
  11. 2025Bayesian Attention Mechanism: A Probabilistic Framework for Positional Encoding and Context Length Extrapolationcited by 3
  12. 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modelingcited by 3
26 more
  1. 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
  2. 2026LimiX-2: A Contextual Mechanism Network Towards General Structured-Data Intelligencecited by 3
  3. 2025Continuity and Isolation Lead to Doubts or Dilemmas in Large Language Modelscited by 2
  4. 2026Sparse Attention as Compact Kernel Regressioncited by 2
  5. 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Modelscited by 2
  6. 2026Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scalecited by 2
  7. 2025Reduced Density Matrices Through Machine Learningcited by 1
  8. 2026TIDE: Text-Informed Dynamic Extrapolation with Step-Aware Temperature Control for Diffusion Transformerscited by 1
  9. 2026Screening Is Enoughcited by 1
  10. 2026SepSeq: A Training-Free Framework for Long Numerical Sequence Processing in LLMscited by 1
  11. 2026Scaling Limits of Long-Context Transformerscited by 1
  12. 2026Most Transformer Modifications Still Do Not Transfer at 1-3B: A 2020-2026 Update to Narang et al. (2021) with Downstream Evaluation and a Noise Floorcited by 1
  13. 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memorycited by 1
  14. 2026Causilo Technical Reportcited by 1
  15. 2025On the Mathematical Impossibility of Safe Universal Approximatorscited by 0
  16. 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMscited by 0
  17. 2025Performance-Efficiency Tradeoffs in Transformers: An Approximation Theory Perspectivecited by 0
  18. 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrixcited by 0
  19. 2026Position Encoding with Random Float Sampling Enhances Length Generalization of Transformerscited by 0
  20. 2026MemDLM: Memory-Enhanced DLM Trainingcited by 0
  21. 2026ExtraVAR: Stage-Aware RoPE Remapping for Resolution Extrapolation in Visual Autoregressive Modelscited by 0
  22. 2026Phoenix-VL 1.5 Medium Technical Reportcited by 0
  23. 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attentioncited by 0
  24. 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
  25. 2026List Counting Failures Are Not One Phenomenoncited by 0
  26. 2026SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scalingcited by 0