arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.09908cs.LGcs.CV
收藏

Softmax 概率能告诉我们关于不同测试条件下分类器排序的什么信息?

What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?

Australian National University(澳大利亚国立大学);Curtin University(科廷大学);University of Óbuda(奥布达大学)

Weijie Tu, Weijian Deng, Liang Zheng, Tom Gedeon

AI总结:

针对无标签 OOD 数据上的分类器性能排序问题,提出基于 Softmax 输出类别相关矩阵与理想参考矩阵余弦相似度的 SoftmaxCorr 指标,并在多个数据集验证其 ID/OOD 预测有效性。

摘要:

本研究旨在开发一种度量,当各种分类器在来自分布外(OOD)分布的无标签数据上接受测试时,该度量能够准确排序它们的性能。我们首先证明,传统不确定性指标,尤其是最大 Softmax 预测概率,在预测模型于某些 OOD 情境下的泛化能力方面具有内在效用。基于这一洞见,我们提出一种名为 Softmax Correlation(SoftmaxCorr)的新度量。它计算一个类别—类别相关矩阵与一个预定义参考矩阵之间的余弦相似度;前者由跨无标签测试数据集的 Softmax 输出向量构建,后者体现理想的类别相关性。预测结果与参考矩阵高度相似,表明模型在所有类别上给出自信且一致的预测,反映出最小的不确定性和混淆。通过在包括 ImageNet、CIFAR-10 和 WILDS 在内的一组数据集上进行严格评估,我们证实 SoftmaxCorr 在分布内(ID)和 OOD 设置下均能准确预测模型性能,具有预测有效性。此外,我们还讨论了所提度量的局限性,并提出未来研究方向。

英文摘要:

This work aims to develop a measure that can accurately rank the performance of various classifiers when they are tested on unlabeled data from out-of-distribution (OOD) distributions. We commence by demonstrating that conventional uncertainty metrics, notably the maximum Softmax prediction probability, possess inherent utility in forecasting model generalization across certain OOD contexts. Building on this insight, we introduce a new measure called Softmax Correlation (SoftmaxCorr). It calculates the cosine similarity between a class-class correlation matrix, constructed from Softmax output vectors across an unlabeled test dataset, and a predefined reference matrix that embodies ideal class correlations. A high resemblance of predictions to the reference matrix signals that the model delivers confident and uniform predictions across all categories, reflecting minimal uncertainty and confusion. Through rigorous evaluation across a suite of datasets, including ImageNet, CIFAR-10, and WILDS, we affirm the predictive validity of SoftmaxCorr in accurately forecasting model performance within both in-distribution (ID) and OOD settings. Furthermore, we discuss the limitations of our proposed measure and suggest avenues for future research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑