修复检测基准缺陷并训练模型主动拒识异常目标
Revisiting Out-of-Distribution Detection in Real-time Object Detection: From Benchmark Pitfalls to a New Mitigation Paradigm
- 用语义相似的合成数据微调模型,构建防御性决策边界
- 使YOLO在BDD-100K上幻觉错误降低91%
- 适用于多种检测框架,支持少样本适配
分布外(OoD)输入持续威胁深度学习模型,常导致对非目标物体产生过度自信预测。现有方法多聚焦于优化评分函数和调整测试时阈值,但提升有限。本文指出需重新审视整个开发流程。首先揭示主流评估基准的根本缺陷:高达13%的OoD测试集对象实际属于分布内类别,反之亦然,严重扭曲性能报告并导致高误报率。其次提出一种新型训练时缓解范式,不依赖外部OoD检测器,而是通过精心构建的、语义上接近分布内对象的合成OoD数据集对检测器进行微调,从而在不增加计算开销的情况下抑制分布外物体的置信度,使YOLO模型在BDD-100K上的幻觉错误减少91%。该方法可泛化至YOLO、Faster R-CNN和RT-DETR等检测范式,并支持少样本适应。代码与数据已公开。
原文摘要 · Abstract (English)
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. Code and data are available at: https://gricad-gitlab.univ-grenoble-alpes.fr/dnn-safety/m-hood.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。