Sparse Invariant Risk Minimization
Xiao Zhou, Yong Lin, Weizhong Zhang, Tong Zhang
Abstract
Invariant Risk Minimization (IRM) is an emerging invariant feature extracting technique to help generalization with distributional shift. However, we find that there exists a basic and intractable contradiction between the model trainability and generalization ability in IRM. On one hand, recent studies on deep learning theory indicate the importance of large-sized or even overparameterized neural networks to make the model easy to train. On the other hand, unlike empirical risk minimization that can be benefited from overparameterization, our empirical and theoretical analyses show that the generalization ability of IRM is much easier to be demolished by overfitting caused by overparameterization. In this paper, we propose a simple yet effective paradigm named Sparse Invariant Risk Minimization (SparseIRM) to address this contradiction. Our key idea is to employ a global sparsity constraint as a defense to prevent spurious features from leaking in during the whole IRM process. Compared with sparisfy-after-training prototype by prior work which can discard invariant features, the global sparsity constraint limits the budget for feature selection and enforces SparseIRM to select the invariant features. We illustrate the benefit of SparseIRM through a theoretical analysis on a simple linear case. Empirically we demonstrate the power of SparseIRM through various datasets and models and surpass state-of-the-art methods with a gap up to 29%.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
38 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ZIN: When and How to Learn Invariance Without Environment Partition? cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- ZIN: When and How to Learn Invariance Without Environment Partition? cites Model Agnostic Sample Reweighting for Out-of-Distribution Learning
- ZIN: When and How to Learn Invariance Without Environment Partition? cites Environment Inference for Invariant Learning
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning cites Language Models are Few-Shot Learners
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning cites The Pitfalls of Simplicity Bias in Neural Networks
- GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed Graphs cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- ID and OOD Performance Are Sometimes Inversely Correlated on Real-world Datasets cites The Pitfalls of Simplicity Bias in Neural Networks
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Environment Inference for Invariant Learning
- Environment Inference for Invariant Learning cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
Cited by top-tier papers38
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on GraphsYongqiang Chen, Yonggang Zhang, Yatao Bian, Han Yang et al.NeurIPS 2022 · 246 citations
- ZIN: When and How to Learn Invariance Without Environment Partition?Yong Lin, Shengyu Zhu, Lu Tan, Peng CuiNeurIPS 2022 · 91 citations
- Model Agnostic Sample Reweighting for Out-of-Distribution LearningXiao Zhou, Yong Lin, Renjie Pi, Weizhong Zhang et al.ICML 2022 · 73 citations
- ID and OOD Performance Are Sometimes Inversely Correlated on Real-world DatasetsDamien Teney, Yong Lin, Seong Joon Oh, Ehsan AbbasnejadNeurIPS 2023 · 70 citations
- GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed GraphsYun Zhu, Haizhou Shi, Xiaotang Wang, Yongchao Liu et al.WWW 2025 · 54 citations
Builds on36
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
- The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain et al.NeurIPS 2020 · 503 citations
- Environment Inference for Invariant LearningElliot Creager, Jörn-Henrik Jacobsen, Richard S. ZemelICML 2021 · 454 citations
Related papers
- Bayesian Invariant Risk MinimizationYong Lin, Hanze Dong, Hao Wang, Tong ZhangCVPR 2022 · 48 citations
- On the Connection between Invariant Learning and Adversarial Training for Out-of-Distribution GeneralizationShiji Xin, Yifei Wang, Jingtong Su, Yisen WangAAAI 2023 · 14 citations
- Learning Optimal Features via Partial InvarianceMoulik Choraria, Ibtihal Ferwana, Ankur Mani, Lav R. VarshneyAAAI 2023 · 3 citations
- The Missing Invariance Principle found - the Reciprocal Twin of Invariant Risk MinimizationDongsung Huh, Avinash BaidyaNeurIPS 2022 · 11 citations
- IRM - when it works and when it doesn't: A test case of natural language inferenceYana Dranker, He He, Yonatan BelinkovNeurIPS 2021 · 22 citations
