Quantifying Spuriousness of Biased Datasets Using Partial Information Decomposition

Barproda Halder, Faisal Hamman, Pasan Dissanayake, Qiuyi Zhang, Ilia Sucholutsky, Sanghamitra Dutta · DOI

Abstract

Machine learning models often rely on spurious correlations—statistical associations between non-causal features and labels—leading to poor generalization on out-of-distribution data. This paper introduces the Spurious Disentangler, a framework based on Partial Information Decomposition (PID) to quantify a dataset's "spuriousness" before training. By decomposing mutual information into unique, redundant, and synergistic components, the authors propose a metric ($M_{sp}$) that predicts model failure on minority groups. Experiments across six benchmarks demonstrate that $M_{sp}$ strongly correlates with worst-group accuracy, providing a "nutrition label" for dataset bias.

The Challenge of Spurious Correlations

Machine learning models are notorious for taking "shortcuts." For instance, in a dataset designed to identify waterbirds, if most waterbirds are pictured against a lake, a model might learn to recognize "water" rather than the bird itself. This statistical association, which is not causal, is known as a spurious correlation.

Spurious correlations in the Waterbird dataset, where background features often outweigh core bird features.

Currently, these biases are typically discovered post-hoc, when a model fails on "out-of-distribution" data (e.g., a waterbird in a forest). The central question addressed here is: Can we quantify a dataset's "spuriousness" preemptively? Measuring the "poison" in the data before training allows researchers to anticipate model failure and improve dataset quality.

Quantifying Spuriousness via PID

To address this, the authors utilize Partial Information Decomposition (PID) from information theory. While standard mutual information measures the overall relationship between variables, PID dissects how that information is distributed.

Partial Information Decomposition (PID) framework for breaking down mutual information into unique, redundant, and synergistic components.

PID breaks down the total information about a target ($Y$) provided by core features ($F$) and spurious features ($B$) into four distinct parts:

  1. Unique Information in $F$ ($\text{Uni}(Y:F|B)$): Information provided exclusively by the core feature.
  2. Unique Information in $B$ ($\text{Uni}(Y:B|F)$): Information provided exclusively by the spurious feature.
  3. Redundant Information ($\text{Red}(Y:F, B)$): Information shared by both features (the "shortcut").
  4. Synergistic Information ($\text{Syn}(Y:F, B)$): Information that only emerges when both features are considered together.

The authors propose a novel Measure of Spuriousness ($M_{sp}$): $$M_{sp} = \text{Uni}(Y:B|F) - \text{Uni}(Y:F|B) - \text{Syn}(Y:F, B)$$

To apply this to high-dimensional image data, the Spurious Disentangler pipeline performs foreground/background segmentation, dimensionality reduction via self-supervised autoencoders, and discrete probability estimation.

Experimental Validation

The framework was evaluated on six diverse benchmarks, including Waterbird, CelebA (hair color vs. gender), Adult (income vs. gender), and Colored MNIST.

Key Insights

  • The "Indispensability" of Bias: High unique information in a spurious feature mathematically forces an optimal classifier to use it. This explains why models often prioritize backgrounds—they may provide a "cleaner" signal in specific datasets.
  • Redundancy as a Choice: When information is redundant, models often default to the "simpler" spurious feature (e.g., a solid color) over complex core features (e.g., bird morphology).
  • Synergy as Denoising: In some contexts, spurious features act as a denoising agent, helping the model interpret core features more effectively.
  • Preemptive Prediction: $M_{sp}$ serves as a "nutrition label." A high score warns of poor Worst-Group Accuracy (WGA), indicating the model will likely fail on rare instances like a "waterbird on land."

Results and Impact

The study found a consistent negative correlation between $M_{sp}$ and post-training generalization (WGA). As $M_{sp}$ increases, the model's ability to handle out-of-distribution scenarios decreases. Grad-CAM visualizations confirmed that models trained on high-$M_{sp}$ datasets focus on backgrounds, while low-$M_{sp}$ models focus on objects. Furthermore, the metric provides a mathematical way to track dataset balancing efforts; as datasets are cleaned, $M_{sp}$ values drop.

Limitations and Future Directions

While promising, the method currently requires a priori knowledge or segmentation of core and spurious features. Additionally, estimating PID in high dimensions is computationally intensive and sensitive to hyperparameters like clustering density. Future work aims to automate feature identification and extend the framework to Natural Language Processing (NLP), where biases are often embedded in linguistic style.

Summary updated

BibTeX
@article{halder2025quantifying,
  author = {Barproda Halder and Faisal Hamman and Pasan Dissanayake and Qiuyi Zhang and Ilia Sucholutsky and Sanghamitra Dutta},
  title = {{Quantifying Spuriousness of Biased Datasets Using Partial Information Decomposition}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=zw6UAPYmyx},
}
Figure