Analytic Study of Double Descent in Binary Classification: The Impact of Loss

Ganesh Ramachandra Kini, Christos ThrampoulidisISIT 2020

Abstract

Modern deep learning often defies the classical bias-variance tradeoff, exhibiting a "double descent" behavior where test error decreases, increases, and then decreases again as model complexity grows. This paper provides a rigorous mathematical analysis of this phenomenon in binary linear classification. By comparing square loss and logistic loss through high-dimensional asymptotic analysis, the authors derive sharp formulas for test error. The study demonstrates that the specific characteristics of the double descent curve—including the location and magnitude of the error peak—are critically dependent on the choice of loss function and the signal-to-noise ratio (SNR).

Introduction: Beyond the Bias-Variance Tradeoff

In classical statistics, increasing model complexity beyond a certain point typically leads to overfitting, where training error continues to drop but test error rises. However, overparameterized neural networks often show a "double descent" (DD) pattern. While well-documented empirically, theoretical understanding has primarily focused on linear regression. This work extends the theory to binary classification, investigating how standard loss functions shape the risk curve in the high-dimensional regime where the number of parameters $p$ and samples $n$ both grow large, with their ratio $\kappa = p/n$ remaining constant.

Methodology

The authors employ a high-dimensional asymptotic analysis, studying regimes where both $n$ and $p$ grow to infinity. They analyze two generative models: a Generative Logistic model and a Discriminative Gaussian Mixture (GM) model. They compare Gradient Descent (GD) using square loss and logistic loss. The mathematical core of the paper utilizes the Convex Gaussian Min-Max Theorem (CGMT) to reduce complex stochastic optimization into deterministic scalar problems, providing "sharp" predictions for test error.

Double descent curves for different signal parameters, showing the characteristic peak at the interpolation threshold.

Key Insights: Loss Functions and Signal Strength

A primary finding is that the "cusp" or peak in test error is algorithm-dependent. For square loss, the test error always peaks exactly at the "interpolation threshold" ($\kappa = 1$), where the number of parameters equals the number of samples. In contrast, for logistic loss, this peak (the phase transition) typically occurs earlier ($\kappa < 0.5$), depending on the data's separability.

Surprisingly, the study finds that square loss can outperform logistic loss in specific signal-to-noise regimes, despite logistic loss being the standard for classification. Logistic loss generally provides a smoother error curve, whereas square loss exhibits sharper performance swings and more dramatic "kinks" near the threshold.

Feature Selection and Empirical Validation

The authors also model how signal strength evolves as features are added, using linear and polynomial feature selection rules. This allows them to mimic realistic scenarios where adding features might increase the total signal available to the model.

Comparison of theoretical predictions (lines) and numerical simulations (markers) for linear and polynomial feature selection rules.

The theoretical curves derived in the paper perfectly match numerical simulations, validating that the double descent observed in complex networks is fundamentally present even in simple linear settings. Furthermore, the analysis confirms the "more data can hurt" paradox: in certain regimes of the W-shaped risk curve, increasing the sample size $n$ (thereby decreasing $\kappa$) can actually lead to higher test error.

Conclusion and Future Directions

This work provides a foundational theoretical framework for understanding double descent in classification. While limited to linear models and Gaussian features, it offers precise insights into how loss functions and SNR interact. Future research may extend these results to multi-class settings, non-linear architectures, and more complex feature correlations to better reflect real-world data distributions.

Summary updated

BibTeX
@misc{kini2020analytic,
  author = {Ganesh Ramachandra Kini and Christos Thrampoulidis},
  title = {{Analytic Study of Double Descent in Binary Classification: The Impact of Loss}},
  year = {2020},
  eprint = {2001.11572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.11572},
}
Figure