From Invariant Representations to Invariant Data: Provable Robustness to Spurious Correlations via Noisy Counterfactual Matching
Not on the map. Why?
Abstract (arXiv)
Models that learn spurious correlations from training data often fail when deployed in new environments. While many methods aim to learn invariant representations to address this, they often underperform standard empirical risk minimization (ERM). We propose a data-centric alternative that shifts the focus from learning invariant representations to leveraging invariant data pairs -- pairs of samples that should have the same prediction. We prove that certain counterfactuals naturally satisfy this invariance property. Based on this, we introduce Noisy Counterfactual Matching (NCM), a simple constraint-based method that improves robustness by leveraging even a small number of noisy counterfactual pairs -- improving upon prior works that do not explicitly consider noise. For linear causal models, we prove that NCM's test-domain error is bounded by its in-domain error plus a term dependent on the counterfactuals' quality and diversity. Experiments on synthetic data validate our theory, and we demonstrate NCM's effectiveness on real-world datasets.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 37 of its 60 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
37 of 60 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2019Invariant Risk Minimizationcited by 1,854
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
25 more
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 379
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2021Gradient Matching for Domain Generalizationcited by 258
- 2020Domain Generalization using Causal Matchingcited by 225
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 216
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2017Domain Generalization by Marginal Transfer Learningcited by 180
- 2017Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributionscited by 126
- 2020Spectral Methods for Data Science: A Statistical Perspectivecited by 112
- 2019Generalizing to unseen domains via distribution matchingcited by 110
- 2023Nonparametric Identifiability of Causal Representations from Unknown Interventionscited by 106
- 2023Identifiability Guarantees for Causal Disentanglement from Soft Interventionscited by 84
- 2023On the Foundations of Shortcut Learningcited by 65
- 2021Domain Invariant Representation Learning with Domain Density Transformationscited by 53
- 2018Multi-component Image Translation for Deep Domain Generalizationcited by 40
- 2017ComboGAN: Unrestrained Scalability for Image Domain Translationcited by 37
- 2023Test-Time Training on Video Streamscited by 37
- 2022Identifying Weight-Variant Latent Causal Modelscited by 34
- 2023Improving Domain Generalization with Domain Relationscited by 14
- 2023Benchmarking Algorithms for Federated Domain Generalizationcited by 14
- 2023Aggregation of Disentanglement: Reconsidering Domain Variations in Domain Generalizationcited by 8
- 2023Towards Characterizing Domain Counterfactuals For Invertible Latent Causal Modelscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.