Skip to main content
QUICK REVIEW

[Paper Review] OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalization

Nanyang Ye, Kaican Li|arXiv (Cornell University)|Jun 7, 2021
Machine Learning in HealthcareComputer Science7 citations
TL;DR

This paper introduces OoD-Bench, a framework that quantifies two distinct types of distribution shift—diversity shift and correlation shift—in out-of-distribution (OoD) generalization. By evaluating existing OoD algorithms across benchmarks dominated by each shift, the authors reveal that most methods excel only on one type of shift, exposing a key limitation in current approaches and calling for more balanced evaluation and design grounded in shift characterization.

ABSTRACT

Deep learning has achieved tremendous success with independent and identically distributed (i.i.d.) data. However, the performance of neural networks often degenerates drastically when encountering out-of-distribution (OoD) data, i.e., when training and test data are sampled from different distributions. While a plethora of algorithms have been proposed for OoD generalization, our understanding of the data used to train and evaluate these algorithms remains stagnant. In this work, we first identify and measure two distinct kinds of distribution shifts that are ubiquitous in various datasets. Next, through extensive experiments, we compare OoD generalization algorithms across two groups of benchmarks, each dominated by one of the distribution shifts, revealing their strengths on one shift as well as limitations on the other shift. Overall, we position existing datasets and algorithms from different research areas seemingly unconnected into the same coherent picture. It may serve as a foothold that can be resorted to by future OoD generalization research. Our code is available at https://github.com/ynysjtu/ood_bench.

Motivation & Objective

  • To identify and quantify two distinct types of distribution shift—diversity shift and correlation shift—commonly found in OoD datasets.
  • To evaluate the performance of existing OoD generalization algorithms across benchmarks dominated by each type of shift.
  • To explain why recent OoD algorithms often perform no better than ERM, despite claims of superiority.
  • To provide a unified framework for understanding disparate OoD research across domains like domain generalization, causal inference, and stable learning.
  • To recommend comprehensive evaluation on both shift types and improved dataset design for future OoD research.

Proposed method

  • The authors define diversity shift as the difference in support sets of latent environment distributions and correlation shift as the difference in probability density functions over the same support.
  • They propose a method to estimate the strength of each shift in any labeled dataset using latent space analysis and distributional comparisons.
  • Extensive experiments are conducted on two benchmark groups: one dominated by diversity shift (e.g., VLCS, PACS) and one by correlation shift (e.g., ImageNet-V2).
  • Algorithms are evaluated under both settings to compare their relative performance and identify strengths and weaknesses.
  • The framework integrates findings from disparate research areas—domain generalization, causal inference, and stable learning—into a coherent understanding of OoD shifts.
  • Hyperparameter search spaces are standardized across algorithms to ensure fair comparison, with default values and distributions provided in supplementary tables.

Experimental results

Research questions

  • RQ1How can distribution shifts in OoD datasets be quantitatively measured and categorized?
  • RQ2Why do many advanced OoD generalization algorithms perform similarly to ERM in practice?
  • RQ3Do existing OoD algorithms show consistent performance across different types of distribution shift?
  • RQ4How do diversity shift and correlation shift differ in their impact on model generalization?
  • RQ5What are the implications of these findings for future OoD benchmark design and algorithm development?

Key findings

  • On datasets dominated by diversity shift (e.g., VLCS, PACS), algorithms like CORAL, SagNet, and RSC outperform or match ERM, consistent with prior claims.
  • On ImageNet-V2, which exhibits a dominant correlation shift, ERM outperforms all other OoD algorithms, with performance ranking reversed compared to diversity-shift benchmarks.
  • The performance gap between ERM and advanced OoD methods is not due to algorithmic shortcomings per se, but due to mismatched shift types in evaluation benchmarks.
  • Most OoD algorithms are effective only on one type of shift, indicating a lack of robustness across both diversity and correlation shifts.
  • The study reveals that current benchmarks and algorithms are not uniformly evaluated across shift types, leading to an overestimation of algorithmic progress.
  • The authors recommend designing new benchmarks that subtly capture real-world shifts and evaluating algorithms on both diversity- and correlation-shifted datasets to ensure comprehensive assessment.

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.