TL;DR
Standard machine learning optimization is often too efficient: it aggressively prunes "redundant" features that don't help the current task but might be vital for future ones. By simply concatenating representations from multiple training runs (using different random seeds), researchers can create a "richer" feature set that significantly outperforms larger, single-run models on out-of-distribution tasks and transfer learning.
What Problem Does This Paper Address?
In deep learning, we usually train a model to minimize error on a specific dataset. This process is incredibly effective at finding "shortcuts"—the most direct features needed to solve that specific task. However, this efficiency comes at a cost: feature collapse.
Optimization processes have no incentive to keep features that don't incrementally improve current training performance. If two features provide similar information, the model might prune one. If a feature is useful for a different but related task (like identifying a bird species) but doesn't help with the current task (like identifying "animal vs. object"), it gets discarded.
This creates a "generalization dilemma." A representation that is perfectly lean for Task A is often impoverished and brittle when faced with Task B or a shift in the data distribution (OOD). The authors investigate whether a single optimization episode is fundamentally incapable of capturing the "richness" required for robust, multi-distribution intelligence.
Methods
The authors propose a surprisingly simple—and seemingly naive—technique to combat feature collapse:
- CATn (Concatenation): Instead of training one giant model, they train $n$ identical, smaller models (e.g., ResNet50s) using the same data and hyperparameters, varying only the random seed. They then concatenate the features from the penultimate layers of all $n$ models.
- DISTILLn: To avoid the memory overhead of $n$ models during inference, they distill the "rich" concatenated representation back into a single model of standard size.
- Two-Stage Fine-Tuning: They show that standard fine-tuning often destroys the diversity of an ensemble. They propose fine-tuning each "leg" of the ensemble separately on the target task before concatenating them for a final classification layer.
The core idea is that while each individual run achieves similar accuracy, they each "discover" slightly different sets of features. By keeping them all, we retain a "palette" of features that is much more likely to contain something useful when the environment changes.
Datasets
The study is exhaustive, covering several major benchmarks:
- Supervised Transfer: Pre-training on ImageNet and transferring to iNaturalist18, CIFAR-10, and CIFAR-100.
- Self-Supervised Transfer: Using SwAV (on ImageNet) and SEER (on 1 billion Instagram images) to learn representations without labels.
- Few-Shot Learning: Evaluating on MiniImageNet and CUB (birds) where only 1 or 5 examples per class are available.
- OOD Generalization: Using Camelyon17, a medical imaging dataset where models must generalize across different hospitals/equipment.
Key Insights and Ideas
- The "Greedy" Nature of Optimization: The paper provides a theoretical framework showing that in-distribution, all "optimal" representations are equivalent. However, out-of-distribution, they are not. Optimization is a "feature killer"—it stops looking for new information once the current error is low.
- The Weight Decay Paradox: Standard regularization like L2 weight decay helps a model perform better on its current task but actually hurts transfer learning. It acts as an extra pruning force, stripping away the "extra" features that would have been useful for the next task.
- Diversity through Randomness: You don't need complex "diversity loss" functions. Simply changing the random seed (which affects weight initialization and data shuffling) is enough to make models learn different, complementary features.
- Redundancy is a Virtue: For a single task,
CAT10looks redundant. But for a new task, that redundancy becomes "richness." The features that were "useless" for ImageNet might be the "key" for iNaturalist.
Key Results
- Beating "Wide" Models: A
CAT4model (concatenating 4 ResNet50s) consistently outperformed a single "Wide-ResNet" with the same total number of parameters on OOD tasks. This suggests that how you get your parameters (multiple independent runs vs. one big run) matters deeply.
- Linear Probing Gains: On iNaturalist18, a
CAT10ensemble achieved 49.65% accuracy via linear probing, compared to only 37.91% for a standard ResNet50. - Medical OOD: On the Camelyon17 dataset, the
CAT20approach improved OOD test accuracy to ~76.8%, up from ~70.6% for standard training. - Few-Shot Success: In few-shot scenarios, the
DISTILL5models (distilled versions of the ensemble) outperformed much larger, state-of-the-art conditional meta-learning models, despite having fewer parameters and a simpler training pipeline.
Limitations and Future Work
- Training Cost: The primary limitation is the linear increase in training time; training 10 models takes 10x the compute of training one. While distillation helps at inference time, the "pre-training" phase remains expensive.
- Naive Diversity: The authors purposely used a "naive" ensemble to prove their point. They acknowledge that more sophisticated methods for engineering feature diversity (beyond just changing random seeds) could likely yield even better results.
- Scaling Laws: It remains to be seen how this "concatenation" strategy scales to the level of Large Language Models (LLMs), where training even a single run is a massive undertaking.
In an era where we strive for the most "efficient" models, this paper is a sobering reminder that efficiency is the enemy of flexibility. To build AI that survives the real world, we might need to embrace a little bit of "useless" redundancy.
Summary updated