Skip to main content
QUICK REVIEW

[Paper Review] An Online Learning Approach to Interpolation and Extrapolation in Domain Generalization

Elan Rosenfeld, Pradeep Ravikumar|arXiv (Cornell University)|Feb 25, 2021
Machine Learning and AlgorithmsComputer Science34 references6 citations
TL;DR

This paper introduces an online learning framework to formally analyze interpolation and extrapolation in domain generalization, showing that extrapolation is computationally much harder than interpolation despite similar statistical complexity. It proves that Empirical Risk Minimization (ERM) and its noisy variant are minimax-optimal for both tasks, challenging the common belief that ERM fails at extrapolation.

ABSTRACT

A popular assumption for out-of-distribution generalization is that the training data comprises sub-datasets, each drawn from a distinct distribution; the goal is then to "interpolate" these distributions and "extrapolate" beyond them -- this objective is broadly known as domain generalization. A common belief is that ERM can interpolate but not extrapolate and that the latter is considerably more difficult, but these claims are vague and lack formal justification. In this work, we recast generalization over sub-groups as an online game between a player minimizing risk and an adversary presenting new test distributions. Under an existing notion of inter- and extrapolation based on reweighting of sub-group likelihoods, we rigorously demonstrate that extrapolation is computationally much harder than interpolation, though their statistical complexity is not significantly different. Furthermore, we show that ERM -- or a noisy variant -- is provably minimax-optimal for both tasks. Our framework presents a new avenue for the formal analysis of domain generalization algorithms which may be of independent interest.

Motivation & Objective

  • To formally analyze the computational and statistical complexity of interpolation and extrapolation in domain generalization.
  • To challenge the common belief that ERM fails at extrapolation by providing a rigorous theoretical justification for its optimality.
  • To propose an online learning framework as a more nuanced alternative to one-shot min-max games for evaluating OOD generalization.
  • To investigate whether likelihood reweighting is a suitable formalization for modeling extrapolation beyond training domains.
  • To explore how the geometry of environmental loss functions affects generalization performance.

Proposed method

  • Reformulates domain generalization as an online game between a learner minimizing risk and an adversary selecting test distributions.
  • Models interpolation as convex combinations of training environments and extrapolation as likelihood reweighting beyond the convex hull of training distributions.
  • Uses regret minimization in an online setting to analyze algorithmic performance, replacing worst-case one-shot min-max games.
  • Applies tools from online learning theory, including regret bounds and minimax optimality, to derive theoretical guarantees.
  • Proves that ERM and a noisy variant achieve minimax-optimality for both interpolation and extrapolation under the proposed framework.
  • Analyzes the role of loss function geometry and shows that it critically influences generalization, suggesting potential for improvement via representation learning.

Experimental results

Research questions

  • RQ1Is there a formal framework that distinguishes the computational difficulty of interpolation versus extrapolation in domain generalization?
  • RQ2Why does ERM perform well in practice despite being believed to fail at extrapolation?
  • RQ3Can online learning provide a more nuanced analysis of OOD generalization than worst-case one-shot min-max games?
  • RQ4Is likelihood reweighting a suitable formalization for modeling extrapolation beyond training domains?
  • RQ5How does the geometry of environmental loss functions affect the generalization performance of domain generalization algorithms?

Key findings

  • Extrapolation is computationally much harder than interpolation, with an exponential gap in computational complexity, even though their statistical complexities are similar.
  • Empirical Risk Minimization (ERM) and a noisy variant are provably minimax-optimal for both interpolation and extrapolation under the proposed online framework.
  • The common belief that ERM cannot extrapolate is not formally justified; ERM remains optimal even in the extrapolation regime.
  • The likelihood reweighting model of distribution shift may not be appropriate for general extrapolation, suggesting a need to reconsider current formalizations.
  • The geometry of environmental loss functions plays a critical role in generalization, indicating that representation learning could yield further improvements.
  • The proposed online game framework offers a more nuanced performance signal than worst-case evaluation, better reflecting expected real-world performance.

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.