回到基础:重新审视分布外检测基线
Back to the Basics: Revisiting Out-of-Distribution Detection Baselines
摘要:
我们研究了与任何已经训练好的分类器兼容的分布外(OOD)图像检测的简单方法,仅依赖于其预测或学习的表示。当与ResNet-50和Swin Transformer模型一起使用时,我们评估了各种方法的OOD检测性能,发现仅考虑模型预测的方法可以通过考虑学习的表示来轻松超越。基于我们的分析,我们提倡一种在其他研究中被忽视的非常简单的方法:简单地标记为OOD图像,其与K个最近邻居的平均距离很大(在分布数据上训练的图像分类器的表示空间中)。
英文摘要:
We study simple methods for out-of-distribution (OOD) image detection that are compatible with any already trained classifier, relying on only its predictions or learned representations. Evaluating the OOD detection performance of various methods when utilized with ResNet-50 and Swin Transformer models, we find methods that solely consider the model's predictions can be easily outperformed by also considering the learned representations. Based on our analysis, we advocate for a dead-simple approach that has been neglected in other studies: simply flag as OOD images whose average distance to their K nearest neighbors is large (in the representation space of an image classifier trained on the in-distribution data).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。