TL;DR
Fine-tuning multiple models from a single pre-trained checkpoint (Local Ensembles) is cost-effective but often lacks the diversity needed for high performance. This paper introduces StarSSE, a parallel exploration strategy that boosts ensemble diversity within the "pre-train basin" without drifting into overfitting, effectively narrowing the gap between cheap local ensembles and expensive global ones.
What Problem Does This Paper Address?
In modern deep learning, we rarely train from scratch. Instead, we use transfer learning: taking a massive model pre-trained on a giant dataset (like ImageNet) and fine-tuning it for a specific task. To squeeze out extra performance, researchers often use ensembles—averaging the predictions of multiple models.
There are two primary ways to build these ensembles:
- Global Deep Ensembles (Global DE): Fine-tune models from different pre-trained checkpoints. This is highly effective because the models are very diverse, but it's incredibly expensive because you have to pre-train multiple times.
- Local Deep Ensembles (Local DE): Fine-tune multiple models from the same pre-trained checkpoint. This is cheap, but because they all start from the same point, they end up in the same "basin" of the loss landscape. They lack diversity, and their ensemble quality suffers.
The core challenge is making Local Ensembles as good as Global ones. If we try to force the models to be more diverse by training them longer or with higher learning rates, they often "leave the basin," lose the benefits of the original pre-training, and start overfitting to the small target dataset.
Methods
The authors investigate cyclical learning rate methods, specifically Snapshot Ensembling (SSE). Standard SSE trains a model sequentially, taking "snapshots" of the weights at the end of each low-learning-rate cycle. However, the authors found that in transfer learning, SSE snapshots drift further and further from the pre-trained starting point, leading to a progressive degradation of model quality.
To fix this, they propose StarSSE:
- The Anchor: First, fine-tune one model normally to reach a high-quality area of the loss landscape.
- The Rays: Instead of continuing sequentially, StarSSE uses this first model as a central "hub." It launches multiple independent, parallel training runs (the "rays") starting from this hub using cyclical learning rates.
- The Benefit: This approach explores the local basin thoroughly to find diverse solutions but "resets" to the high-quality anchor, ensuring no individual model drifts too far into the weeds of overfitting.
The paper also evaluates Model Soups—averaging the weights of these models rather than just their predictions—which provides a single, robust model with no extra inference cost.
Datasets
The researchers validated their findings across a diverse set of benchmarks:
- Standard Image Classification: CIFAR-10, CIFAR-100, and SUN-397.
- Robustness/OOD: CIFAR-100C (corrupted versions of CIFAR-100 to test how models handle noise and blur).
- Large-Scale: ImageNet-1K using a CLIP ViT-B/32 backbone.
- Non-Natural Images: DomainNet-Clipart and ChestX (medical X-rays) to test transfer learning under "domain shift."
Key Insights and Ideas
- The Pre-train Basin is a Safe Haven: Models fine-tuned from the same checkpoint are "linearly connected," meaning you can walk from one to another in weight space without hitting a wall of high loss. Staying in this basin is crucial; leaving it usually results in losing the "knowledge" gained during pre-training.
- Diversity vs. Quality Trade-off: In transfer learning, the goal isn't just diversity; it's useful diversity. Standard exploration methods often trade off individual model accuracy for ensemble diversity. StarSSE manages to increase diversity while keeping individual model accuracy high.
- Parallel > Sequential: For transfer learning, sequential snapshots (SSE) are a trap. The cumulative drift causes later models to overfit. Parallel exploration (StarSSE) is the superior architecture for local exploration.
- Soups for Robustness: While ensembles (averaging predictions) are great for accuracy, Model Soups (averaging weights) are particularly powerful for out-of-distribution (OOD) robustness.
Key Results
- Closing the Gap: On the SUN-397 dataset, StarSSE achieved an accuracy of 64.20%, significantly outperforming the standard Local DE (62.23%) and nearly reaching the performance of the much more expensive Global DE (64.65%).
- Superior to SSE: Across almost all tests, StarSSE outperformed standard Snapshot Ensembles, especially as the ensemble size grew.
- CLIP Scaling: Even on large-scale CLIP models on ImageNet, StarSSE provided a noticeable boost over standard fine-tuning, proving the method scales to "production-grade" models.
- Robustness: StarSSE soups showed significantly better performance on corrupted data (CIFAR-100C) compared to standard local fine-tuning.
Limitations and Future Work
- Hyperparameter Sensitivity: The success of StarSSE depends on choosing the right learning rate and cycle length. If the "rays" are too short, you get no diversity; if they are too long, you still risk leaving the basin.
- Domain Discrepancy: On "non-natural" datasets like medical X-rays, the benefits were less consistent. The authors note that when the target task is very different from the pre-training task, the "pre-train basin" might not be the best place to stay.
- Source Landscape Ignorance: Currently, the method only looks at the target task's loss. The authors suggest that future work could incorporate the "shape" of the original source task's loss landscape to better guide the exploration.
Summary updated