Skip to content

Image Classification

Decide what category the whole image is

inImageText

What this capability means

Takes an image and outputs a category label or a probability over classes. It judges the whole image and gives no location, which is what separates it from detection and segmentation. The class set is fixed at training time, ranging from the thousand-odd general classes to narrow sets for a species or a defect type.

How it is done

Convolutional networks long dominated, and residual connections were the turning point that let them grow deep reliably. The image is resized to a fixed size, features are extracted layer by layer, and a classification head emits probabilities. Vision Transformers have since replaced convolution with patch embeddings and attention, matching it under large-scale pre-training, while self-supervised pre-training makes good results possible with little labelling.

Representative products

4

OpenAI

GPT-4o

A natively multimodal general model, with text, image and audio through one door

4Caps
Model Closed
TextImageAudioTextAudio
2024

Google DeepMind

Gemini

A natively multimodal general model built for very long context

4Caps
Model Closed
TextImageAudioVideoText
2023

Alibaba (Qwen)

Qwen

An open-weight family spanning many sizes, with multimodal versions

4Caps
Model Open weights
TextImageText
2023

Tencent (Hunyuan)

Hunyuan

Tencent’s general model family, with open-weight versions

4Caps
Model Open weights
TextImageText
2023

Organizations involved

Typical uses

  • Automatic tagging of products and photos
  • Lesion screening in medical imaging
  • Defect judgement in industrial inspection
  • Content moderation and safety filtering

How it is evaluated

Top-1 / Top-5 accuracy
Share where the top or top-five guesses contain the correct class
F1 and confusion matrix
Reveals which two classes are being confused
Expected calibration error
Whether predicted confidence matches actual accuracy

Limits and hard parts

  • Long-tailed and rare classes are chronically missed for lack of examples
  • Out-of-distribution inputs and tiny adversarial perturbations swing the prediction
  • Fine-grained distinctions such as similar car models rely on texture cues and score far lower than coarse classes

Concepts behind it

Computer Vision

Image ClassificationIntermediate

Don’t tell it “cats have whiskers” — show it enough cats and it works it out

4Linked
Figures 2 · Data 1

Deep Learning

Convolutional Neural NetworksIntermediate

Replacing full connections with “look locally, reuse the same filter everywhere” — the idea that made image recognition work

5Linked
Figures 2 · Data 1

Machine Learning

Supervised LearningBeginner

Pairs of questions and answers teach a model to answer on its own

4Linked
Figures 1 · Data 1