Cut your Losses with Squentropy
Not on the map. Why?
Abstract (arXiv)
Nearly all practical neural models for classification are trained using cross-entropy loss. Yet this ubiquitous choice is supported by little theoretical or empirical evidence. Recent work (Hui & Belkin, 2020) suggests that training using the (rescaled) square loss is often superior in terms of the classification accuracy. In this paper we propose the "squentropy" loss, which is the sum of two terms: the cross-entropy loss and the average square loss over the incorrect classes. We provide an extensive set of experiments on multi-class classification problems showing that the squentropy loss outperforms both the pure cross entropy and rescaled square losses in terms of the classification accuracy. We also demonstrate that it provides significantly better model calibration than either of these alternative losses and, furthermore, has less variance with respect to the random initialization. Additionally, in contrast to the square loss, squentropy loss can typically be trained using exactly the same optimization parameters, including the learning rate, as the standard cross-entropy loss, making it a true "plug-and-play" replacement. Finally, unlike the rescaled square loss, multiclass squentropy contains no parameters that need to be adjusted.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 8 Feb 2023.
Builds on
20 of 39 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Wide Residual Networkscited by 3,057
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modelingcited by 1,447
- 2019When Does Label Smoothing Help?cited by 985
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2018ESPnet: End-to-End Speech Processing Toolkitcited by 554
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
8 more
- 2016Joint CTC-Attention based End-to-End Speech Recognition using Multi-task Learningcited by 254
- 2016Enhanced LSTM for Natural Language Inferencecited by 199
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 137
- 2018Large Margin Deep Networks for Classificationcited by 110
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2019Harnessing the Power of Infinitely Wide Deep Nets on Small-data Taskscited by 87
- 2019Optimization for deep learning: theory and algorithmscited by 70
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 1; 2026: 2.
6 papers.
- 2024Pearls from Pebbles: Improved Confidence Functions for Auto-labelingcited by 3
- 2026Normalized Conditional Mutual Information Surrogate Loss for Deep Neural Classifierscited by 2
- 2025A Good Start Matters: Enhancing Continual Learning with Data-Driven Weight Initializationcited by 1
- 2023Accelerated Neural Network Training with Rooted Logistic Objectivescited by 0
- 2024Minimizing Chebyshev Prototype Risk Magically Mitigates the Perils of Overfittingcited by 0
- 2026One-Layer Transformer Provably Learns Multiclass One-Nearest Neighbor in Contextcited by 0
- 2026One-Layer Transformer Provably Learns Multiclass One-Nearest Neighbor in Context1 Sep 2026
- 2026Normalized Conditional Mutual Information Surrogate Loss for Deep Neural Classifiers5 Jan 2026
- 2025A Good Start Matters: Enhancing Continual Learning with Data-Driven Weight Initialization9 Mar 2025
- 2024Pearls from Pebbles: Improved Confidence Functions for Auto-labeling24 Apr 2024
- 2024Minimizing Chebyshev Prototype Risk Magically Mitigates the Perils of Overfitting10 Apr 2024
- 2023Accelerated Neural Network Training with Rooted Logistic Objectives5 Oct 2023