Skip to main content
QUICK REVIEW

[Paper Review] Probable Domain Generalization via Quantile Risk Minimization

Cian Eastwood, Alexander Robey|arXiv (Cornell University)|Jul 20, 2022
Domain Adaptation and Few-Shot LearningComputer Science17 citations
TL;DR

This paper proposes Probable Domain Generalization via Quantile Risk Minimization (QRM), a new framework that trains models to perform well with high probability across unseen domains by minimizing the α-quantile of the risk distribution over training domains. The EQRM algorithm uses kernel density estimation to extrapolate risk tails, achieving state-of-the-art performance on WILDS and DomainBed benchmarks while providing theoretical guarantees on generalization and causal invariance as α→1.

ABSTRACT

Domain generalization (DG) seeks predictors which perform well on unseen test distributions by leveraging data drawn from multiple related training distributions or domains. To achieve this, DG is commonly formulated as an average- or worst-case problem over the set of possible domains. However, predictors that perform well on average lack robustness while predictors that perform well in the worst case tend to be overly-conservative. To address this, we propose a new probabilistic framework for DG where the goal is to learn predictors that perform well with high probability. Our key idea is that distribution shifts seen during training should inform us of probable shifts at test time, which we realize by explicitly relating training and test domains as draws from the same underlying meta-distribution. To achieve probable DG, we propose a new optimization problem called Quantile Risk Minimization (QRM). By minimizing the $α$-quantile of predictor's risk distribution over domains, QRM seeks predictors that perform well with probability $α$. To solve QRM in practice, we propose the Empirical QRM (EQRM) algorithm and provide: (i) a generalization bound for EQRM; and (ii) the conditions under which EQRM recovers the causal predictor as $α o 1$. In our experiments, we introduce a more holistic quantile-focused evaluation protocol for DG and demonstrate that EQRM outperforms state-of-the-art baselines on datasets from WILDS and DomainBed.

Motivation & Objective

  • To address the limitations of average-case and worst-case domain generalization, which lack robustness or are overly conservative.
  • To develop a probabilistic framework for domain generalization that reflects real-world test-time performance with high probability.
  • To propose a new optimization objective—Quantile Risk Minimization (QRM)—that minimizes the α-quantile of predictor risk across domains.
  • To design the Empirical QRM (EQRM) algorithm that enables practical training using kernel density estimation for risk distribution extrapolation.
  • To establish theoretical guarantees, including generalization bounds and recovery of the causal predictor as α→1.

Proposed method

  • Formalizes domain generalization as a probabilistic problem where training and test domains are drawn from a shared meta-distribution.
  • Proposes Quantile Risk Minimization (QRM) to minimize the α-quantile of the risk distribution over domains, ensuring performance with probability α.
  • Develops the Empirical QRM (EQRM) algorithm that estimates the risk distribution using kernel density estimation (KDE) to extend beyond the maximum training risk.
  • Uses KDE smoothing to enable 'risk extrapolation' that supports invariant prediction and robustness to tail shifts.
  • Provides a uniform convergence generalization bound for EQRM, showing the empirical α-quantile converges to the population value with sufficient domains and samples.
  • Establishes conditions under which EQRM recovers the causal predictor as α→1, linking probabilistic generalization to causality.

Experimental results

Research questions

  • RQ1Can domain generalization be redefined as a probabilistic problem rather than an average- or worst-case optimization?
  • RQ2Can minimizing the α-quantile of risk across domains lead to better out-of-distribution generalization than existing methods?
  • RQ3Does EQRM’s risk extrapolation via KDE enable robust performance on tail domains not seen during training?
  • RQ4Under what conditions does EQRM recover the causal predictor as α→1?
  • RQ5How does the performance of EQRM compare to SOTA baselines like IRM, GroupDRO, and ERM across diverse benchmarks?

Key findings

  • EQRM outperforms state-of-the-art baselines on CMNIST, iWildCam, and OGB-MolPCBA, achieving 65.1% test accuracy on iWildCam and 27.4 mean precision on OGB-MolPCBA.
  • EQRM shows superior tail performance compared to ERM, IRM, and GroupDRO, with less degradation from in-distribution to out-of-distribution accuracy (2.38-point drop vs. 5.50-point drop for ERM).
  • The macro F1 score for EQRM on iWildCam is 48.6 at α=0.90, outperforming ERM (49.8 ID, 30.6 OOD) and other baselines in OOD generalization.
  • As α→1, EQRM recovers the causal predictor under specified conditions, linking probabilistic generalization to causality.
  • The generalization bound for EQRM shows that the empirical α-quantile risk converges to the population value with sufficient training domains and samples.
  • EQRM maintains strong performance across diverse metrics, including mean precision and macro F1, even when not explicitly optimized for them.

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.