ImageNet-OOD: Deciphering Modern Out-of-Distribution Detection Algorithms

William Yang, Byron Zhang, Olga Russakovsky

TL;DR

Modern out-of-distribution (OOD) detectors are often "distracted" by changes in image style or quality (covariate shift) rather than identifying truly new object categories (semantic shift). By introducing ImageNet-OOD, a meticulously cleaned dataset that isolates semantic shift, researchers reveal that advanced OOD algorithms offer almost no practical improvement over a simple baseline and are surprisingly biased toward low-level image features.

What Problem Does This Paper Address?

In the world of computer vision, an Out-of-Distribution (OOD) detector’s job is to say, "I haven't seen this before." Traditionally, this meant identifying semantic shift: seeing a category (like a "platypus") that wasn't in the training set (like ImageNet-1K).

Conceptual illustration of In-Distribution (ID) vs. Out-of-Distribution (OOD) data.

However, recent research has pivoted toward failure detection, where the goal is to identify any example the model might get wrong. This includes covariate shifts—images of known classes that look different due to lighting, weather, or artistic style.

The problem? In these newer "failure detection" benchmarks, complex, state-of-the-art OOD detectors often perform worse than the Maximum Softmax Probability (MSP)—a dead-simple baseline from 2017 that just looks at the model's highest confidence score.

This paper asks a fundamental question: What are these modern OOD detectors actually detecting? To answer this, the authors argue we must decouple semantic shift from covariate shift, something existing benchmarks fail to do.

Methods: Curating ImageNet-OOD

The authors’ primary contribution is a new evaluation methodology centered on a "clean" semantic shift. They developed a rigorous pipeline to curate ImageNet-OOD from the massive ImageNet-21K pool. Their cleaning process involved:

  1. Hierarchical Filtering: Removing any classes that are "ancestors" or "descendants" of ImageNet-1K classes (e.g., removing "Frozen Dessert" because "Ice Cream" is an ID class).
  2. Biological Cleanup: Removing the entire "Organism" subtree to avoid messy taxonomic overlaps.
  3. Visual Disambiguation: Spending 20+ hours manually filtering classes that humans find indistinguishable (e.g., "Violin" vs. "Viola" or "Scuba Diver" vs. "Aqualung").
  4. Sanity Checks: Evaluating OOD detectors on random, untrained models. If a detector can "identify" OOD data using a model with random weights, it isn't learning about the training distribution; it’s just reacting to low-level image statistics.
Examples of the data cleaning process for ImageNet-OOD, including hierarchical filtering, biological cleanup, and visual disambiguation.

Datasets Used for Evaluation

To properly isolate the types of distribution shifts, the researchers evaluated models across distinct datasets:

  • In-Distribution (ID): ImageNet-1K.
  • Out-of-Distribution (OOD) - Semantic Shift: The new ImageNet-OOD (31,807 images, 637 classes) and OpenImage-O.
  • OOD - Covariate Shift: ImageNet-C (corruptions like blur/noise), ImageNet-R (renditions like art/cartoons), and ImageNet-Sketch.

Key Insights and Ideas

  • The Covariate Distraction: Modern detectors (like ViM or ReAct) are significantly more sensitive to covariate shifts than semantic ones. They are more likely to flag a blurry image of a known dog as "OOD" than a clear image of a brand-new object.
  • The "Texture" Bias: Qualitative analysis shows that advanced detectors often latch onto specific spurious features. For example, the ViM algorithm tends to score texture-heavy images as OOD, while ASH-B is biased toward images containing text.
  • The Random Model Revelation: Perhaps the most striking finding is that many OOD detectors "work" on random models. They can achieve high AUROC scores on corrupted images (ImageNet-C) without the model ever seeing a single training image. This suggests these algorithms are essentially "weird image detectors" rather than true "distribution shift detectors."
  • MSP’s Resilience: The simple MSP baseline is more robust because it relies on the final classification layer, which is naturally more focused on high-level semantics than the intermediate features used by "modern" detectors.

Key Results

  • Vanishing Gains: On the clean ImageNet-OOD dataset, the best-performing modern detector improved upon the MSP baseline by only 0.7% in new-class detection.
  • Failure Detection Defeat: Under the failure detection framework, no modern method surpassed MSP on ImageNet-OOD. MSP achieved an 86.9% AUROC, while complex methods like ReAct trailed significantly at 65.7%.
  • Sensitivity Gap: Modern detectors are much better at flagging ImageNet-R (covariate shift) than ImageNet-OOD (semantic shift), even when the "visual distance" from the training set is identical.

Limitations and Future Work

The authors acknowledge that while ImageNet-OOD is "cleaner," it still shares the same underlying data collection process as the original ImageNet, which may harbor subtle, shared biases.

The paper concludes with a call to action: OOD research needs to move away from feature-based methods that are easily fooled by style and instead focus on building detectors that are invariant to covariate shift but sensitive to semantic novelty. The provided ImageNet-OOD dataset serves as the new "gold standard" for testing this specific capability.

Summary updated

BibTeX
@inproceedings{yang2024imagenet,
  author = {William Yang and Byron Zhang and Olga Russakovsky},
  title = {{ImageNet-OOD: Deciphering Modern Out-of-Distribution Detection Algorithms}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=VTYg5ykEGS},
}
Figure