TL;DR
Deep ensembles follow predictable power laws: their performance (measured by calibrated log-likelihood) improves according to a mathematical formula as you increase either the number of models or their size. A key practical takeaway is the Memory Split Advantage: for a fixed "parameter budget," you are often better off training an ensemble of several medium-sized networks rather than one massive single network.
The Problem: How to Spend Your Parameter Budget?
While it is common knowledge in deep learning that "ensembling helps" and "bigger models are better," we lack a precise understanding of the scaling laws governing these improvements. Specifically, if you have a fixed memory or computational budget, should you spend it on one giant state-of-the-art model or an ensemble of smaller ones?
The authors tackle this by investigating the asymptotic behavior of the Calibrated Negative Log-Likelihood (CNLL). Unlike standard accuracy, CNLL is a robust metric for uncertainty estimation. The challenge lies in the fact that raw neural network outputs are often overconfident. The authors show that once you properly calibrate these models (adjusting their "temperature"), the messy performance curves smooth out into predictable power laws.
Methods and Modeling
The researchers combine theoretical derivation with extensive empirical sweeps. They prove that for a single object, the ensemble NLL follows a power law $c + bn^{-1}$ as the ensemble size $n$ goes to infinity. They then extend this reasoning to the calibrated case (CNLL).
They model the performance as $PL_m = c + bm^a$, where:
- $c$ is the theoretical limit of an "infinite" ensemble.
- $b$ is the potential gain from ensembling.
- $a$ is the speed of convergence.
The authors emphasize that calibration (temperature scaling) must be done before averaging model predictions to maintain the power-law relationship and avoid non-monotonic behavior. To analyze "Memory Splits," they look at diagonal cuts of the parameter space—keeping the total number of parameters constant while varying the ratio between the number of models ($n$) and the size of each model ($s$).
Experimental Setup
The study utilizes two standard image classification benchmarks: CIFAR-10 and CIFAR-100. While these are standard datasets, the novelty lies in the scale of the experiments. The authors trained thousands of models across a wide range of widths (from 1/64th to 8x the standard size) for both VGG16 and WideResNet architectures to map out the performance "plane."
Key Insights and Results
- Calibration is the "Great Smoother": Raw NLL often exhibits "double descent" (where performance gets worse before it gets better as models grow). However, the authors find that calibrated NLL removes these bumps, resulting in a smooth power law across the entire range of model sizes. The power law approximation is remarkably tight, with Root Mean Square Error (RMSE) in log-space typically around $10^{-2}$.
- The Memory Split Advantage (MSA): This is the paper's most actionable finding. For a fixed total number of parameters, an ensemble of medium-sized networks almost always outperforms a single large network. In their experiments on CIFAR-100 with VGG, the optimal "memory split" for a standard budget was achieved with an ensemble of roughly 10-16 models, rather than a single large one.
- Diminishing Returns for Giants: Larger networks actually gain less from ensembling than smaller ones. As models grow, the parameter $b$ (potential gain) decreases, suggesting that very large models become more similar to one another, reducing the diversity that makes ensembles powerful.
- Predicting the Future: Because the power laws are so stable, you can train just a few small ensembles (e.g., sizes $n=1$ to $n=4$) and accurately predict the performance of a massive ensemble of 64 models. When predicting the CNLL of large ensembles based on only 6 trained networks, the prediction error was 1–2 orders of magnitude smaller than the CNLL value itself.
Limitations and Future Work
- Task Diversity: The study is limited to image classification on CIFAR. It remains to be seen if these specific power law constants hold for more complex tasks like natural language processing or reinforcement learning.
- Regularization Effects: The authors note that the diminishing returns of large networks might be partly due to "under-regularization," as larger networks require more careful hyperparameter tuning which might not scale linearly.
- Diversity Metrics: While the paper notes that wider networks seem less "diverse," it doesn't deeply explore why this happens at a structural level. Future work could investigate the relationship between neural tangent kernels (NTK) and these discovered power laws.
Summary updated