mlsanityData to 14 Oct 2026

What Is Missing in IRM Training and Evaluation? Challenges and Solutions

arXiv 2303.02343 ↗First posted 4 Mar 2023cs.LG cs.AIcited by 10

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  5. 2015Domain-Adversarial Training of Neural Networkscited by 3,044
  6. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  7. 2019Invariant Risk Minimizationcited by 1,854
  8. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
  9. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  10. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  11. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  12. 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,329
34 more
  1. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  2. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  3. 2020In Search of Lost Domain Generalizationcited by 1,054
  4. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  5. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
  6. 2021Domain Generalization: A Surveycited by 764
  7. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  8. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
  9. 2018Recognition in Terra Incognitacited by 658
  10. 2014Deep Domain Confusion: Maximizing for Domain Invariancecited by 600
  11. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  12. 2017Large Batch Training of Convolutional Networkscited by 535
  13. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 450
  14. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
  15. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 351
  16. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  17. 2019Causal Confusion in Imitation Learningcited by 288
  18. 2020The Risks of Invariant Risk Minimizationcited by 262
  19. 2019Episodic Training for Domain Generalizationcited by 245
  20. 2020Invariant Risk Minimization Gamescited by 188
  21. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  22. 2021Investigating Bi-Level Optimization for Learning and Vision from a Unified Perspective: A Survey and Beyondcited by 153
  23. 2020Invariant Rationalizationcited by 131
  24. 2021Does Invariant Risk Minimization Capture Invariance?cited by 116
  25. 2016On Differentiating Parameterized Argmin and Argmax Problems with Application to Bi-level Optimizationcited by 112
  26. 2022NICO++: Towards Better Benchmarking for Domain Generalizationcited by 86
  27. 2021Can Subnetwork Structure be the Key to Out-of-Distribution Generalization?cited by 75
  28. 2020Empirical or Invariant Risk Minimization? A Sample Complexity Perspectivecited by 62
  29. 2020An Empirical Study of Invariant Risk Minimizationcited by 35
  30. 2021Rethinking Domain Generalization Baselinescited by 26
  31. 2020Enforcing Predictive Invariance across Structured Biomedical Domainscited by 23
  32. 2021Learning Representations that Support Robust Transfer of Predictorscited by 17
  33. 2022Distributed Adversarial Training to Robustify Deep Neural Networks at Scalecited by 9
  34. 2022Regulatory Instruments for Fair Personalized Pricingcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 3; 2026: 1.

10 papers.