Abstract
To calculate the model accuracy on a computer vision task, e.g., object recognition, we usually require a test set composing of test samples and their ground truth labels. Whilst standard usage cases satisfy this requirement, many real-world scenarios involve unlabeled test data, rendering common model evaluation methods infeasible. We investigate this important and under-explored problem, Automatic model Evaluation (AutoEval). Specifically, given a labeled training set and a classifier, we aim to estimate the classification accuracy on unlabeled test datasets. We construct a meta-dataset: a dataset comprised of datasets generated from the original images via various transformations such as rotation, background substitution, foreground scaling, etc. As the classification accuracy of the model on each sample (dataset) is known from the original dataset labels, our task can be solved via regression. Using the feature statistics to represent the distribution of a sample dataset, we can train regression models (e.g., a regression neural network) to predict model performance. Using synthetic meta-dataset and real-world datasets in training and testing, respectively, we report a reasonable and promising prediction of the model accuracy. We also provide insights into the application scope, limitation, and potential future direction of AutoEval.
Problem Statement: The Evaluation Blind Spot
In standard machine learning workflows, models are evaluated using labeled test sets. However, once deployed in the real world, models encounter data they have never seen before—often with different lighting, backgrounds, or orientations. In these scenarios, we rarely have the luxury of manual labels to verify if the model is still performing reliably.
This creates a "blind spot" during deployment. If a digit classifier trained on clean MNIST images is deployed on blurry, low-resolution street numbers (SVHN), its accuracy may plummet without any immediate way to detect the failure. The authors address this by investigating whether accuracy estimation can be treated as a regression problem: given the statistical "fingerprint" of a new dataset, can we predict how well a model will handle it?
Methodology
The proposed framework for Automatic model Evaluation (AutoEval) consists of three main stages:
- Constructing a Meta-Dataset: To train a predictor, researchers require many "datasets" with known accuracies. They generate these synthetically by taking a "seed" dataset (like MNIST or COCO) and applying various transformations, including rotation, blurring, background substitution, and scaling. Because these are synthetic, the labels remain known, allowing for the calculation of exact model accuracy on thousands of these transformed "sample sets."
- Dataset Representation: To process a dataset through a regression model, it must be converted into a vector. The authors utilize first-order (mean) and second-order (covariance) statistics of the features extracted by the classifier. They also incorporate the Fréchet Distance (FD), a metric that quantifies the distributional distance between the training data and the new test data.
- Regression Models: Two primary predictors are evaluated: a simple Linear Regression mapping FD score to accuracy, and a Neural Network (NN) Regression that uses richer mean and covariance statistics to predict a single accuracy value.
Key Insights and Empirical Findings
A core conceptual shift in this work is treating an entire dataset as a single data point. The most significant finding is the strong negative correlation (Spearman’s Rank Correlation of approximately -0.9) between the Fréchet Distance and classifier accuracy. As the distribution moves further away from the training data, accuracy drops in a highly predictable, near-linear fashion.
Furthermore, the study demonstrates that a regression model trained entirely on synthetic transformations (like simple rotations and blurs) generalizes remarkably well to real-world domain shifts, such as the difference between handwritten digits and street-view numbers.
Results
The Neural Network regression model significantly outperformed traditional confidence-based methods, which often fail when domain shifts are large.
- Digit Classification: On the digit task, the NN regression achieved a Root Mean Squared Error (RMSE) of only 1.46%, meaning it could predict accuracy on an unlabeled dataset within 1.5 percentage points of the truth.
- Natural Image Classification: The NN regression provided much tighter estimates on complex natural image datasets, achieving an RMSE of 3.04% compared to 8.62% for linear regression.
Limitations and Future Work
The authors acknowledge that AutoEval currently assumes the test data contains the same classes as the training data. If the test set contains entirely new categories (e.g., a "dog" classifier seeing a "truck"), the current statistical approach might not correctly predict the failure. Additionally, while effective for natural transformations, the system is unlikely to predict performance on adversarial attacks. Future research will focus on more complex dataset representations to further improve prediction accuracy in chaotic real-world environments.
Summary updated