Convolutional network

Convolutional · pattern · Image, Audio, Text → Class label, Scores

Stacks of convolution, activation and pooling that turn a grid of pixels into a short list of class scores.

Also called CNN, ConvNet, LeNet-style network

Figure 1. The Convolutional network as a schematic: the parts it is built from and how data flows between them. Select a part to read about it.

What it does

A convolutional network alternates convolutions, which detect local patterns with shared filters, and pooling, which shrinks the map. Each stage sees a wider area of the input and has more channels, so early stages respond to edges and later ones to shapes and parts. At the end the feature map is flattened or pooled into a vector and a dense head produces class scores. The same recipe works on spectrograms for audio and on word-embedding sequences for text.

Formula

Fℓ = Pool(ReLU(Convℓ(Fℓ−1)))y = softmax(W · flatten(FL) + b)

Shapes and parameters

Shapes
An image [N, C, H, W] in; maps get smaller and deeper stage by stage; scores [N, K] out.
Parameters
Convolutions cost M × C × k² + M each, independent of image size; the dense head often dominates. In the example: 80 + 1,168 + 7,850 = 9,098.
Used for
MNIST digits, voice commands, the IMDB sentiment model, YAMNet sound events, SqueezeNet image labels.

Figure 2. A real convolutional network in WeightSpace: Brighten a low-light photo, drawn from the file the app runs. Open a module to see the parts inside.

In WeightSpace

CNN classifiers in the catalog are edited through the biases of their output layer, within ±8: one bias per class you want to favor or suppress. The convolution filters stay as shipped.

Models built as a Convolutional network