A Systematic Comparison of Training Objectives for Out-of-Distribution Detection in Image Classification

📅 2026-03-08
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study systematically investigates the impact of different training objectives on out-of-distribution (OOD) detection performance in image classification, with the aim of enhancing model robustness in safety-critical applications. Under the unified OpenOOD evaluation protocol, it presents the first comprehensive assessment of cross-entropy loss, prototype loss, triplet loss, and mean average precision loss across both near- and far-OOD detection settings on CIFAR-10/100 and ImageNet-200. The findings reveal that cross-entropy loss consistently achieves the most robust and reliable OOD detection performance while maintaining high in-distribution accuracy. Nevertheless, alternative objectives also demonstrate competitive results under specific configurations, offering empirical guidance for selecting training objectives tailored to OOD detection tasks.

Technology Category

Computer Vision: Object Detection & CategorizationMachine Learning: Multi-class/Multi-label Learning & Extreme ClassificationNatural Language Processing: Safety and Robustness

Application Category

Search and Retrieval-Augmented AI: Web evaluation methodologies and metricsGraph Algorithms and Modeling for the Web: Graph neural networks and deep learning approaches for Web-related graphsSecurity and Privacy: Large-scale security measurements
📝 Abstract
Out-of-distribution (OOD) detection is critical in safety-sensitive applications. While this challenge has been addressed from various perspectives, the influence of training objectives on OOD behavior remains comparatively underexplored. In this paper, we present a systematic comparison of four widely used training objectives: Cross-Entropy Loss, Prototype Loss, Triplet Loss, and Average Precision (AP) Loss, spanning probabilistic, prototype-based, metric-learning, and ranking-based supervision, for OOD detection in image classification under standardized OpenOOD protocols. Across CIFAR-10/100 and ImageNet-200, we find that Cross-Entropy Loss, Prototype Loss, and AP Loss achieve comparable in-distribution accuracy, while Cross-Entropy Loss provides the most consistent near- and far-OOD performance overall; the other objectives can be competitive in specific settings.
Problem

Research questions and friction points this paper is trying to address.

Out-of-distribution detection
Training objectives
Image classification
OOD performance
OpenOOD
Innovation

Methods, ideas, or system contributions that make the work stand out.

Out-of-Distribution Detection
Training Objectives
Cross-Entropy Loss
Prototype Loss
Average Precision Loss
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
F
Furkan Genç
Bilkent University
O
Onat Özdemir
Middle East Technical University
E
Emre Akbaş
Middle East Technical University