Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Tasks
Not on the map. Why?
Abstract (arXiv)
Modern neural architectures for classification tasks are trained using the cross-entropy loss, which is widely believed to be empirically superior to the square loss. In this work we provide evidence indicating that this belief may not be well-founded. We explore several major neural architectures and a range of standard benchmark datasets for NLP, automatic speech recognition (ASR) and computer vision tasks to show that these architectures, with the same hyper-parameter settings as reported in the literature, perform comparably or better when trained with the square loss, even after equalizing computational resources. Indeed, we observe that the square loss produces better results in the dominant majority of NLP and ASR experiments. Cross-entropy appears to have a slight edge on computer vision tasks. We argue that there is little compelling empirical or theoretical evidence indicating a clear-cut advantage to the cross-entropy loss. Indeed, in our experiments, performance on nearly all non-vision tasks can be improved, sometimes significantly, by switching to the square loss. Furthermore, training with square loss appears to be less sensitive to the randomness in initialization. We posit that training using the square loss for classification needs to be a part of best practices of modern deep learning on equal footing with cross-entropy.
Key facts. Cited by 137 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 26; 2022: 32; 2023: 30; 2024: 20; 2025: 18; 2026: 11.
137 papers.
Sort:
By area:
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 146
- 2021Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolationcited by 130
- 2022Extended Unconstrained Features Model for Exploring Deep Neural Collapsecited by 101
- 2023The Expressive Power of Low-Rank Adaptationcited by 100
- 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
- 2022On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Featurescited by 97
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2021Soft Calibration Objectives for Neural Networkscited by 89
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022Are All Losses Created Equal: A Neural Collapse Perspectivecited by 78
38 more
- 2022The Effects of Regularization and Data Augmentation are Class Dependentcited by 67
- 2021A Farewell to the Bias-Variance Tradeoff? An Overview of the Theory of Overparameterized Machine Learningcited by 54
- 2021Bridging Multi-Task Learning and Meta-Learning: Towards Efficient Training and Effective Adaptationcited by 50
- 2022Graph Neural Networks are Inherently Good Generalizers: Insights by Bridging GNNs and MLPscited by 42
- 2021Benign Overfitting in Multiclass Classification: All Roads Lead to Interpolationcited by 41
- 2023Neural Collapse in Deep Linear Networks: From Balanced to Imbalanced Datacited by 40
- 2024Does SGD really happen in tiny subspaces?cited by 35
- 2021Selective Regression Under Fairness Criteriacited by 34
- 2022Perturbation Analysis of Neural Collapsecited by 34
- 2023Dual Focal Loss for Calibrationcited by 33
- 2022TCT: Convexifying Federated Learning using Bootstrapped Neural Tangent Kernelscited by 26
- 2022Making Look-Ahead Active Learning Strategies Feasible with Neural Tangent Kernelscited by 25
- 2023Tangent Model Composition for Ensembling and Continual Fine-tuningcited by 25
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 2022The good, the bad and the ugly sides of data augmentation: An implicit spectral regularization perspectivecited by 24
- 2022Understanding and Improving Transfer Learning of Deep Models via Neural Collapsecited by 24
- 2021RATT: Leveraging Unlabeled Data to Guarantee Generalizationcited by 20
- 2025Uncovering Memorization Effect in the Presence of Spurious Correlationscited by 20
- 2022SphereFed: Hyperspherical Federated Learningcited by 19
- 2023Supervision Complexity and its Role in Knowledge Distillationcited by 19
- 2023A Neural Collapse Perspective on Feature Evolution in Graph Neural Networkscited by 19
- 2023Neural (Tangent Kernel) Collapsecited by 18
- 2021Understanding and Mitigating Accuracy Disparity in Regressioncited by 17
- 2021CounterNet: End-to-End Training of Prediction Aware Counterfactual Explanationscited by 17
- 2023More is Better in Modern Machine Learning: when Infinite Overparameterization is Optimal and Overfitting is Obligatorycited by 17
- 2023Pathologies of Predictive Diversity in Deep Ensemblescited by 16
- 2023Classification with Deep Neural Networks and Logistic Losscited by 16
- 2021Estimating informativeness of samples with Smooth Unique Informationcited by 15
- 2021Harmless interpolation in regression and classification with structured featurescited by 14
- 2021Understanding Square Loss in Training Overparametrized Neural Network Classifierscited by 14
- 2023Generalizing and Decoupling Neural Collapse via Hyperspherical Uniformity Gapcited by 14
- 2023Automatic Gradient Descent: Deep Learning without Hyperparameterscited by 14
- 2023A Unified Approach to Controlling Implicit Regularization via Mirror Descentcited by 13
- 2023Tangent Transformers for Composition, Privacy and Removalcited by 13
- 2024Why do Random Forests Work? Understanding Tree Ensembles as Self-Regularizing Adaptive Smootherscited by 13
- 2024How to Train the Teacher Model for Effective Knowledge Distillationcited by 13
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
- 2021On the interplay between data structure and loss function in classification problemscited by 12
50 most cited of 137 All 137 (JSON)
- 2026Probabilistic Linear Explanations16 Sep 2026
- 2026Robustness of neural networks to random noise perturbations of their inputs30 Jun 2026
- 2026Alternate loss functions and regression models that achieve robustness to outliers by modulating the learning rate20 Jun 2026
- 2026The role of class encoding in neural collapse29 May 2026
- 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classification8 Apr 2026
- 2026Deep Neural Regression Collapse25 Mar 2026
- 2026Non-Euclidean Gradient Descent Operates at the Edge of Stability5 Mar 2026
- 2026DeepAFL: Deep Analytic Federated Learning28 Feb 2026
- 2026Emergent Low-Rank Training Dynamics in MLPs with Smooth Activations5 Feb 2026
- 2026Why Loss Re-weighting Works If You Stop Early: Training Dynamics of Unconstrained Features17 Jan 2026
- 2026Normalized Conditional Mutual Information Surrogate Loss for Deep Neural Classifiers5 Jan 2026
- 2025Continuous Autoregressive Language Models31 Oct 2025
38 more
- 2025Closed-Form Last Layer Optimization6 Oct 2025
- 2025APFL: Analytic Personalized Federated Learning via Dual-Stream Least Squares14 Aug 2025
- 2025Thumb on the Scale: Optimal Loss Weighting in Last Layer Retraining24 Jun 2025
- 2025Revisiting Reweighted Risk for Calibration: AURC, Focal, and Inverse Focal Loss29 May 2025
- 2025Next Token Perception Score: Analytical Assessment of your LLM Perception Skills22 May 2025
- 2025AFCL: Analytic Federated Continual Learning for Spatio-Temporal Invariance of Non-IID Data18 May 2025
- 2025Towards Efficient and Exact Forgetting Services in Pre-Trained-Model-based Continual Learning18 May 2025
- 2025Geometry of Semantics in Next-Token Prediction: How Optimization Implicitly Organizes Linguistic Representations13 May 2025
- 2025Super-fast Rates of Convergence for Neural Network Classifiers under the Hard Margin Condition13 May 2025
- 2025Continuous Visual Autoregressive Generation via Score Maximization12 May 2025
- 2025Beyond One-Hot Labels: Semantic Mixing for Model Calibration18 Apr 2025
- 2025Robust Classification with Noisy Labels Based on Posterior Maximization9 Apr 2025
- 2025Uncertainty Weighted Gradients for Model Calibration26 Mar 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
- 2025A Good Start Matters: Enhancing Continual Learning with Data-Driven Weight Initialization9 Mar 2025
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learning15 Feb 2025
- 2025Uncovering Memorization Effect in the Presence of Spurious Correlations1 Jan 2025
- 2024Fast training of large kernel models with delayed projections25 Nov 2024
- 2024Likelihood approximations via Gaussian approximate inference28 Oct 2024
- 2024LFME: A Simple Framework for Learning from Multiple Experts in Domain Generalization22 Oct 2024
- 2024LoRanPAC: Low-rank Random Features and Pre-trained Models for Bridging Theory and Practice in Continual Learning1 Oct 2024
- 2024An Effective, Robust and Fairness-aware Hate Speech Detection Framework25 Sep 2024
- 2024EUR-USD Exchange Rate Forecasting Based on Information Fusion with Large Language Models and Deep Learning Methods23 Aug 2024
- 2024How to Train the Teacher Model for Effective Knowledge Distillation25 Jul 2024
- 2024Sharif-MGTD at SemEval-2024 Task 8: A Transformer-Based Approach to Detect Machine Generated Text16 Jul 2024
- 2024Extract More from Less: Efficient Fine-Grained Visual Recognition in Low-Data Regimes28 Jun 2024
- 2024Can Kernel Methods Explain How the Data Affects Neural Collapse?4 Jun 2024
- 2024Language Generation with Strictly Proper Scoring Rules29 May 2024
- 2024Does SGD really happen in tiny subspaces?25 May 2024
- 2024Towards Certification of Uncertainty Calibration under Adversarial Attacks22 May 2024
- 2024Awareness of uncertainty in classification using a multivariate model and multi-views16 Apr 2024
- 2024Unifying Low Dimensional Spectra in Deep Learning9 Apr 2024
- 2024Generalization of Scaled Deep ResNets in the Mean-Field Regime14 Mar 2024
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective5 Feb 2024
- 2024Why do Random Forests Work? Understanding Tree Ensembles as Self-Regularizing Adaptive Smoothers2 Feb 2024
- 2024The Optimality of Kernel Classifiers in Sobolev Space2 Feb 2024
- 2024f-Divergence Based Classification: Beyond the Use of Cross-Entropy2 Jan 2024
- 2023Understanding the Role of Optimization in Double Descent6 Dec 2023
50 newest of 137 All 137 (JSON)
- 2023The Expressive Power of Low-Rank Adaptationcited by 100
- 2023The Expressive Power of Low-Rank Adaptation26 Oct 2023
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 146
- 2021Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolationcited by 130
- 2022Extended Unconstrained Features Model for Exploring Deep Neural Collapsecited by 101
- 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
- 2022On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Featurescited by 97
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2021Soft Calibration Objectives for Neural Networkscited by 89
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022Are All Losses Created Equal: A Neural Collapse Perspectivecited by 78
- 2022The Effects of Regularization and Data Augmentation are Class Dependentcited by 67
12 most cited of 135 All 135 (JSON)
- 2026Probabilistic Linear Explanations16 Sep 2026
- 2026Robustness of neural networks to random noise perturbations of their inputs30 Jun 2026
- 2026Alternate loss functions and regression models that achieve robustness to outliers by modulating the learning rate20 Jun 2026
- 2026The role of class encoding in neural collapse29 May 2026
- 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classification8 Apr 2026
- 2026Deep Neural Regression Collapse25 Mar 2026
- 2026Non-Euclidean Gradient Descent Operates at the Edge of Stability5 Mar 2026
- 2026DeepAFL: Deep Analytic Federated Learning28 Feb 2026
- 2026Emergent Low-Rank Training Dynamics in MLPs with Smooth Activations5 Feb 2026
- 2026Why Loss Re-weighting Works If You Stop Early: Training Dynamics of Unconstrained Features17 Jan 2026
- 2026Normalized Conditional Mutual Information Surrogate Loss for Deep Neural Classifiers5 Jan 2026
- 2025Continuous Autoregressive Language Models31 Oct 2025
12 newest of 135 All 135 (JSON)