Introduction
Machine learning models often struggle with Out-of-Distribution (OOD) generalization, where test data distributions differ from training data. A common explanation is the model's reliance on "spurious correlations" (e.g., background cues) rather than "invariant features" (e.g., object shape). While specialized OOD objectives like Invariant Risk Minimization (IRM) aim to address this, their real-world performance is often inconsistent. This paper investigates whether the bottleneck lies in feature selection or feature learning, revealing that standard OOD objectives are "feature-lazy"—they can re-weight existing features but struggle to discover new ones.
The Feature-Learning Bottleneck
Theoretical analysis using a two-layer CNN suggests that Empirical Risk Minimization (ERM) learns both spurious and invariant features, but it prioritizes spurious ones due to their stronger initial correlation with labels—a phenomenon termed "simplicity bias." Crucially, OOD objectives like IRMv1 act as filters rather than explorers. If ERM fails to learn an invariant feature during initial training, the OOD objective cannot utilize it to improve generalization.
Feature Augmented Training (FeAT)
To overcome this bottleneck, the authors propose Feature Augmented Training (FeAT). FeAT is an iterative algorithm designed to force the discovery of "hidden" invariant features:
- Partitioning: Data is split into a Retention set (correctly predicted samples) and an Augmentation set (incorrectly predicted samples).
- Learning: The model is tasked with learning new predictive features from the Augmentation set using Distributionally Robust Optimization (DRO).
- Regularization: A penalty prevents the model from forgetting previously learned features in the Retention set.
- Iteration: This process repeats until no new predictive features can be identified.
Empirical Evidence and Dynamics
The "lazy" nature of OOD objectives is most apparent when comparing training with and without pre-training (PT). Empirical results show that without sufficient pre-training, OOD objectives fail to capture the necessary feature dynamics to distinguish between invariant and spurious signals effectively.
Key Results
FeAT was evaluated across synthetic benchmarks like ColoredMNIST and large-scale real-world datasets in the WILDS benchmark (e.g., Camelyon17, iWildCam, FMoW).
- ColoredMNIST-025: FeAT combined with IRMv1 achieved ~70.6% accuracy, a massive improvement over ERM's ~12.4%.
- Camelyon17: On this tumor identification task, FeAT improved accuracy to ~80.4% (with GroupDRO) from ERM's ~74.3%.
- Visualizations: GradCAM analysis confirmed that FeAT-trained models successfully shift focus from background shortcuts to the actual objects of interest.
Conclusion and Limitations
FeAT demonstrates that explicitly addressing the feature-learning bottleneck is critical for OOD robustness. However, challenges remain in extending the theoretical framework to deeper architectures and complex data types like graphs. Additionally, managing model capacity when learning numerous features and ensuring the exclusion of undesirable or biased features are important avenues for future research.
Summary updated