Mitigating Simplicity Bias in Deep Learning for Improved OOD Generalization and Robustness

Bhavya Vasudeva, Kameron Shahabi, Vatsal Sharan

Abstract: Neural networks (NNs) are known to exhibit simplicity bias where they tend to prefer learning 'simple' features over more 'complex' ones, even when the latter may be more informative. Simplicity bias can lead to the model making biased predictions which have poor out-of-distribution (OOD) generalization and subgroup robustness. To address this, we propose a hypothesis about spurious features that directly connects to simplicity bias: we hypothesize that spurious features on many datasets are simple features that are still predictive of the label. We empirically validate this hypothesis, and subsequently develop a framework which leverages this hypothesis to learn more robust models. In our proposed framework, we first train a simple model, and then regularize the conditional mutual information with respect to it to obtain the final model. We theoretically study the effect of this regularization and show that it provably reduces reliance on spurious features in certain settings. We also empirically demonstrate the effectiveness of this framework in various problem settings and real-world applications, showing that it effectively addresses simplicity bias and leads to more features being used, enhances OOD generalization, and improves subgroup robustness and fairness.

Introduction

Deep learning models are notoriously "lazy," often relying on simple but unreliable shortcuts—such as image backgrounds or color cues—rather than complex, robust features like object shapes. This phenomenon, known as simplicity bias (SB), occurs when neural networks prefer the simplest features available to minimize loss. While this helps with basic generalization, it becomes a significant liability when the "simple" feature is a spurious correlation: a pattern that exists in the training data but fails to hold in the real world.

For example, in the "Waterbirds" dataset, most waterbirds are pictured against water. A model suffering from simplicity bias might learn that "blue background = waterbird." This heuristic works during training but fails when the model encounters a waterbird on land. Existing solutions often require manual "group labels" (e.g., explicitly labeling "bird on land" vs. "bird on water") to guide the model. This research introduces Conditional Mutual Information Debiasing (CMID), a framework that mitigates this bias automatically by leveraging the hypothesis that spurious features are mathematically simpler than invariant features.

Methodology: Conditional Mutual Information Debiasing (CMID)

The authors propose a two-stage framework designed to identify and then bypass simple shortcuts without requiring manual group annotations:

  1. Stage 1: Train a "Simple" Model ($M_s^*$): A model with intentionally low capacity (such as a linear model or a shallow CNN) is trained on the data. Due to simplicity bias, this model will almost exclusively latch onto the easiest, most predictive shortcuts available.
  2. Stage 2: Train the "Complex" Model ($M$) with CMI Regularization: The main, high-capacity model (e.g., a ResNet) is trained with a unique penalty term: Conditional Mutual Information (CMI).
Overview of the CMID framework compared to standard ERM, illustrating how CMID avoids reliance on simple spurious features.

The objective function for CMID is defined as: $$\min_{M \in \mathcal{M}} \hat{L}(M) + \lambda I(M, M_s^* | Y)$$

By conditioning on the true label ($Y$), the framework ensures that while both models aim to predict the label correctly, the complex model must reach its conclusion using information that is independent of the shortcuts used by the simple model. To facilitate training via gradient descent, the authors developed a differentiable estimator for CMI.

Experimental Setup and Datasets

The CMID framework was validated across 10 diverse benchmarks spanning vision, natural language processing (NLP), and tabular data:

  • Vision: Waterbirds, CelebA (faces), Colored-MNIST, Camelyon17-WILDS (medical imaging), and ImageNet-9 (texture vs. shape).
  • NLP: MultiNLI (language inference) and CivilComments-WILDS (toxicity detection).
  • Tabular/Fairness: Adult-Confounded (income prediction) and Bios (occupation prediction).
  • Synthetic: "Slab" datasets designed to isolate simplicity bias effects.

Key Insights and Results

The Simplicity Hypothesis

The core contribution is the empirical validation that "spurious" features are mathematically simpler to learn than "invariant" features. Shallow models were shown to predict backgrounds or colors much more accurately than they could predict bird species or digit identities, confirming that simplicity bias is a primary driver of spurious reliance.

Performance Gains

CMID consistently outperformed standard Empirical Risk Minimization (ERM) and rivaled state-of-the-art methods that require expensive manual group labels:

  • Subgroup Robustness: On the Waterbirds dataset, CMID achieved a "worst-group" accuracy (e.g., waterbirds on land) of 84.3%, compared to ERM’s 72.6%.
  • OOD Generalization: On Colored-MNIST, where test set color-label correlations differ from training, CMID improved accuracy from 16.4% to 68.9%.
  • Fairness: In the Bios dataset, CMID reduced "Social Norm Bias" (associating occupations with gender) while maintaining higher overall accuracy than previous decoupling methods.
Test accuracy of CMID across various simple model architectures on the Waterbirds dataset, showing consistent improvement over ERM.

Limitations and Future Work

The primary limitation of CMID is the Complexity Assumption. If a spurious feature is as complex as the target feature—as observed in the CelebA dataset where gender and hair color have similar complexity—CMID cannot effectively distinguish between them. Additionally, selecting the optimal "simple" model architecture currently requires domain knowledge.

Future research may explore applying CMID to fine-tuning large pre-trained models (LLMs), where simplicity bias often leads models to rely on prompt formatting cues rather than logical reasoning.

Summary updated

BibTeX
@article{vasudeva2024mitigating,
  author = {Bhavya Vasudeva and Kameron Shahabi and Vatsal Sharan},
  title = {{Mitigating Simplicity Bias in Deep Learning for Improved OOD Generalization and Robustness}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=XccFHGakyU},
}
Figure