The Impact of the Single-Label Assumption in Image Recognition Benchmarking

Esla Timothy Anzaku, Seyed Amir Mousavi, Arnout Van Messem, Wesley De NevearXiv 2024

TL;DR

Standard image recognition benchmarks like ImageNet penalize deep neural networks (DNNs) for predicting valid secondary objects due to a strict single-label assumption. By evaluating 315 models using multi-label metrics, this paper demonstrates that the infamous 11–14% accuracy drop on ImageNetV2 is largely an evaluation artifact, revealing that single-label models possess strong, latent multi-label prediction capabilities.

What Problem Does This Paper Address?

When evaluating computer vision models on datasets like ImageNet, we typically operate under a simplifying assumption: each image contains exactly one primary object category. However, real-world scenes are inherently complex and multi-label. An image might feature a dog sitting on a sofa next to a coffee cup, yet standard top-1 accuracy metrics treat any prediction other than the single designated ground-truth label as an outright error.

This mismatch creates a major confound when evaluating model generalization across different datasets. A prime example is ImageNetV2, a replication test set designed to match ImageNet's original distribution. Despite careful curation, state-of-the-art DNNs consistently suffer an unexplained 11–14% drop in top-1 accuracy on ImageNetV2. The authors of this paper investigate a critical question: Does this performance drop reflect a genuine failure in model robustness, or is it simply an artifact of a higher prevalence of multi-label images in the new test set?

Figure 1: Examples from ImageNetV2 showing the top-5 predictions of a pre-trained DNN model. The

Methods

To rigorously quantify the multi-label prediction capability (MLPC) of models trained under single-label supervision, the authors introduce two diagnostic evaluation strategies:

  1. Variable Top-$k$ Evaluation: Instead of evaluating a single top-1 prediction, the selection mechanism dynamically adjusts $k$ to equal the exact number of valid ground-truth labels present in a given image. This approach tests the premise that a robust model will naturally rank multiple correct labels near the top of its softmax outputs.
  2. Aggregate Subgroup Model Accuracy (ASMA): Multi-label datasets often suffer from a severe imbalance in label counts (e.g., far more single-label images than images with five labels). ASMA addresses this by partitioning the dataset into subgroups based on the exact number of valid labels per image, calculating the average label-wise accuracy within each subgroup, and then taking the mean across all subgroups to ensure unbiased aggregation.

Datasets

The study evaluates 315 ImageNet-trained models across three distinct test beds:

  • ImageNetV1: The standard ImageNet-1K validation set (50,000 images), utilizing the multi-label "ReaL" annotations for 46,837 images.
  • ImageNetV2: The MatchedFrequency replication test set (9,858 images), using refined multi-label annotations.
  • PatchML: A new synthetic diagnostic dataset introduced by the authors. It constructs composite images by randomly sampling object patches from ImageNet and placing them onto a black canvas in a non-overlapping grid. Because objects are combined entirely at random, PatchML eliminates natural scene context and co-occurrence biases, forcing models to rely purely on object-level recognition.

Key Insights and Ideas

  • The Generalization Gap is Largely an Illusion: The notorious performance drop on ImageNetV2 isn't driven by a failure of models to generalize to new images. Instead, it is caused by the fact that ImageNetV2 contains a substantially higher proportion of multi-label images (~48%) compared to ImageNetV1 (~16%).
  • Implicit Multi-Label Mastery: Even though the evaluated models were trained strictly with single-label cross-entropy supervision, they inherently learn to recognize and highly rank secondary valid objects within an image.
  • Top-1 Accuracy Masks Superior Architectures: Standard benchmarking ranks models purely on single-label correctness. However, when evaluated on multi-label tasks like PatchML, the rankings shift dramatically. Models trained with advanced supervision signals—such as token-level pseudo-labels (e.g., VOLO) or masked image modeling (e.g., ConvNeXtV2, BEiT v2, EVA)—exhibit vastly superior multi-label capabilities that top-1 accuracy completely hides.

Key Results

  • Closing the ImageNetV2 Gap: Under standard top-1 accuracy, the 315 models show a consistent performance drop on ImageNetV2. However, when evaluated using the multi-label ReaL accuracy metric, the gap narrows to 0%–11%. When using the stricter ASMA metric, the performance gap diminishes almost entirely to 0%–6%, with several models showing less than a 1% decrease.
  • PatchML Validation: Testing on the synthetic PatchML dataset confirmed that single-label models can successfully identify up to 9 distinct objects simultaneously on a single canvas, proving that their multi-label capabilities are robust and independent of dataset contextual priors.

Limitations and Future Work

  • Annotation Constraints: The analysis relies on existing re-annotated multi-label ground truths, which, despite being highly refined, may still miss some plausible object categories or fine-grained distinctions.
  • Diagnostic vs. Practical Application: The variable top-$k$ approach is a retrospective diagnostic framework rather than a method for converting single-label models into production-ready multi-label classifiers.
  • Synthetic Nature of PatchML: While PatchML successfully isolates object recognition from contextual bias, its black backgrounds and clean grids lack the complex spatial relationships, textures, and occlusions found in natural scenes.
  • Future Directions: The authors highlight the need to investigate whether a model's latent multi-label capability correlates with performance on downstream tasks like object detection, semantic segmentation, or out-of-distribution detection.

Summary updated

BibTeX
@misc{anzaku2024impact,
  author = {Esla Timothy Anzaku and Seyed Amir Mousavi and Arnout Van Messem and Wesley De Neve},
  title = {{The Impact of the Single-Label Assumption in Image Recognition Benchmarking}},
  year = {2024},
  eprint = {2412.18409},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18409},
}
Figure