Out-of-distribution Prediction with Invariant Risk Minimization: The Limitation and An Effective Fix
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
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
- 2019Invariant Risk Minimizationcited by 1,854
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,329
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2018Recognition in Terra Incognitacited by 658
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
- 2017Wasserstein Auto-Encoderscited by 373
- 2020Environment Inference for Invariant Learningcited by 306
- 2020Learning to Learn Single Domain Generalizationcited by 296
- 2020Invariant Risk Minimization Gamescited by 188
- 2020Invariant Rationalizationcited by 131
- 2020Invariant Causal Prediction for Block MDPscited by 105
7 more
- 2015External Validity: From Do-Calculus to Transportability Across Populationscited by 75
- 2018Stable Prediction across Unknown Environmentscited by 55
- 2020A Causal View on Robustness of Neural Networkscited by 53
- 2018Learning Invariances using the Marginal Likelihoodcited by 51
- 2020Enforcing Predictive Invariance across Structured Biomedical Domainscited by 23
- 2020Selecting Data Augmentation for Simulating Interventionscited by 5
- 2020Novel Human-Object Interaction Detection via Adversarial Domain Generalizationcited by 3
Built on by
Citing papers per year: 2021: 10; 2022: 9; 2023: 6; 2024: 1; 2025: 1.
27 papers.
Sort:
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
- 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
- 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
- 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noisecited by 22
- 2021Regularizing towards Causal Invariance: Linear Models with Proxiescited by 20
- 2022Causal Balancing for Domain Generalizationcited by 20
- 2021Optimization-based Causal Estimation from Heterogenous Environmentscited by 16
- 2021Invariant Language Modelingcited by 15
15 more
- 2022Domain Generalization -- A Causal Perspectivecited by 14
- 2023Improving Domain Generalization with Domain Relationscited by 14
- 2023Data Augmentations for Improved (Large) Language Model Generalizationcited by 14
- 2023Learning for Counterfactual Fairness from Observational Datacited by 13
- 2021Finding Valid Adjustments under Non-ignorability with Minimal DAG Knowledgecited by 10
- 2022Fairness and robustness in anti-causal predictioncited by 10
- 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detectioncited by 4
- 2022Multi-Domain Long-Tailed Learning by Augmenting Disentangled Representationscited by 3
- 2023Knowledge Guided Representation Learning and Causal Structure Learning in Soil Sciencecited by 3
- 2023Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneitycited by 3
- 2022Joint covariate-alignment and concept-alignment: a framework for domain generalizationcited by 2
- 2024Weighted Risk Invariance: Domain Generalization under Invariant Feature Shiftcited by 2
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergiescited by 2
- 2021HCDG: A Hierarchical Consistency Framework for Domain Generalization on Medical Image Segmentationcited by 1
- 2022Trade-off between reconstruction loss and feature alignment for domain generalizationcited by 1
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2024Weighted Risk Invariance: Domain Generalization under Invariant Feature Shift25 Jul 2024
- 2023Data Augmentations for Improved (Large) Language Model Generalization19 Oct 2023
- 2023Learning for Counterfactual Fairness from Observational Data17 Jul 2023
- 2023Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneity2 Jul 2023
- 2023Knowledge Guided Representation Learning and Causal Structure Learning in Soil Science15 Jun 2023
- 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detection8 Feb 2023
- 2023Improving Domain Generalization with Domain Relations6 Feb 2023
- 2022Trade-off between reconstruction loss and feature alignment for domain generalization26 Oct 2022
- 2022Multi-Domain Long-Tailed Learning by Augmenting Disentangled Representations25 Oct 2022
- 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noise20 Oct 2022
- 2022C-Mixup: Improving Generalization in Regression11 Oct 2022
15 more
- 2022Domain Generalization -- A Causal Perspective30 Sep 2022
- 2022Fairness and robustness in anti-causal prediction20 Sep 2022
- 2022Joint covariate-alignment and concept-alignment: a framework for domain generalization1 Aug 2022
- 2022Causal Balancing for Domain Generalization10 Jun 2022
- 2022Improving Out-of-Distribution Robustness via Selective Augmentation2 Jan 2022
- 2021Invariant Language Modeling16 Oct 2021
- 2021Optimization-based Causal Estimation from Heterogenous Environments24 Sep 2021
- 2021HCDG: A Hierarchical Consistency Framework for Domain Generalization on Medical Image Segmentation13 Sep 2021
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization7 Sep 2021
- 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlations29 Jun 2021
- 2021Finding Valid Adjustments under Non-ignorability with Minimal DAG Knowledge22 Jun 2021
- 2021Causally motivated Shortcut Removal Using Auxiliary Labels13 May 2021
- 2021Regularizing towards Causal Invariance: Linear Models with Proxies3 Mar 2021
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalization2 Mar 2021
- 2021On Calibration and Out-of-domain Generalization20 Feb 2021
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
- 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
- 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
- 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noisecited by 22
- 2021Regularizing towards Causal Invariance: Linear Models with Proxiescited by 20
- 2022Causal Balancing for Domain Generalizationcited by 20
- 2021Optimization-based Causal Estimation from Heterogenous Environmentscited by 16
- 2021Invariant Language Modelingcited by 15
12 most cited of 27 All 27 (JSON)
- 2025Bridging Distribution Shift and AI Safety: Conceptual and Methodological Synergies28 May 2025
- 2024Weighted Risk Invariance: Domain Generalization under Invariant Feature Shift25 Jul 2024
- 2023Data Augmentations for Improved (Large) Language Model Generalization19 Oct 2023
- 2023Learning for Counterfactual Fairness from Observational Data17 Jul 2023
- 2023Conditionally Invariant Representation Learning for Disentangling Cellular Heterogeneity2 Jul 2023
- 2023Knowledge Guided Representation Learning and Causal Structure Learning in Soil Science15 Jun 2023
- 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detection8 Feb 2023
- 2023Improving Domain Generalization with Domain Relations6 Feb 2023
- 2022Trade-off between reconstruction loss and feature alignment for domain generalization26 Oct 2022
- 2022Multi-Domain Long-Tailed Learning by Augmenting Disentangled Representations25 Oct 2022
- 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noise20 Oct 2022
- 2022C-Mixup: Improving Generalization in Regression11 Oct 2022
12 newest of 27 All 27 (JSON)