mlsanityData to 14 Oct 2026

Unpacking Softmax: How Temperature Drives Representation Collapse, Compression, and Generalization

arXiv 2506.01562 ↗First posted 2 Jun 2025cs.LG stat.MLcited by 3

Not on the map. Why?

Abstract (arXiv)

The softmax function is a fundamental building block of deep neural networks, commonly used to define output distributions in classification tasks or attention weights in transformer architectures. Despite its widespread use and proven effectiveness, its influence on learning dynamics and learned representations remains poorly understood, limiting our ability to optimize model behavior. In this paper, we study the pivotal role of the softmax function in shaping the model's representation. We introduce the concept of rank deficit bias - a phenomenon in which softmax-based deep networks find solutions of rank much lower than the number of classes. This bias depends on the softmax function's logits norm, which is implicitly influenced by hyperparameters or directly modified by softmax temperature. Furthermore, we demonstrate how to exploit the softmax dynamics to learn compressed representations or to enhance their performance on out-of-distribution data. We validate our findings across diverse architectures and real-world datasets, highlighting the broad applicability of temperature tuning in improving model performance. Our work provides new insights into the mechanisms of softmax, enabling better control over representation learning in deep neural networks.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 2 Jun 2025.

Builds on

31 of 44 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  7. 2016Layer Normalizationcited by 5,669
  8. 2017On Calibration of Modern Neural Networkscited by 4,960
  9. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  10. 2023Vision Transformers Need Registerscited by 871
  11. 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
  12. 2018Rethinking the Value of Network Pruningcited by 599
19 more
  1. 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 378
  2. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
  3. 2021An Unconstrained Layer-Peeled Perspective on Neural Collapsecited by 87
  4. 2022Head2Toe: Utilizing Intermediate Representations for Better Transfer Learningcited by 83
  5. 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 64
  6. 2023A Study on ReLU and Softmax in Transformercited by 53
  7. 2023Deep Neural Collapse Is Provably Optimal for the Deep Unconstrained Features Modelcited by 43
  8. 2023Neural Collapse for Unconstrained Feature Model under Cross-entropy Loss with Imbalanced Datacited by 38
  9. 2024Linguistic Collapse: Neural Collapse in (Large) Language Modelscited by 38
  10. 2023The Tunnel Effect: Building Data Representations in Deep Neural Networkscited by 34
  11. 2024Weight decay induces low-rank attention layerscited by 27
  12. 2022Linking Neural Collapse and L2 Normalization with Improved Out-of-Distribution Detection in Deep Neural Networkscited by 23
  13. 2023Stabilizing Contrastive RL: Techniques for Robotic Goal Reaching from Offline Datacited by 23
  14. 2023Neural Collapse in the Intermediate Hidden Layers of Classification Neural Networkscited by 21
  15. 2024Neural Collapse versus Low-rank Bias: Is Deep Neural Collapse Really Optimal?cited by 17
  16. 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problemscited by 14
  17. 2024What Variables Affect Out-of-Distribution Generalization in Pretrained Models?cited by 13
  18. 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learningcited by 4
  19. 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.