Lune

ICML2022Top-tier venue

Provable Domain Generalization via Invariant-Feature Subspace Recovery

Haoxiang Wang, Haozhe Si, Bo Li, Han Zhao

Abstract

Domain generalization asks for models trained over a set of training environments to perform well in unseen test environments. Recently, a series of algorithms such as Invariant Risk Minimization (IRM) has been proposed for domain generalization. However, Rosenfeld et al. (2021) shows that in a simple linear data model, even if non-convexity issues are ignored, IRM and its extensions cannot generalize to unseen environments with less than d s 1 training environments, where d s is the dimension of the spuriousfeature subspace. In this paper, we propose to achieve domain generalization with Invariantfeature Subspace Recovery (ISR). Our first algorithm, ISR-Mean, can identify the subspace spanned by invariant features from the first-order moments of the class-conditional distributions, and achieve provable domain generalization with d s 1 training environments under the data model of Rosenfeld et al. (2021) . Our second algorithm, ISR-Cov, further reduces the required number of training environments to Op1q using the information of second-order moments. Notably, unlike IRM, our algorithms bypass non-convexity issues and enjoy global convergence guarantees. Empirically, our ISRs can obtain superior performance compared with IRM on synthetic benchmarks. In addition, on three real-world image and text datasets, we show that both ISRs can be used as simple yet effective post-processing methods to improve the worst-case accuracy of (pre-)trained models against spurious correlations and group shifts. The code is released at https: //github.com/Haoxiang-Wang/ISR .

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Out-of-Distribution Generalization via Risk Extrapolation (REx) cites In Search of Lost Domain Generalization
  • Generalization Bounds for Out-of-distribution Generalization cites In Search of Lost Domain Generalization
  • Do causal predictors generalize better to new domains? cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Do causal predictors generalize better to new domains? cites In Search of Lost Domain Generalization
  • Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution cites Learning Transferable Visual Models From Natural Language Supervision
  • Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Lost Domain Generalization Is a Natural Consequence of Lack of Training Domains cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Lost Domain Generalization Is a Natural Consequence of Lack of Training Domains cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Lost Domain Generalization Is a Natural Consequence of Lack of Training Domains cites In Search of Lost Domain Generalization
  • Human Heterogeneity Invariant Stress Sensing cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to Generalize cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to Generalize cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
  • Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to Generalize cites Learning Transferable Visual Models From Natural Language Supervision
  • Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to Generalize cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to Generalize cites In Search of Lost Domain Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Do causal predictors generalize better to new domains?Vivian Y. Nastl, Moritz HardtNeurIPS 2024 · 21 citations
  2. Generalization Bounds for Out-of-distribution GeneralizationXin Zou, Xiuwen Gong, Weiwei LiuICML 2026 · 14 citations
  3. Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to GeneralizeTianren Zhang, Chujie Zhao, Guanyu Chen, Yizhou Jiang et al.ICML 2024 · 12 citations
  4. Lost Domain Generalization Is a Natural Consequence of Lack of Training DomainsYimu Wang, Yihan Wu, Hongyang ZhangAAAI 2024 · 7 citations
  5. Human Heterogeneity Invariant Stress SensingYi Xiao, Harshit Sharma, Sawinder Kaur, Dessa Bergen-Cico et al.UbiComp 2025 · 6 citations

Builds on20

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  3. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  4. 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
  5. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma et al.ICLR 2022 · 911 citations

Related papers

  1. Iterative Feature Matching: Toward Provable Domain Generalization with Logarithmic EnvironmentsYining Chen, Elan Rosenfeld, Mark Sellke, Tengyu Ma et al.NeurIPS 2022 · 38 citations
  2. Sparse Invariant Risk MinimizationXiao Zhou, Yong Lin, Weizhong Zhang, Tong ZhangICML 2022 · 85 citations
  3. On the Connection between Invariant Learning and Adversarial Training for Out-of-Distribution GeneralizationShiji Xin, Yifei Wang, Jingtong Su, Yisen WangAAAI 2023 · 14 citations
  4. Learning Optimal Features via Partial InvarianceMoulik Choraria, Ibtihal Ferwana, Ankur Mani, Lav R. VarshneyAAAI 2023 · 3 citations
  5. Heterogeneous Risk MinimizationJiashuo Liu, Zheyuan Hu, Peng Cui, Bo Li et al.ICML 2021 · 170 citations
Dusk over the sea between two cliffs drawn in fine vertical lines