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

Source: [A Systematic Comparison of Training Objectives for Out-of-Distribution Detection in Image Classification](<https://www.sota2.com/research/paper/69afa5a92d603e6de3e43d6f>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-03-13T05:00:04.336Z

Authors: Furkan Gen\\c{c}, Onat \\"Ozdemir, Emre Akba\\c{s}

Published: 2026-03-08T10:10:51.000Z

## 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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2603.07571>)

[PDF](<https://arxiv.org/pdf/2603.07571.pdf>)
