Skip to content

Convolutional Neural Networks

How CNNs recognise patterns in images using filters and pooling, and why pretrained CNNs are so widely reused.

Editorial team 2 min read

Convolutional neural networks (CNNs) are designed for grid-like data such as images. They were the engine of the deep learning revolution in computer vision.

Convolutions

A convolutional layer slides small filters — for example 3×3 pixels — across the image. Each filter detects a pattern, such as an edge at a particular angle, wherever it appears. Because the same filter is reused across the image, CNNs need far fewer parameters than fully connected networks and naturally recognise patterns regardless of position.

Pooling

Pooling layers downsample feature maps (for example, taking the maximum in each 2×2 block), making the network more robust to small shifts and reducing computation.

A Hierarchy of Features

Stacked layers learn increasingly abstract features: edges and colours in early layers, textures and shapes in the middle, object parts and whole objects near the end.

Landmark Architectures

LeNet, AlexNet, VGG, ResNet (which introduced skip connections enabling very deep networks), Inception and EfficientNet. Vision transformers now rival CNNs, but CNNs remain widely used and efficient.

Beyond Classification

CNN backbones power object detection, segmentation, image similarity and medical imaging, and apply to audio spectrograms and some time series.

In Practice

Start from a pretrained CNN and fine-tune it, rather than training from scratch. Prepare images exactly as the model expects: size, colour order and normalisation.

More in Machine learning

All Machine learning guides →
Machine learning Guide · 2 min

Linear Regression Explained

The simplest predictive model: how linear regression fits a line through data, how to read its coefficients, and when it breaks down.

Machine learning 2 min read 17 Sep 2026

Machine learning Guide · 2 min

Logistic Regression for Classification

Despite its name, logistic regression is a classification method. How it produces probabilities and why it remains a strong baseline.

Machine learning 2 min read 16 Sep 2026

Machine learning Guide · 2 min

Decision Trees

How decision trees split data with simple questions, why they are easy to explain, and why single trees overfit.

Machine learning 2 min read 15 Sep 2026

Machine learning Guide · 2 min

Random Forests

Why averaging many randomised decision trees produces a robust, accurate model with little tuning.

Machine learning 2 min read 14 Sep 2026