What is a convolutional neural network?

A convolutional neural network is a type of neural network that captures local patterns in grid-structured data such as images by sliding small, shared filters across the input.

It is also called a CNN or ConvNet. It differs from a multilayer perceptron in connectivity: in a perceptron each neuron connects to the whole previous layer, while in a CNN each neuron sees only a small region and the same filter is reused at every position. A Vision Transformer instead splits images into patches and uses self-attention. CNNs also work on audio and time series.

Topic
Machine learning, models and training
Also known as
CNN, ConvNet

How a convolutional neural network works

  1. A convolution layer slides small learned filters over the input to produce feature maps.
  2. Reusing one filter at every position cuts parameters and lets a pattern be recognised wherever it appears.
  3. Activations add non-linearity; pooling shrinks feature maps and adds robustness to small shifts.
  4. Stacked layers learn a hierarchy from edges to textures to object parts; final layers predict a class or location.

In more detail

Modern CNN building blocks

Modern CNNs go well beyond classic LeNet and AlexNet stacks: residual skip connections (ResNet) allow deep networks to train without vanishing gradients, while depthwise separable convolutions (MobileNet, EfficientNet) slash FLOPs for CPU and edge inference. Modernised CNN designs such as ConvNeXt and hybrid conv-attention backbones remain competitive with Vision Transformers.

Receptive field and translation equivariance

Convolution is naturally translation-equivariant; if an object shifts in the input, its activation shifts proportionally in the feature map and pooling adds local invariance. However, each neuron sees only a finite receptive field, so standard CNNs can struggle to link distant regions across a large document page unless deeper layers, dilated convolutions or attention blocks widen that field.

Classification, detection and segmentation

Enterprise vision rarely stops at whole-image classification: CNNs power object detection (bounding boxes for stamps or defects via YOLO or Faster R-CNN), semantic and instance segmentation (pixel-level masks via U-Net or Mask R-CNN) and text-line detection in OCR pipelines. Choosing the right output head determines annotation cost and inference speed.

Commonly confused terms

TermHow it differs
Vision-language modelA CNN is an architecture backbone for extracting visual or grid features (classification, detection, segmentation). A Vision-Language Model (VLM) combines a visual encoder with a large language model to answer open-ended text prompts about images.

Why a convolutional neural network matters for on-premises AI

CNNs are widely used in in-house work such as Optical Character Recognition, document layout recognition, signature and stamp detection and industrial visual inspection. Being relatively small, they can run fast enough on a single GPU or sometimes a CPU, processing images on the company network without external services. Even as vision-language models spread, CNNs remain a cheaper, more predictable choice for fixed, well-defined image tasks.

ON-PREMISES EXAMPLE

A bank classifies images of cheques brought to branches and detects the signature area with an in-house CNN model; the images never leave the bank's network.

Common questions

Are convolutional neural networks only used for images?

No. They are also used for audio, signals and time series; one-dimensional convolutions have been used for text classification too.

How does a CNN differ from a Vision Transformer?

A CNN works with local filters and learns well from less data. A Vision Transformer links image patches with self-attention and usually needs more data and compute.

Sources

In the glossary: Glossary, A to C

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.