mlsanityData to 14 Oct 2026

Understanding Square Loss in Training Overparametrized Neural Network Classifiers

arXiv 2112.03657 ↗First posted 7 Dec 2021stat.ML cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Deep learning has achieved many breakthroughs in modern classification tasks. Numerous architectures have been proposed for different data structures but when it comes to the loss function, the cross-entropy loss is the predominant choice. Recently, several alternative losses have seen revived interests for deep classifiers. In particular, empirical evidence seems to promote square loss but a theoretical justification is still lacking. In this work, we contribute to the theoretical understanding of square loss in classification by systematically investigating how it performs for overparametrized neural networks in the neural tangent kernel (NTK) regime. Interesting properties regarding the generalization error, robustness, and calibration error are revealed. We consider two cases, according to whether classes are separable or not. In the general non-separable case, fast convergence rate is established for both misclassification rate and calibration error. When classes are separable, the misclassification rate improves to be exponentially fast. Further, the resulting margin is proven to be lower bounded away from zero, providing theoretical guarantees for robustness. We expect our findings to hold beyond the NTK regime and translate to practical settings. To this end, we conduct extensive empirical studies on practical neural networks, demonstrating the effectiveness of square loss in both synthetic low-dimensional data and real image data. Comparing to cross-entropy, square loss has comparable generalization error but noticeable advantages in robustness and model calibration.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 40 of its 62 references that are in the map. First posted on arXiv 7 Dec 2021.

Builds on

40 of 62 references.

References · 40

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2016Wide Residual Networkscited by 3,070
  7. 2020Supervised Contrastive Learningcited by 2,829
  8. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  9. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  10. 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
  11. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
  12. 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 566
28 more
  1. 2017Nonparametric regression using deep neural networks with ReLU activation functioncited by 433
  2. 2019The generalization error of random features regression: Precise asymptotics and double descent curvecited by 413
  3. 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
  4. 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 267
  5. 2018Learning Overparameterized Neural Networks via Stochastic Gradient Descent on Structured Datacited by 261
  6. 2019Generalization Bounds of Stochastic Gradient Descent for Wide and Deep Neural Networkscited by 222
  7. 2019On the Inductive Bias of Neural Tangent Kernelscited by 177
  8. 2018MMA Training: Direct Input Space Margin Maximization through Adversarial Trainingcited by 172
  9. 2019Evaluating model calibration in classificationcited by 168
  10. 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
  11. 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 158
  12. 2020Learning Diverse and Discriminative Representations via the Principle of Maximal Coding Rate Reductioncited by 142
  13. 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 138
  14. 2018Parametric Noise Injection: Trainable Randomness to Improve Deep Neural Network Robustness against Adversarial Attackcited by 125
  15. 2019Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networkscited by 121
  16. 2018Large Margin Deep Networks for Classificationcited by 112
  17. 2020The Neural Tangent Kernel in High Dimensions: Triple Descent and a Multi-Scale Theory of Generalizationcited by 101
  18. 2020Classification vs regression in overparameterized regimes: Does the loss function matter?cited by 97
  19. 2020On the Similarity between the Laplace and Neural Tangent Kernelscited by 76
  20. 2020Deep Neural Tangent Kernel and Laplace Kernel Have the Same RKHScited by 74
  21. 2018Excessive Invariance Causes Adversarial Vulnerabilitycited by 66
  22. 2019Generalization Error Bounds of Gradient Descent for Learning Over-parameterized Deep ReLU Networkscited by 60
  23. 2018Fast convergence rates of deep neural networks for classificationcited by 46
  24. 2020Regularization Matters: A Nonparametric Perspective on Overparametrized Neural Networkcited by 38
  25. 2020Optimal Rates for Averaged Stochastic Gradient Descent under Neural Tangent Kernel Regimecited by 35
  26. 2019Gradient Descent can Learn Less Over-parameterized Two-layer Neural Networks on Classification Problemscited by 24
  27. 2019Cross-Entropy Loss and Low-Rank Features Have Responsibility for Adversarial Examplescited by 17
  28. 2020Sharp Rate of Convergence for Deep Neural Network Classifiers under the Teacher-Student Settingcited by 11

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 8; 2024: 2; 2025: 3.

14 papers.

Sort:

By area: