mlsanityData to 14 Oct 2026

From Invariant Representations to Invariant Data: Provable Robustness to Spurious Correlations via Noisy Counterfactual Matching

arXiv 2505.24843 ↗First posted 30 May 2025cs.LGcited by 3

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2019Invariant Risk Minimizationcited by 1,854
  6. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  7. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  8. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
  9. 2020In Search of Lost Domain Generalizationcited by 1,054
  10. 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
  11. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  12. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
25 more
  1. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  2. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  3. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 379
  4. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
  5. 2020The Risks of Invariant Risk Minimizationcited by 262
  6. 2021Gradient Matching for Domain Generalizationcited by 258
  7. 2020Domain Generalization using Causal Matchingcited by 225
  8. 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 216
  9. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  10. 2017Domain Generalization by Marginal Transfer Learningcited by 180
  11. 2017Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributionscited by 126
  12. 2020Spectral Methods for Data Science: A Statistical Perspectivecited by 112
  13. 2019Generalizing to unseen domains via distribution matchingcited by 110
  14. 2023Nonparametric Identifiability of Causal Representations from Unknown Interventionscited by 106
  15. 2023Identifiability Guarantees for Causal Disentanglement from Soft Interventionscited by 84
  16. 2023On the Foundations of Shortcut Learningcited by 65
  17. 2021Domain Invariant Representation Learning with Domain Density Transformationscited by 53
  18. 2018Multi-component Image Translation for Deep Domain Generalizationcited by 40
  19. 2017ComboGAN: Unrestrained Scalability for Image Domain Translationcited by 37
  20. 2023Test-Time Training on Video Streamscited by 37
  21. 2022Identifying Weight-Variant Latent Causal Modelscited by 34
  22. 2023Improving Domain Generalization with Domain Relationscited by 14
  23. 2023Benchmarking Algorithms for Federated Domain Generalizationcited by 14
  24. 2023Aggregation of Disentanglement: Reconsidering Domain Variations in Domain Generalizationcited by 8
  25. 2023Towards Characterizing Domain Counterfactuals For Invertible Latent Causal Modelscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.