Preprint
AI Safety & Alignment

Generalized out-of-distribution detection: A survey

Jingkang Yang, Kaiyang Zhou, Yixuan Li, Ziwei Liu
January 1, 2024International Journal of Computer Vision1,472 citations

1.5k

Citations

85

Influential Citations

International Journal of Computer Vision

Venue

2024

Year

Abstract

Out-of-distribution (OOD) detection is critical to ensuring the reliability and safety of machine learning systems. For instance, in autonomous driving, we would like the driving system to …

Analysis

Why This Paper Matters

Out-of-distribution (OOD) detection is a cornerstone of reliable AI deployment, especially in safety-critical domains like autonomous driving and medical diagnosis. This survey, authored by leading researchers, addresses the fragmentation in the field by proposing a generalized framework that unifies OOD detection, OOD localization, and OOD synthesis. This is significant because previous works often treated these tasks in isolation, leading to duplicated efforts and missed opportunities for cross-pollination.

The paper's timing is crucial: as machine learning models are increasingly deployed in open-world settings, the ability to identify inputs that fall outside the training distribution is paramount. The survey provides a structured overview of the state of the art, making it an essential resource for both newcomers and seasoned researchers. By establishing a common taxonomy and terminology, it facilitates clearer communication and comparison across studies, accelerating progress in the field.

Technical Contributions

The survey's main technical contribution is its unified probabilistic framework, which casts OOD detection, localization, and synthesis as related problems of modeling the data distribution. Key innovations include:

  • Taxonomy of methods: The authors categorize OOD detection approaches into density-based, distance-based, and post-hoc methods, providing a clear structure for understanding their underlying principles.
  • Unified benchmark: They introduce a comprehensive benchmark suite that evaluates methods across multiple tasks (classification, segmentation, etc.) and datasets, enabling fair comparisons.
  • Cross-task insights: By analyzing OOD detection and localization together, the survey reveals shared challenges and potential solutions, such as leveraging feature-space density estimates for both tasks.
  • Future directions: The paper outlines open problems, including OOD detection in large-scale models, continual learning scenarios, and the need for more realistic evaluation protocols.

Results

As a survey, the paper does not introduce new experimental results. However, it provides a comparative analysis of representative methods on standard benchmarks, summarizing their performance in terms of metrics like AUROC and FPR@95. The authors highlight that no single method dominates across all settings, underscoring the need for task-specific adaptations. They also note the importance of considering computational cost and scalability, which are often overlooked in academic benchmarks.

Significance

The broader impact of this survey is substantial. It not only consolidates existing knowledge but also sets a research agenda for the community. By promoting a unified view, it encourages the development of more generalizable OOD detection techniques that can be applied across different modalities and tasks. This is particularly relevant for AI safety, as robust OOD detection is a key component of trustworthy AI systems. The survey's emphasis on open challenges will likely inspire new research directions, such as OOD detection for foundation models and continual learning, which are critical for real-world deployment. Overall, this paper is a landmark reference that will shape the field for years to come.