[论文解读] Unsupervised Evaluation of Out-of-distribution Detection: A Data-centric Perspective
本文提出了首个无监督的分布外(OOD)检测评估框架,提出Gscore——一种基于分布内与分布外得分分布可分性的数据中心代理指标。利用三种方法(K-means、GMM、UDE),Gscore与AUROC呈现强相关性,实现无需OOD标签的性能预测,已在包含200个真实世界OOD数据集的新基准Gbench上得到验证。
Out-of-distribution (OOD) detection methods assume that they have test ground truths, i.e., whether individual test samples are in-distribution (IND) or OOD. However, in the real world, we do not always have such ground truths, and thus do not know which sample is correctly detected and cannot compute the metric like AUROC to evaluate the performance of different OOD detection methods. In this paper, we are the first to introduce the unsupervised evaluation problem in OOD detection, which aims to evaluate OOD detection methods in real-world changing environments without OOD labels. We propose three methods to compute Gscore as an unsupervised indicator of OOD detection performance. We further introduce a new benchmark Gbench, which has 200 real-world OOD datasets of various label spaces to train and evaluate our method. Through experiments, we find a strong quantitative correlation betwwen Gscore and the OOD detection performance. Extensive experiments demonstrate that our Gscore achieves state-of-the-art performance. Gscore also generalizes well with different IND/OOD datasets, OOD detection methods, backbones and dataset sizes. We further provide interesting analyses of the effects of backbones and IND/OOD datasets on OOD detection performance. The data and code will be available.
研究动机与目标
- 解决真实世界部署中缺乏OOD标签的问题,此时标准指标如AUROC无法计算。
- 克服现有OOD评估方法依赖标注测试集的局限性,这些测试集在新环境中获取成本高且不切实际。
- 开发一种代理指标,定量反映OOD检测性能,而无需真实标签。
- 建立一个基准,以在多样化数据分布和检测设置下评估和验证无监督OOD评估方法。
- 研究OOD检测性能在不同主干网络、分布内和分布外数据集之间的泛化能力。
提出的方法
- 提出Gscore作为数据驱动的代理指标,用于度量分布内与分布外得分分布之间的可分性。
- 实现三种方法——K-means聚类、高斯混合模型(GMM)和单边密度估计(UDE),从OOD置信度得分中计算Gscore。
- 训练回归模型,学习Gscore与标准OOD评估指标(如AUROC)之间的映射关系,使用标注数据进行训练。
- 利用训练好的回归模型,仅基于Gscore在新、未标注的测试集上预测OOD检测性能。
- 构建Gbench,一个包含200个真实世界OOD数据集的基准,涵盖多样化标签空间,用于方法的训练与评估。
- 使用Gbench基准评估在不同主干网络、OOD检测方法和数据集规模下的泛化性能。
实验结果
研究问题
- RQ1是否存在一种数据驱动的无监督代理指标,能够可靠地在无真实标签的情况下预测OOD检测性能?
- RQ2分布内与分布外得分之间的分布可分性与实际OOD检测性能之间的相关性如何?
- RQ3所提出的Gscore是否能在不同分布内和分布外数据集、主干网络和模型架构之间实现泛化?
- RQ4主干网络选择和数据集特征对OOD检测性能有何影响?这些影响能否被定量分析?
- RQ5在多样化数据上训练的单一回归模型,是否能泛化到预测未见过环境中的OOD性能?
主要发现
- Gscore与AUROC等标准OOD检测指标之间存在强烈的定量相关性,实现无需标签的可靠性能预测。
- 所提出的Gscore方法在多样化设置下的无监督OOD评估中达到最先进性能,涵盖不同主干网络、OOD检测方法和数据集规模。
- Gbench——这一包含200个真实世界OOD数据集的新基准——揭示了OOD检测性能在不同OOD类别间存在显著差异,且对分布内数据的变化高度敏感。
- 在分布内数据上的分类准确率与OOD检测性能呈正相关,表明模型容量和泛化能力是关键因素。
- 当分布内数据发生变化时,同一OOD数据上的OOD检测性能可能发生剧烈变化,凸显了环境特异性评估的重要性。
- 该方法在不同OOD检测技术与主干架构之间表现出良好的泛化能力,展示了在真实世界部署场景中的稳健性与实际应用价值。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。