Abstract
Deep Neural Network (DNN) models are increasingly evaluated using new replication test datasets, which have been carefully created to be similar to older and popular benchmark datasets. However, running counter to expectations, DNN classification models show significant, consistent, and largely unexplained degradation in accuracy on these replication test datasets. While the popular evaluation approach is to assess the accuracy of a model by making use of all the datapoints available in the respective test datasets, we argue that doing so hinders us from adequately capturing the behavior of DNN models and from having realistic expectations about their accuracy. Therefore, we propose a principled evaluation protocol that is suitable for performing comparative investigations of the accuracy of a DNN model on multiple test datasets, leveraging subsets of datapoints that can be selected using different criteria, including uncertainty-related information. By making use of this new evaluation protocol, we determined the accuracy of $564$ DNN models on both (1) the CIFAR-10 and ImageNet datasets and (2) their replication datasets. Our experimental results indicate that the observed accuracy degradation between established benchmark datasets and their replications is consistently lower (that is, models do perform better on the replication test datasets) than the accuracy degradation reported in published works, with these published works relying on conventional evaluation approaches that do not utilize uncertainty-related information.
Introduction
In computer vision, "replication datasets" like ImageNetV2 or CIFAR-10.1 are designed to test model generalization by recreating the data collection process of original benchmarks. Ideally, models should perform similarly on these sets. However, researchers have consistently observed a significant "accuracy gap"—often 10-15%—despite the datasets being distributionally similar. This has led to concerns about model robustness.
This paper proposes that this gap is largely an artifact of standard evaluation protocols. Conventional methods treat all data points equally, ignoring the model's own uncertainty. By leveraging the "rich information" in softmax probabilities, the authors introduce a protocol that provides a more nuanced, "apples-to-apples" comparison across datasets.
The Principled Evaluation Protocol
The core of the proposed method is the creation of "matched subsets." Instead of evaluating a model on the entire target dataset, the protocol identifies pairs of images from the source and target datasets that share similar characteristics according to the model itself.
The matching can be performed based on:
- Label and Probability: Matching images where the model predicts the same label with nearly identical confidence (within a tolerance $\epsilon$).
- Probability Only: Matching based solely on confidence levels, regardless of the predicted label.
By calculating "Matched Accuracy" on these subsets, researchers can determine if a model's performance is consistent for a given level of certainty, effectively filtering out noise from dataset-specific "hard" or ambiguous images.
Experimental Setup
The authors conducted a large-scale study evaluating $564$ DNN models, including architectures like VGG, ResNet, DenseNet, EfficientNet, and Vision Transformers. These models were tested across several benchmark pairs:
- CIFAR-10 vs. CIFAR-10.1, CIFAR-10.2, and CINIC-10.
- ImageNetV1 vs. ImageNetV2.
Results and Analysis
The experimental results demonstrate that the alarming accuracy drops reported in previous literature are significantly mitigated when using the matched protocol.
Key findings include:
- Gap Reduction: For a ResNext101 model on ImageNet, the standard accuracy gap of 8.6% plummeted to just 3.1% under the matched protocol.
- Consistency Across Models: As shown in the CIFAR experiments, "Matched Accuracy" lines for original and replication datasets are nearly overlapping, indicating that models are far more robust than standard metrics suggest.
- Identifying Hard Samples: Images in the target dataset that could not be matched (the "Fraction Unmatched") typically had much lower accuracy (approx. 45.5%), confirming that replication sets often contain a higher proportion of inherently difficult samples.
Conclusion
This research highlights that a model's perceived failure to generalize may often be a failure of the evaluation metric. When accuracy and confidence drop in tandem, the model is behaving predictably. While softmax probabilities are a useful starting point for uncertainty, future work should explore more advanced estimation techniques like Bayesian Neural Networks. This protocol provides a more realistic framework for assessing model performance in the face of subtle dataset shifts.
Summary updated