ImageNet

On this page 7

ImageNet is a large-scale image database organized according to the noun hierarchy of WordNet, in which each concept is illustrated by hundreds or thousands of human-verified photographs. In artificial intelligence, it is the best-known example of training data built deliberately to push a research field forward, and its annual classification challenge became the reference benchmark for computer vision during the 2010s.

The full database contains roughly 14 million images across about 21,000 categories, while the far more widely used ImageNet-1k subset contains about 1.28 million training images in 1,000 classes. When practitioners say a model was “trained on ImageNet” or “pretrained on ImageNet”, they almost always mean this 1,000-class subset, not the complete collection.

How ImageNet was built

ImageNet was assembled by querying image search engines with the synonyms of each WordNet noun concept, called a synset, and then filtering the candidate images through crowdsourced verification. Annotators on Amazon Mechanical Turk saw a set of candidate images together with the synset definition and marked which images truly contained the concept.

Each image received several independent votes, and the number of votes required depended on how difficult the category was. Easy categories such as common objects needed fewer agreeing votes, while fine-grained categories such as specific dog breeds required more confirmation. This adaptive consensus scheme kept label precision high without paying for unnecessary annotation.

The construction pipeline can be summarized as a sequence of stages, each with its own quality control step.

StageWhat happenedQuality control
Concept selectionNoun synsets chosen from WordNetAbstract or unpicturable concepts dropped
Candidate collectionImage search queries in several languagesDuplicate and broken files removed
Crowd verificationWorkers confirm presence of the conceptMultiple votes per image, adaptive thresholds
Subset curation1,000 classes selected for the challengeBalanced class sizes, held-out validation set
Box annotationBounding boxes added for detection tasksSeparate drawing and checking steps
Main stages of ImageNet construction

ImageNet-1k and the ILSVRC benchmark

The ImageNet Large Scale Visual Recognition Challenge (ILSVRC) ran from 2010 to 2017 and defined the version of ImageNet that most models use. Its classification task asked systems to assign one of 1,000 labels to each image, scored by top-1 and top-5 error, where top-5 counts a prediction as correct if the true label appears among the five most likely classes.

The subset has about 1,300 training images per class, a validation set of 50,000 images (50 per class) and a test set whose labels were withheld for the competition. Images vary in resolution and are usually resized and cropped to 224 by 224 pixels for training, a convention that shaped convolutional network design for years.

The following table separates the variants that are often confused in papers and model cards.

VariantSizeTypical use
ImageNet-1kAbout 1.28 million images, 1,000 classesStandard classification benchmark and pretraining
ImageNet-21kAbout 14 million images, about 21,000 classesLarger-scale pretraining before fine-tuning
ImageNet-V2New test sets of 10,000 imagesMeasuring overfitting to the original test split
ImageNet-CCorrupted copies of validation imagesRobustness to noise, blur and weather effects
ImageNet-R and ImageNet-SketchRenditions, drawings and sketchesGeneralization under distribution shift
Common ImageNet variants

Why ImageNet changed deep learning

ImageNet mattered because it provided enough labeled examples to train deep networks without severe overfitting. In 2012, the convolutional network known as AlexNet cut the top-5 error in the challenge from roughly 26 percent to about 15 percent, using GPU training, ReLU activations and dropout. That result is widely regarded as the turning point that made deep learning mainstream in computer vision.

Over the following years, VGG, GoogLeNet and ResNet reduced the error further, and by 2015 top-5 error fell below the estimated human error of about 5 percent reported for a trained annotator. The same period established transfer learning as standard practice: a network pretrained on ImageNet-1k served as a general-purpose feature extractor for detection, segmentation and medical imaging tasks with far smaller datasets.

ImageNet is best understood alongside its neighbors in the training data landscape, because each benchmark answers a different question.

DatasetScaleMain task
ImageNet-1k1.28 million imagesSingle-label object classification
CIFAR-1060,000 tiny imagesSmall-scale classification experiments
COCOAbout 330,000 imagesDetection, segmentation and captioning
Open ImagesAbout 9 million imagesMulti-label tags, boxes and relationships
DataComp and LAION-style poolsBillions of image-text pairsContrastive vision-language pretraining
ImageNet compared with related vision datasets

Known limitations and label issues

ImageNet is not a clean ground truth. Audits of the validation set have estimated that a few percent of labels are wrong, and many images contain several valid objects while only one label is accepted. Such label noise and single-label ambiguity mean that small accuracy gains near the top of the leaderboard may reflect fitting annotation quirks rather than better vision.

The dataset also carries dataset bias. Images come mostly from web photography, with a Western and English-language skew, canonical viewpoints and centered objects. The person subtree of the full database contained offensive and non-imageable categories, which the maintainers later filtered, and in 2021 they released a version of ImageNet-1k with faces blurred for privacy.

  • Overfitting to the benchmark: years of model selection on the same validation set inflate reported accuracy, which ImageNet-V2 partly exposed.
  • Licensing constraints: images remain under their original copyrights, and access is granted for non-commercial research use.
  • Fine-grained imbalance: about 120 dog breeds dominate part of the label space, which distorts what top-1 accuracy rewards.
  • Shortcut learning: models may rely on texture or background cues instead of object shape.

Using ImageNet responsibly today

ImageNet remains useful as a controlled, well-understood benchmark and as a source of pretrained weights, but it is no longer the frontier of pretraining scale. Modern vision and multimodal models are typically pretrained on far larger image-text corpora and then evaluated on ImageNet as one of many tasks, often in a zero-shot setting.

The right way to use ImageNet depends on the goal of the project, as the following decision table shows.

GoalRecommended approachReason
Compare a new architectureTrain and report on ImageNet-1k with V2 as wellComparable results and a check on overfitting
Build a small domain classifierFine-tune an ImageNet-pretrained backboneStrong features with few labeled images
Ship a commercial productVerify the license of every weight and imageResearch-only terms may not cover deployment
Measure robustnessAdd ImageNet-C, ImageNet-R and real shifted dataClean accuracy hides failure under shift
Pretrain at frontier scaleUse larger curated image-text dataImageNet saturates for very large models
Choosing how to use ImageNet

A sound reporting practice states the exact variant, the input resolution, the preprocessing and whether any external data was used. Without these details, two ImageNet accuracy figures are rarely directly comparable.

The short version

ImageNet is a huge photo collection with names attached. Every picture shows something, and people checked that the name is right. A computer can study these pictures and learn what a cat, a car or a cup looks like.

Think of it as a giant picture book for machines. Before ImageNet, the books were too small. With millions of labeled photos, computers finally learned to recognize objects well. This dataset started the modern boom in image recognition. It is not perfect, though. Some labels are wrong, and the photos do not show the whole world equally.

Where it makes a difference

A hospital research team wants to detect a specific type of skin lesion in dermatology photos, but it has only about 2,000 labeled images. Training a convolutional network from scratch on so few examples produces a model that memorizes the training set and reaches only modest accuracy on new patients.

The team instead starts from a ResNet-50 pretrained on ImageNet-1k, replaces the final 1,000-class layer with a two-class output, and fine-tunes the network at a low learning rate. The early layers already detect edges, textures and shapes learned from 1.28 million everyday photos, so the model needs to learn only the medical details. Validation accuracy improves substantially and training takes hours instead of days.

Before deployment, the team checks the license of the pretrained weights, evaluates the model on images from a second clinic to test distribution shift, and documents that the backbone came from ImageNet so that reviewers understand its origins and biases.