Introduction
Shortcut learning—where machine learning models rely on easy-to-extract "cheats" rather than core features—is a pervasive issue in artificial intelligence. A classic example is a vision model classifying an image as a "cow" based entirely on the presence of green grass in the background, rather than the animal itself. While traditionally viewed as a problem with the training data, recent research demonstrates that shortcut learning is fundamentally an architectural issue.
This paper reveals that while linear models remain relatively unbiased, the introduction of nonlinearities (like ReLU) and increased network depth inherently biases deep networks toward "available" features, even when those features are less predictive than the core task features.
The Core Problem: Predictivity vs. Availability
Historically, researchers have blamed shortcut learning on predictivity: if a spurious feature (like a background) is highly correlated with the label in the training set, the model learns it. However, predictivity alone does not explain why models sometimes prefer a less reliable feature over a more reliable one.
To address this, the authors introduce the concept of availability—how easily a feature can be extracted from the input. The research investigates the tug-of-war between predictivity (statistical reliability) and availability (ease of extraction) to understand why deep learning architectures are so prone to shortcut bias.
Methodology
The researchers employed a comprehensive three-pronged approach to disentangle these variables:
- Synthetic Generative Framework: They created a controlled environment to synthesize datasets with two latent features: a "shortcut" feature ($z_s$) and a "core" feature ($z_c$). Within this framework, they systematically varied predictivity (how well each feature correlates with the class label) and availability. Availability was manipulated via amplification (scaling the feature's magnitude or redundancy) and nesting (passing the feature through nonlinear layers to make it harder to extract).
- Theoretical Analysis: Using Neural Tangent Kernels (NTK), the authors provided a mathematical account of how different architectures respond to these features, specifically comparing linear networks to those with ReLU or Tanh nonlinearities.
- Naturalistic Image Manipulations: They tested their hypotheses on real-world vision architectures (ResNet-18/50) using standard datasets (Waterbirds, CelebA, ImageNet). They manipulated image properties like object size (pixel footprint), color, and spatial frequency to see how these "availability" factors drive shortcut reliance.
Key Insights: The "Original Sin" of Nonlinearity
The study yields several critical insights into how models process features:
- Availability Can Trump Predictivity: A model will often choose a "loud" or "easy" feature over a "quiet" but more accurate one. If a shortcut feature is significantly more available, the model will rely on it even if it leads to lower overall accuracy.
- Nonlinearity is the Catalyst: One of the most striking findings is that linear models are essentially unbiased. Shortcut bias only emerges when nonlinear activation functions (ReLU, Tanh) are introduced. The authors prove theoretically that for ReLU networks, shortcut bias is an inevitable consequence of the architecture.
- Depth Amplifies the Problem: As models get deeper, their propensity to latch onto shortcuts increases.
- The "Pixel Footprint" Hypothesis: In computer vision, the number of pixels a feature occupies (its spatial extent) is a primary driver of availability. This explains why models often prefer backgrounds (which are large) over foreground objects (which are relatively small).
Empirical and Theoretical Results
In synthetic tests, linear models showed near-zero shortcut bias. In contrast, introducing just a single hidden layer with ReLU units yielded a significant bias score of ~0.53 (on a scale of -1 to 1).
Theoretically, the authors derived a "sensitivity" measure using NTK, showing that for ReLU networks, the model's reliance on a feature is disproportionately tied to its magnitude compared to a linear model.
These findings hold up in naturalistic settings. On the Waterbirds dataset, a ResNet-18 model was found to be significantly more sensitive to the background than a Bayes-optimal classifier would be, confirming that the model over-prioritizes the background beyond its statistical utility. By reducing the "availability" of backgrounds (e.g., removing patches of the background or converting it to grayscale), the researchers successfully shifted the model's reliance back toward the core object.
Limitations and Future Work
The theoretical account relies on a few simplifying assumptions, such as analyzing a 2-layer MLP architecture and using a quadratic approximation of the ReLU function. While these approximations align remarkably well with empirical results, they may not capture the full complexity of massive, multi-billion parameter models.
The authors suggest that future work should focus on the automatic discovery of shortcut features. If researchers can identify which features are "highly available" to a specific architecture before training, it may be possible to design better data augmentations or architectural constraints to prevent shortcut learning from the start, leading to more robust and reliable AI systems.
Summary updated