What Is Missing in IRM Training and Evaluation? Challenges and Solutions
Not on the map. Why?
Abstract (arXiv)
Invariant risk minimization (IRM) has received increasing attention as a way to acquire environment-agnostic data representations and predictions, and as a principled solution for preventing spurious correlations from being learned and for improving models' out-of-distribution generalization. Yet, recent works have found that the optimality of the originally-proposed IRM optimization (IRM) may be compromised in practice or could be impossible to achieve in some scenarios. Therefore, a series of advanced IRM algorithms have been developed that show practical improvement over IRM. In this work, we revisit these recent IRM advancements, and identify and resolve three practical limitations in IRM training and evaluation. First, we find that the effect of batch size during training has been chronically overlooked in previous studies, leaving room for further improvement. We propose small-batch training and highlight the improvements over a set of large-batch optimization techniques. Second, we find that improper selection of evaluation environments could give a false sense of invariance for IRM. To alleviate this effect, we leverage diversified test-time environments to precisely characterize the invariance of IRM when applied in practice. Third, we revisit (Ahuja et al. (2020))'s proposal to convert IRM into an ensemble game and identify a limitation when a single invariant predictor is desired instead of an ensemble of individual predictors. We propose a new IRM variant to address this limitation based on a novel viewpoint of ensemble IRM games as consensus-constrained bi-level optimization. Lastly, we conduct extensive experiments (covering 7 existing IRM variants and 7 datasets) to justify the practical significance of revisiting IRM training and evaluation in a principled manner.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 46 of its 65 references that are in the map. First posted on arXiv 4 Mar 2023.
Builds on
46 of 65 references.
References · 46
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Invariant Risk Minimizationcited by 1,854
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,329
34 more
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
- 2021Domain Generalization: A Surveycited by 764
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2018Recognition in Terra Incognitacited by 658
- 2014Deep Domain Confusion: Maximizing for Domain Invariancecited by 600
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
- 2017Large Batch Training of Convolutional Networkscited by 535
- 2019Domain Generalization by Solving Jigsaw Puzzlescited by 450
- 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 351
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2019Causal Confusion in Imitation Learningcited by 288
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2019Episodic Training for Domain Generalizationcited by 245
- 2020Invariant Risk Minimization Gamescited by 188
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2021Investigating Bi-Level Optimization for Learning and Vision from a Unified Perspective: A Survey and Beyondcited by 153
- 2020Invariant Rationalizationcited by 131
- 2021Does Invariant Risk Minimization Capture Invariance?cited by 116
- 2016On Differentiating Parameterized Argmin and Argmax Problems with Application to Bi-level Optimizationcited by 112
- 2022NICO++: Towards Better Benchmarking for Domain Generalizationcited by 86
- 2021Can Subnetwork Structure be the Key to Out-of-Distribution Generalization?cited by 75
- 2020Empirical or Invariant Risk Minimization? A Sample Complexity Perspectivecited by 62
- 2020An Empirical Study of Invariant Risk Minimizationcited by 35
- 2021Rethinking Domain Generalization Baselinescited by 26
- 2020Enforcing Predictive Invariance across Structured Biomedical Domainscited by 23
- 2021Learning Representations that Support Robust Transfer of Predictorscited by 17
- 2022Distributed Adversarial Training to Robustify Deep Neural Networks at Scalecited by 9
- 2022Regulatory Instruments for Fair Personalized Pricingcited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 3; 2026: 1.
10 papers.
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 79
- 2023An Introduction to Bi-level Optimization: Foundations and Applications in Signal Processing and Machine Learningcited by 41
- 2025Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuningcited by 21
- 2024Towards Understanding Variants of Invariant Risk Minimization through the Lens of Calibrationcited by 3
- 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selectioncited by 3
- 2024BiSSL: Enhancing the Alignment Between Self-Supervised Pretraining and Downstream Fine-Tuning via Bilevel Optimizationcited by 3
- 2023Context is Environmentcited by 1
- 2025Robust Invariant Representation Learning by Distribution Extrapolationcited by 1
- 2026From Objectives to What Models Learn: A Landau Theory of Invariant Learningcited by 0
- 2026From Objectives to What Models Learn: A Landau Theory of Invariant Learning10 Aug 2026
- 2025Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning2 Jun 2025
- 2025Robust Invariant Representation Learning by Distribution Extrapolation22 May 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2024BiSSL: Enhancing the Alignment Between Self-Supervised Pretraining and Downstream Fine-Tuning via Bilevel Optimization3 Oct 2024
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May 2024
- 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selection18 Mar 2024
- 2024Towards Understanding Variants of Invariant Risk Minimization through the Lens of Calibration31 Jan 2024
- 2023Context is Environment18 Sep 2023
- 2023An Introduction to Bi-level Optimization: Foundations and Applications in Signal Processing and Machine Learning1 Aug 2023