A multilayer perceptron usually connects every input unit of a layer to every output unit. For inputs and outputs its dense affine layer has parameters, including biases. A convolutional layer instead applies small local filters with weight sharing across positions. A two-dimensional filter of size , with input channels and output channels, has parameters. The count does not increase with spatial height and width, although the activation storage and arithmetic do.
Local receptive fields and repeated layers capture increasingly extended patterns. translation equivariance follows from shared filters under compatible boundary conventions; pooling or global aggregation can help build invariance but a convolution alone is not generally translation-invariant. Flattening a large convolutional output into a dense head can reintroduce many parameters. For an unordered descriptor vector, a convolutional locality assumption must be justified rather than imposed merely because convolutional layers have fewer weights.
Weight sharing 2026-10-20
Reuse of one learnable parameter in multiple computational positions. In a convolution this reduces parameter count and imposes translation equivariance away from boundary effects.