TL;DR
Deep ensembles are the gold standard for neural network performance because they sample diverse models from different "basins" of the loss landscape. This paper challenges the necessity of this multi-basin approach, proving that with the help of distillation, a single loss basin can harbor enough functional diversity to nearly match the performance and robustness of a full deep ensemble.
What Problem Does This Paper Address?
In deep learning, we usually train multiple models from different random starting points to create an "ensemble." These models end up in different "basins"—regions of low loss separated by high-loss barriers. Conventional wisdom says this multi-modal exploration is essential for "predictive diversity," which makes ensembles more accurate and robust than single models.
However, recent theories like the Permutation Hypothesis suggest that these basins might not be as distinct as we think; if you just swap the order of neurons (permute the weights), you might find that two different basins are actually the same. This leads to a provocative question: How good can a single-basin ensemble be? If we restrict ourselves to models that are "connected" (meaning you can walk from one to another in weight space without the loss ever going up), do we lose the magic of ensembling?
Methods
The authors investigate "connected ensembles"—sets of models where every member lies in the same loss basin. They test several ways to build these:
- Stochastic Weight Ensembling (SWE): Sampling models along a single training path using a constant, low learning rate.
- Constrained Ensembles: Starting multiple training runs from the same "stability point" early in training. This ensures they stay in the same basin but allows them to diverge slightly.
- Permutation Alignment: Using algorithms to "align" the weights of a standard deep ensemble to see if they can be pulled into a single basin.
- Distilled Ensembles (The Novel Approach): This is the paper's key experiment. They take a high-performing, multi-basin deep ensemble and use it as a "teacher." They then train a new ensemble, but constrain all its members to a single basin while forcing them to mimic the diverse predictions of the multi-basin teacher via distillation.
Datasets
The researchers evaluated their methods on standard image classification benchmarks:
- CIFAR-10 & CIFAR-100: Small-scale but complex image datasets.
- Tiny ImageNet: A more challenging subset of the full ImageNet.
- CIFAR-100-C: A corrupted version of CIFAR-100 used to test out-of-distribution robustness.
They tested these across two major architectures: ResNet20 (a classic convolutional network) and Vision Transformers (ViTs).
Key Insights and Ideas
- The Connectivity-Diversity Trade-off: There is a natural tension between being "connected" and being "diverse." Simple methods to stay in one basin (like SWE) result in models that are too similar to each other, leading to a significant performance gap compared to deep ensembles.
- Basins are "Rich": The most surprising finding is that a single basin can actually hold the same functional diversity as a multi-basin ensemble. However, standard SGD is "blind" to this diversity. It tends to settle into a narrow part of the basin.
- Distillation as a Map: By using distillation from a multi-basin ensemble, the authors "re-discovered" that diversity within a single basin. This proves that the performance of deep ensembles isn't necessarily about the geometry of multiple basins, but about the knowledge they contain.
- Joint Connectivity is Hard: While you can often connect two models (pairwise), it is much harder to find a region where an entire group of models is "jointly" connected. Permutation methods often fail here, while the distillation approach succeeds.
Key Results
- Closing the Gap: On CIFAR-100 with ResNet20, a standard deep ensemble hits 78.15% accuracy. A simple single-basin ensemble only manages 74.95%. However, their distilled single-basin ensemble reaches 77.56%, nearly closing the 3% gap.
- Robustness: The distilled single-basin ensembles showed out-of-distribution robustness (on CIFAR-100-C) that was almost identical to their multi-basin counterparts.
- Connectivity vs. Accuracy: As shown in Figure 3, without distillation (red markers), higher connectivity usually means lower accuracy. Distillation (blue markers) allows models to stay highly connected without sacrificing performance.
Limitations and Future Work
The primary limitation is that the best-performing single-basin ensembles currently require a pre-trained multi-basin ensemble to act as a teacher. This makes the method a powerful "proof of existence" rather than a more efficient way to train models.
Future work should focus on finding ways to explore the "hidden" diversity of a single basin without needing a multi-basin guide. The authors also noted that the results were less consistent for Vision Transformers (ViTs) compared to ResNets, suggesting that architectural inductive biases play a role in how basins are structured.
Summary updated