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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Tu, Weijie, Deng, Weijian, Zheng, Liang, Gedeon, Tom
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910487400153088
author Tu, Weijie
Deng, Weijian
Zheng, Liang
Gedeon, Tom
author_facet Tu, Weijie
Deng, Weijian
Zheng, Liang
Gedeon, Tom
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09908
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?
Tu, Weijie
Deng, Weijian
Zheng, Liang
Gedeon, Tom
Machine Learning
Computer Vision and Pattern Recognition
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.
title What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.09908