Skip to main content
QUICK REVIEW

[Paper Review] Distribution Shift Is Key to Learning Invariant Prediction

Hong Zheng, Fei Teng|arXiv (Cornell University)|Jan 18, 2026
Imbalanced Data Classification TechniquesComputer Science0 citations
TL;DR

The paper argues that distribution shift across training domains can enhance learning invariant predictions and, under certain conditions, ERM can match invariant prediction methods. It provides theoretical bounds showing shift facilitates invariant learning and validates findings with synthetic and CMNIST experiments.

ABSTRACT

An interesting phenomenon arises: Empirical Risk Minimization (ERM) sometimes outperforms methods specifically designed for out-of-distribution tasks. This motivates an investigation into the reasons behind such behavior beyond algorithmic design. In this study, we find that one such reason lies in the distribution shift across training domains. A large degree of distribution shift can lead to better performance even under ERM. Specifically, we derive several theoretical and empirical findings demonstrating that distribution shift plays a crucial role in model learning and benefits learning invariant prediction. Firstly, the proposed upper bounds indicate that the degree of distribution shift directly affects the prediction ability of the learned models. If it is large, the models' ability can increase, approximating invariant prediction models that make stable predictions under arbitrary known or unseen domains; and vice versa. We also prove that, under certain data conditions, ERM solutions can achieve performance comparable to that of invariant prediction models. Secondly, the empirical validation results demonstrated that the predictions of learned models approximate those of Oracle or Optimal models, provided that the degree of distribution shift in the training data increases.

Motivation & Objective

  • Motivate why distribution shift can improve learning under ERM and invariant prediction settings.
  • Establish theoretical links between distribution shift and invariant prediction performance.
  • Show that ERM can approximate invariant predictors under causality-related data assumptions.
  • Empirically validate the role of distribution shift using synthetic data and CMNIST benchmarks.

Proposed method

  • Formulate definitions of distribution shift and invariant prediction under multi-environment data.
  • Prove propositions and theorems connecting ERM solutions to invariant prediction under Assumptions 2–5.
  • Derive upper bounds showing how KL divergence (shift) affects learnability and generalization.
  • Provide corollaries linking shift magnitude to proximity to invariant predictors.

Experimental results

Research questions

  • RQ1How does the degree of distribution shift across training domains influence the ability to learn invariant predictors?
  • RQ2Under what data conditions can ERM achieve comparable performance to invariant prediction models?
  • RQ3What theoretical guarantees exist that quantify the impact of distribution shift on learning in multi-domain settings?
  • RQ4Do empirical results in synthetic data and CMNIST support the theory that larger shift aligns learned models with invariant predictors?

Key findings

  • Large distribution shift can improve ERM performance and drive learned models toward invariant predictors.
  • If the causal mechanism is invariant across domains, ERM solutions can approximate invariant predictors under sufficient shift.
  • Theoretical bounds show how KL divergence between domain distributions governs learning and generalization across environments.
  • Empirical results show model predictions align with Oracle/Optimal models when training domains exhibit greater shift.
  • CMNIST experiments reveal a linear correlation between distribution shift and predictive performance across domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.