Spurious Correlations in High Dimensional Regression: The Roles of Regularization, Simplicity Bias and Over-Parameterization

Simone Bombari, Marco Mondelli

Abstract

Machine learning models often rely on spurious correlations—non-robust shortcuts that happen to correlate with labels in training data—leading to poor generalization in out-of-distribution (OOD) scenarios. This paper provides a rigorous statistical characterization of this phenomenon in high-dimensional regression. We demonstrate a fundamental trade-off: regularization levels that minimize in-distribution error often exacerbate reliance on spurious features. Furthermore, we show that over-parameterization acts as an implicit regularizer, embedding these biases into large-scale models even in the absence of explicit weight decay.

Introduction

A classic failure mode in machine learning is "shortcut learning," where a model identifies predictive but non-robust features. For instance, a model might classify an image as a "cow" based on the presence of green grass rather than the animal's features. While these correlations improve performance on training data, they cause catastrophic failures when the environment changes (e.g., a cow on a beach).

Despite empirical documentation, a precise mathematical understanding of why high-dimensional models favor these shortcuts has been lacking. This research addresses this gap by analyzing how regularization, feature simplicity, and model capacity interact to drive spurious correlation in regression tasks.

Theoretical Framework

The authors model input data as a composition of a "core" predictive feature ($x$) and a "spurious" feature ($y$). To measure the model's bias, they define a metric $C(\hat{\theta})$, representing the covariance between the model's output and the ground-truth label on test samples where core and spurious features are decoupled.

Key theoretical tools include:

  • Sharp Non-Asymptotic Analysis: Utilizing the Convex Gaussian Min-Max Theorem, the authors derive a deterministic approximation for the spurious correlation learned by ridge regression.
  • Schur Complement Interpretation: This approach links model bias directly to the statistical dependence between $x$ and $y$ within the data covariance matrix.
  • Random Features (RF) Equivalence: The study extends to non-linear models by proving that wide Random Features models are asymptotically equivalent to regularized linear regression with an "effective" regularization parameter.

Experimental Setup

The theoretical findings are validated across synthetic and real-world datasets designed to isolate spurious dependencies.

Examples of datasets used to study spurious correlations, including CIFAR-10 (boat/truck) and Color-MNIST.
  1. Synthetic Gaussian Data: Provides precise control over the covariance between features.
  2. Color-MNIST: A variant where digit identity (0 or 1) is spuriously linked to color (red or blue).
  3. CIFAR-10: Focuses on "boat" and "truck" classes, using background whitening to manipulate the simplicity of spurious background features.

Key Insights

The Regularization Paradox

In-distribution, spurious features are beneficial for reducing loss. The paper proves that the optimal regularization ($\lambda$) for minimizing test loss often falls within a regime where the model's reliance on spurious shortcuts is actually increasing. This suggests that standard model selection techniques may inadvertently favor biased models.

Simplicity Bias and the Spectrum

"Simplicity" is formalized through the spectrum of the spurious feature's covariance matrix. Features with a few dominant eigenvalues are "simpler" for the model to learn, leading to higher spurious correlation.

Over-parameterization as Implicit Regularization

A significant finding is that over-parameterized models ($p \gg n$) possess an inherent "effective" regularization. This explains why large neural networks learn shortcuts even without explicit weight decay, as the model's architecture itself imposes a bias toward simpler, often spurious, features.

Results: The Trade-off Curve

Numerical experiments confirm the existence of a "hump" in the spurious correlation curve. As regularization $\lambda$ increases, the model initially latches onto easy spurious features to minimize loss before $\lambda$ becomes large enough to penalize those weights.

Plots showing the trade-off between in-distribution loss and spurious correlation as a function of regularization for synthetic and Color-MNIST data.

The Random Features equivalence further shows that the effective regularization $\tilde{\lambda}$ depends on the activation function (e.g., ReLU vs. Tanh), allowing for the prediction of shortcut learning based on architectural choices.

Conclusion

This work provides a quantitative framework for understanding shortcut learning. While the current analysis focuses on regression and Random Features models, it lays the groundwork for studying deep neural networks. The ability to quantify $C$ offers a path toward designing more robust training schemes that can mitigate the impact of spurious correlations in high-stakes applications.

Summary updated

BibTeX
@inproceedings{bombari2025spurious,
  author = {Simone Bombari and Marco Mondelli},
  title = {{Spurious Correlations in High Dimensional Regression: The Roles of Regularization, Simplicity Bias and Over-Parameterization}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=CmVApdsdVx},
}
Figure