mlsanityData to 14 Oct 2026

Out-of-distribution Prediction with Invariant Risk Minimization: The Limitation and An Effective Fix

arXiv 2101.07732 ↗First posted 16 Jan 2021cs.LG cs.AIcited by 27

Not on the map. Why?

Abstract (arXiv)

This work considers the out-of-distribution (OOD) prediction problem where (1)~the training data are from multiple domains and (2)~the test domain is unseen in the training. DNNs fail in OOD prediction because they are prone to pick up spurious correlations. Recently, Invariant Risk Minimization (IRM) is proposed to address this issue. Its effectiveness has been demonstrated in the colored MNIST experiment. Nevertheless, we find that the performance of IRM can be dramatically degraded under strong Lambda spuriousness -- when the spurious correlation between the spurious features and the class label is strong due to the strong causal influence of their common cause, the domain label, on both of them (see Fig. 1). In this work, we try to answer the questions: why does IRM fail in the aforementioned setting? Why does IRM work for the original colored MNIST dataset? How can we fix this problem of IRM? Then, we propose a simple and effective approach to fix the problem of IRM. We combine IRM with conditional distribution matching to avoid a specific type of spurious correlation under strong Lambda spuriousness. Empirically, we design a series of semi synthetic datasets -- the colored MNIST plus, which exposes the problems of IRM and demonstrates the efficacy of the proposed method.

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 19 of its 35 references that are in the map. First posted on arXiv 16 Jan 2021.

Builds on

19 of 35 references.

References · 19

  1. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
  2. 2019Invariant Risk Minimizationcited by 1,854
  3. 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,329
  4. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  5. 2018Recognition in Terra Incognitacited by 658
  6. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  7. 2017Wasserstein Auto-Encoderscited by 373
  8. 2020Environment Inference for Invariant Learningcited by 306
  9. 2020Learning to Learn Single Domain Generalizationcited by 296
  10. 2020Invariant Risk Minimization Gamescited by 188
  11. 2020Invariant Rationalizationcited by 131
  12. 2020Invariant Causal Prediction for Block MDPscited by 105
7 more
  1. 2015External Validity: From Do-Calculus to Transportability Across Populationscited by 75
  2. 2018Stable Prediction across Unknown Environmentscited by 55
  3. 2020A Causal View on Robustness of Neural Networkscited by 53
  4. 2018Learning Invariances using the Marginal Likelihoodcited by 51
  5. 2020Enforcing Predictive Invariance across Structured Biomedical Domainscited by 23
  6. 2020Selecting Data Augmentation for Simulating Interventionscited by 5
  7. 2020Novel Human-Object Interaction Detection via Adversarial Domain Generalizationcited by 3

Built on by

Cited by year

Citing papers per year: 2021: 10; 2022: 9; 2023: 6; 2024: 1; 2025: 1.

27 papers.

Sort:

  1. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
  2. 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
  3. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  4. 2021On Calibration and Out-of-domain Generalizationcited by 134
  5. 2022C-Mixup: Improving Generalization in Regressioncited by 57
  6. 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
  7. 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
  8. 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noisecited by 22
  9. 2021Regularizing towards Causal Invariance: Linear Models with Proxiescited by 20
  10. 2022Causal Balancing for Domain Generalizationcited by 20
  11. 2021Optimization-based Causal Estimation from Heterogenous Environmentscited by 16
  12. 2021Invariant Language Modelingcited by 15
15 more
  1. 2022Domain Generalization -- A Causal Perspectivecited by 14
  2. 2023Improving Domain Generalization with Domain Relationscited by 14
  3. 2023Data Augmentations for Improved (Large) Language Model Generalizationcited by 14
  4. 2023Learning for Counterfactual Fairness from Observational Datacited by 13
  5. 2021Finding Valid Adjustments under Non-ignorability with Minimal DAG Knowledgecited by 10
  6. 2022Fairness and robustness in anti-causal predictioncited by 10
  7. 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detectioncited by 4
  8. 2022Multi-Domain Long-Tailed Learning by Augmenting Disentangled Representationscited by 3
  9. 2023Knowledge Guided Representation Learning and Causal Structure Learning in Soil Sciencecited by 3
  10. 2023Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneitycited by 3
  11. 2022Joint covariate-alignment and concept-alignment: a framework for domain generalizationcited by 2
  12. 2024Weighted Risk Invariance: Domain Generalization under Invariant Feature Shiftcited by 2
  13. 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
  14. 2021HCDG: A Hierarchical Consistency Framework for Domain Generalization on Medical Image Segmentationcited by 1
  15. 2022Trade-off between reconstruction loss and feature alignment for domain generalizationcited by 1