←Primers
    Primer · 3 min

    Image classification: teaching computers to label pictures

    Image classification is the computer vision task of assigning a whole image to one of a fixed set of categories, usually using a model trained on labelled examples.

    Updated 23 November 2026 · numbered links go to the papers behind each claim

    What it is

    Image classification is the task of assigning a label to a whole image from a fixed set of categories, such as deciding whether a photograph shows a cat, a dog or neither. It is one of the basic problems of computer vision, the field concerned with getting computers to interpret visual information.

    Most modern systems learn the task from examples rather than following hand-written rules. A model is shown many images that people have already labelled. It adjusts its internal parameters to reduce its mistakes and is then judged on a separate set of images it has never seen. For years the dominant design has been the convolutional neural network. It slides small filters across an image to pick up edges and textures, then combines them into increasingly abstract patterns. Newer designs, called vision transformers, split an image into patches and learn how those patches relate to one another.

    Classification differs from related tasks. Object detection locates individual items within an image, and segmentation labels each pixel or region. A recurring difficulty is overfitting, where a model fits its training images so closely that it performs poorly on new ones.

    What research is finding

    A review of convolutional neural networks traces their history and introduces classic and more advanced architectures. Drawing on its own experimental analysis, it also offers rules of thumb for choosing functions and hyperparameters[5]. A separate survey of data augmentation starts from the observation that deep convolutional networks rely heavily on large datasets to avoid overfitting. Fields such as medical image analysis often lack such data. The survey catalogues ways of enlarging and improving training sets, from geometric transformations and colour changes to synthetic images made with generative adversarial networks[1].

    Applied studies show what the approach can do under favourable conditions. One research article trained a convolutional network on a public dataset of 54,306 images of diseased and healthy plant leaves, collected under controlled conditions, to identify 14 crop species and 26 diseases. It reported 99.35% accuracy on a held-out test set, which the authors present as demonstrating the feasibility of the approach and a path toward smartphone-assisted diagnosis[4]. Another research article explored a different route: self-supervised pretraining, in which a model learns from images without human labels. The authors trained a vision transformer with one billion parameters on a curated, diverse image collection, then distilled it into smaller models. They report that these smaller models surpassed the best available all-purpose visual features on most of the benchmarks they tested, at both image and pixel levels[2].

    The same ideas reach beyond photographs. A research article on brain–computer interfaces designed a compact convolutional network to classify electrical brain signals recorded by electroencephalography. Across four experimental paradigms, it generalised better than reference methods and performed comparably to them when training data were limited[6]. Supporting techniques matter too. One study compared five methods for grouping pixels into larger regions called superpixels and introduced a new method. The authors report that it follows image boundaries as well as or better than earlier methods while being faster and more memory-efficient[3].

    Open questions

    A central uncertainty is how well results on curated datasets carry over to everyday use. Images taken under controlled conditions can differ from those captured in the field, with varied lighting, backgrounds and cameras. High accuracy on a test set drawn from the same collection does not by itself show how a system will cope elsewhere. Benchmarks are useful for comparison, but they remain proxies for real-world performance.

    The question of data is also unsettled. Augmentation offers many techniques, but which ones help, and by how much, appears to depend on the domain and the dataset. Self-supervised pretraining at large scale points towards all-purpose visual features. It is less clear how far such features remove the need for task-specific training in specialised areas, and the computing resources needed to build them are considerable.

    Finally, understanding why a classifier reaches a decision remains difficult. Some researchers visualise what a trained network has learned, but interpreting these systems is still an active area of research. So are ways of detecting when a model is relying on misleading cues in its training data.

    Papers

    1. A survey on Image Data Augmentation for Deep Learning. Journal Of Big Data, 2019. doi:10.1186/s40537-019-0197-0
    2. DINOv2: Learning Robust Visual Features without Supervision. Transactions on machine learning research, 2024. doi:10.48550/arxiv.2304.07193
    3. SLIC Superpixels Compared to State-of-the-Art Superpixel Methods. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2012. doi:10.1109/tpami.2012.120
    4. Using Deep Learning for Image-Based Plant Disease Detection. Frontiers in Plant Science, 2016. doi:10.3389/fpls.2016.01419
    5. A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects. IEEE Transactions on Neural Networks and Learning Systems, 2021. doi:10.1109/tnnls.2021.3084827
    6. EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces. Journal of Neural Engineering, 2018. doi:10.1088/1741-2552/aace8c