Towards Good Practices for Efficiently Annotating Large-Scale Image Classification Datasets

Yuan-Hong Liao, Amlan Kar, Sanja Fidler

Abstract

Data is the engine of modern computer vision, which necessitates collecting large-scale datasets. This is expensive, and guaranteeing the quality of the labels is a major challenge. In this paper, we investigate efficient annotation strategies for collecting multi-class classification labels for a large collection of images. While methods that exploit learnt models for labeling exist, a surprisingly prevalent approach is to query humans for a fixed number of labels per datum and aggregate them, which is expensive. Building on prior work on online joint probabilistic modeling of human annotations and machine-generated beliefs, we propose modifications and best practices aimed at minimizing human labeling effort. Specifically, we make use of advances in self-supervised learning, view annotation as a semi-supervised learning problem, identify and mitigate pitfalls and ablate several key design choices to propose effective guidelines for labeling. Simulated experiments on a 125k image subset of the ImageNet100 show that it can be annotated to 80% top-1 accuracy with 0.35 annotations per image on average, a 2.7x and 6.7x improvement over prior work and manual annotation, respectively.

Introduction

Deep learning thrives on massive datasets like ImageNet, but creating them is a logistical and financial nightmare. The standard industry approach is "redundant manual labeling": asking multiple humans to label the same image and then aggregating their answers to filter out noise. This is incredibly inefficient because it treats every image as equally difficult and ignores the potential for machine learning models to assist in the process.

While "model-in-the-loop" systems exist, they often suffer from "negative feedback loops" and rely on unrealistic simulations that don't reflect how humans actually make mistakes. This paper aims to provide a robust, practical "cookbook" for building annotation systems that maximize accuracy while minimizing human effort.

Methodology

The proposed framework builds upon an "online labeling" setup where a model and human annotators work together. In this loop, the model predicts labels, humans verify or provide new ones, and the model periodically retrains on the newly acquired data.

Overview of the proposed efficient annotation framework integrating human and machine labelers.

Key technical contributions include:

  • Self-Supervised Pre-training: Instead of starting from scratch, the authors use self-supervised methods (like BYOL) to extract powerful features from the unlabeled collection of images before a single human is queried. This allows the model to understand image similarities early on.
  • Semi-Supervised Learning (Pseudolabeling): The annotation process is treated as a semi-supervised problem. The model generates "pseudolabels" for images that haven't been seen by humans yet, allowing it to learn from the entire dataset structure simultaneously.
  • Truth Inference (Dawid-Skene Model): The system uses the classic Dawid-Skene model to estimate the "skill" of each human worker and the "true" label of an image based on noisy, conflicting reports.
  • Structured Noise Simulation: Unlike prior work that simulated human errors as random (uniform) noise, the authors crowdsourced real error patterns to create a more realistic "structured" noise simulation.

Experimental Evaluation

The primary evaluation is performed on ImageNet100, a 125,000-image subset of ImageNet. To test robustness, the authors created several sub-tasks of varying difficulty:

  • Commodity: Coarse-grained, easy-to-distinguish objects.
  • Dog / Insect + Fungus: Fine-grained, difficult categories where even humans struggle.
  • Vertebrate / Dog + Vertebrate: Mixed difficulty levels.

Findings were further validated with a real-world experiment using 3,088 human annotations on a subset of the "Insect + Fungus" data.

Key Results and Insights

On ImageNet100, the framework reached 80% top-1 accuracy with only 0.35 annotations per image. This is a 2.7x reduction in effort compared to the previous best model-assisted method (Lean Crowdsourcing) and a 6.7x reduction compared to traditional manual annotation.

Accuracy vs. annotation effort across different task difficulties, highlighting the benefit of learning-in-the-loop and the impact of structured noise.

Several "good practices" emerged from the analysis:

  • Self-supervision is a "free" win: Using BYOL for feature extraction significantly boosted performance, especially on fine-grained datasets.
  • Uniform noise is misleading: Simulating workers with uniform noise leads to over-optimistic results. In reality, humans make systematic mistakes (e.g., confusing similar dog breeds), which can cause models to diverge if not handled carefully.
  • Prototypes over Cross-Validation: Standard cross-validation fails when labels are noisy. The authors suggest using a small set of "clean" prototype images for validation and model selection.
  • Early-Stop Criterion: Some images are so ambiguous that human agreement plateaus. Implementing an early-stop prevents wasted effort on "impossible" data points.

Conclusion

By integrating self-supervised pre-training, semi-supervised learning, and realistic noise modeling, this work establishes a new state-of-the-art for efficient large-scale dataset annotation. The results demonstrate that high-quality labels can be obtained with significantly less human intervention than previously thought possible.

Summary updated

BibTeX
@inproceedings{liao2021towards,
  author = {Yuan-Hong Liao and Amlan Kar and Sanja Fidler},
  title = {{Towards Good Practices for Efficiently Annotating Large-Scale Image Classification Datasets}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=BytlAZa4sO},
}
Figure