Predicting Classification Accuracy When Adding New Unobserved Classes
Yuli Slavutsky, Yuval Benjamini
TL;DR
The paper tackles predicting the final accuracy of marginal multiclass classifiers when the deployed class set grows beyond the observed sample. It introduces the reversed ROC (rROC) framework and proves that the expected accuracy on $k$ classes satisfies $\mathbb{E}_k[\mathcal{A}] = \mathbb{E}_x[C_x^{k-1}]$, with $rROC$ relating to accuracy via $\mathbb{E}_k[\mathcal{A}] = 1 - (k-1)\int_0^1 (1-\overline{\text{rROC}}(1-u)) u^{k-2} du$, and that the rAUC equals $\mathbb{E}_2[\mathcal{A}]$. The authors then develop CleaneX, a neural-network-based estimator that learns $\hat{C}_x$ from the observed scores on $k_1$ classes and calibrates predictions with actual accuracies to predict $\mathbb{E}_k[\mathcal{A}]$ for any $k_2>k_1$. Through simulations and experiments on CIFAR-100, LFW, and brain-decoding data, CleaneX consistently achieves lower RMSE and fewer large errors than KDE and non-parametric regression, enabling reliable extrapolation to very large class sets. This provides a practical tool for early assessment and data-collection planning in large-scale multiclass systems where the full class repertoire is unknown at training time.
Abstract
Multiclass classifiers are often designed and evaluated only on a sample from the classes on which they will eventually be applied. Hence, their final accuracy remains unknown. In this work we study how a classifier's performance over the initial class sample can be used to extrapolate its expected accuracy on a larger, unobserved set of classes. For this, we define a measure of separation between correct and incorrect classes that is independent of the number of classes: the "reversed ROC" (rROC), which is obtained by replacing the roles of classes and data-points in the common ROC. We show that the classification accuracy is a function of the rROC in multiclass classifiers, for which the learned representation of data from the initial class sample remains unchanged when new classes are added. Using these results we formulate a robust neural-network-based algorithm, "CleaneX", which learns to estimate the accuracy of such classifiers on arbitrarily large sets of classes. Unlike previous methods, our method uses both the observed accuracies of the classifier and densities of classification scores, and therefore achieves remarkably better predictions than current state-of-the-art methods on both simulations and real datasets of object detection, face recognition, and brain decoding.
