Understanding Double Descent through Universal Compression

Jiaxuan Cheng, Addison Spiegel

TL;DR

Why do neural networks get dramatically worse right when they become big enough to memorize their training data, only to mysteriously recover as they grow even larger? By viewing deep learning through the lens of data compression, the authors break down test error to reveal the main culprit behind this "double descent" spike: overconfident, single-point parameter estimates. Swap standard training out for a probability-averaged Bayesian ensemble, and that notorious error spike largely vanishes.

What Problem Does This Paper Address?

Classical statistics teaches us the bias–variance tradeoff: make a model too small and it underfits; make it too big and it overfits, tracing a neat U-shaped test error curve. Modern deep learning tore up that textbook. Right around the "interpolation threshold"—the exact model size capable of memorizing the training set to zero error—test loss shoots up into a sharp peak, then descends a second time as you add even more parameters.

While mathematicians have dissected this "double descent" phenomenon in clean, linear toy models, we still lack a rigorous, general explanation for why it happens in messy, non-regular deep neural networks—or which mathematical component of the test loss is actually misbehaving at that peak.

Figure 1: Right: 5-layer CNNs of varying width k trained on CIFAR-10 with 20% label noise (n = 50,000, SGD, 200k steps). The per-seed classification error (orange) exhibits the double- descent peak near the interpolation threshold, while the probability average over 8 SGLD chains (green, dashed) reduces the peak. Left: A histogram model with n = 64 uniform inputs on [0, 1], adapted from Holzmüller (2021, Appendix D). The class probabilities on four equal intervals are (.05, .95, .5, .5), and each fitted bin chooses from {.05, .5, .95}, using .5 if empty. Finite sums give the MLE excess loss and terms (I)–(III). Once d ≥4, term (I) is zero, batch regret (II) increases with d, and the MLE-vs-Bayes gap (III) exhibits a peak. Here the prior is least-favorable, so (II’) is zero.

Methods

Think of predicting class probabilities as data compression: assigning high probability to the right answer is mathematically equivalent to assigning it a short code length (measured in "nats" via cross-entropy / log-loss). Using universal compression—the information-theoretic study of encoding data when you don't know the true source parameters—the authors upper-bound the excess test loss of a standard Maximum Likelihood Estimator (MLE, approximated in practice by SGD) into four distinct pieces:

  1. Approximation & Shift: The mismatch between reality and the best distribution your model architecture can represent.
  2. Minimax Batch Regret: The unavoidable penalty any predictor pays for not knowing the true model parameters ahead of time (which only grows or stays flat as models get bigger).
  3. Prior Cost: How far your chosen Bayesian prior is from the theoretical worst-case-optimal prior.
  4. The MLE-vs-Bayes Gap: The extra penalty you pay for committing to a single trained model (MLE/SGD) instead of averaging predictions across the full Bayesian posterior.

To test this in real neural networks where exact Bayesian posteriors are intractable, the authors approximate the Bayes predictor using Stochastic Gradient Langevin Dynamics (SGLD)—essentially SGD with carefully calibrated Gaussian noise and an explicit Gaussian prior—averaging the output probabilities (softmaxes, not logits) across multiple chains. Crucially, they also design an experiment with 100% uniform random labels, which mathematically forces the Approximation & Shift term to zero, cleanly isolating the MLE-vs-Bayes gap.

Datasets

No new benchmarks are introduced; the authors use classic vision datasets with synthetic label corruptions to probe the interpolation regime:

  • CIFAR-10: Trained on 5-layer width-varied CNNs ($n = 50,000$) using either 20% random label noise (canonical double-descent setup) or 100% uniform random labels.
  • MNIST: Trained on Random Forests and Bayesian Additive Regression Trees (BART) ($n = 10,000$) under both clean labels and 100% random labels.
  • Synthetic 1D Histogram: A tractable toy model ($n = 64$ uniform inputs on $[0,1]$) where all compression terms can be computed exactly.

Key Insights and Ideas

  • Double descent is largely a prediction-rule artifact, not an unavoidable capacity curse. Because minimax batch regret can only increase as a model family grows, it cannot go up and come back down. The sharp peak—and subsequent recovery—comes heavily from the MLE-vs-Bayes gap: relying on a single overconfident parameter fit right at the knife's edge of memorization.
  • Cross-entropy sees what 0/1 accuracy misses. Under 100% random noise, every predictor gets 90% classification error on ten classes—whether it sensibly guesses 10% per class or arrogantly guesses 99.99% on the wrong class. Measuring cross-entropy (log-loss) exposes wild overconfidence at the interpolation threshold.
  • Average probabilities, not weights or logits. Simply averaging the softmax probability outputs of independent chains (or even enough standard SGD seeds) tames the overconfident wrong predictions that cause test loss to explode.
CIFAR-10 with 100% label noise: SGD spikes while the SGLD ensemble stays flat

Key Results

  • Eliminating the peak under pure noise: On CIFAR-10 with 100% random labels, true conditional probabilities are uniform ($1/10$), meaning ideal log-loss is $\log 10 \approx 2.303$ nats. Near the interpolation peak (CNN width $k = 14$), standard SGD cross-entropy explodes to 8.659 nats—nearly four times worse—while the 8-chain SGLD ensemble stays completely flat at 2.303 nats, yielding a massive 6.356-nat gap.
  • Standard double-descent regime (20% noise): Across 5-layer CNNs on CIFAR-10, single-seed SGD shows a sharp double-descent spike in both log-loss and 0/1 error, whereas the 8-chain SGLD ensemble smooths the curve with no pronounced peak.
  • Plain SGD ensembles work too (if large enough): Averaging class probabilities over $K \ge 32$ independent SGD seeds makes the 20%-noise test curve monotonic; under 100% noise, $K = 16$ seeds dramatically shrinks the peak, though a small bump remains.
  • Beyond neural nets: On MNIST with 100% random labels, single Random Forests suffer a massive log-loss spike (>20 nats) at the leaf-interpolation threshold, while a 16-chain BART ensemble stays flat near $\log 10$.

Limitations and Future Work

The authors are admirably transparent about the gap between clean theory and messy deep learning practice:

  • Upper bounds, not exact equalities: Separating batch regret from the MLE-vs-Bayes gap requires taking worst-case suprema over the parameter space, meaning the decomposition isn't proven to be numerically tight for deep nets, nor can Batch Regret or Prior Cost be directly measured in CNNs.
  • Imperfect sampling: The theoretical lower bound on the MLE-vs-Bayes gap assumes an ideal posterior oracle. Finite SGLD runs (8 chains) carry discretization and mixing errors, though checks with smaller step sizes and longer runs shifted ensemble loss by at most 0.019 nats.
  • Scale: Experiments focus on modest 5-layer CNNs and decision trees rather than massive modern architectures like giant ResNets or Transformers, leaving larger-scale empirical verification open for future work.

Summary updated

BibTeX
@inproceedings{cheng2026understanding,
  author = {Jiaxuan Cheng and Addison Spiegel},
  title = {{Understanding Double Descent through Universal Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=igJU8aUjWw},
}
Figure