Revisiting Out-of-Distribution Detection in Real-time Object Detection: From Benchmark Pitfalls to a New Mitigation Paradigm
Journal article, 2026

Out-of-distribution (OoD) inputs pose a persistent challenge to deep learning models, often triggering overconfident predictions on non-target objects. While prior work has primarily focused on refining scoring functions and adjusting test-time thresholds, such algorithmic improvements offer only incremental gains. We argue that a rethinking of the entire development lifecycle is needed to mitigate these risks effectively. This work addresses two overlooked dimensions of OoD detection in object detection. First, we reveal fundamental flaws in widely used evaluation benchmarks: contrary to their design intent, up to 13% of objects in the OoD test sets actually belong to in-distribution classes, and vice versa. These quality issues severely distort the reported performance of existing methods and contribute to their high false positive rates. Second, we introduce a novel training-time mitigation paradigm that operates independently of external OoD detectors. Instead of relying solely on post-hoc scoring, we fine-tune the detector using a carefully synthesized OoD dataset that semantically resembles in-distribution objects. This process shapes a defensive decision boundary by suppressing objectness on OoD objects, leading to a 91% reduction in hallucination error of a YOLO model on BDD-100K. Our methodology generalizes across detection paradigms such as YOLO, Faster R-CNN, and RT-DETR, and supports few-shot adaptation. Together, these contributions offer a principled and effective way to reduce OoD-induced hallucination in object detectors.

Object detection

New mitigation strategy

Out-of-distribution detection

RT-DETR

YOLOs

Benchmark calibration

Ojectnessguided fine-tuning

Faster-RCNN

Author

Changshun Wu

Grenoble Alpes University

Weicheng He

Grenoble Alpes University

Chih-Hong Cheng

University of Gothenburg

The Carl von Ossietzky University of Oldenburg

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Xiaowei Huang

University of Liverpool

Saddek Bensalem

CSX-AI

IEEE Transactions on Pattern Analysis and Machine Intelligence

0162-8828 (ISSN) 19393539 (eISSN)

Vol. In Press

Subject Categories (SSIF 2025)

Other Engineering and Technologies

Computer graphics and computer vision

Computer Sciences

DOI

10.1109/TPAMI.2025.3650695

More information

Latest update

1/23/2026