How do Convolutional Neural Networks achieve parameter sharing? Why is it beneficial?
Answer
CNNs share parameters by applying the same convolutional filter at every spatial location: a small kernel of learnable weights slides across the input, and its weights are reused to compute each output activation. This weight reuse means the network learns location-independent features with far fewer parameters than a fully connected layer, which improves generalization and compute efficiency.
How Sharing Works:
(1) Convolutional Filter: A small matrix of learnable weights (e.g., ) is defined per channel pair.
(2) Sliding Window: The filter moves across the whole input feature map, position by position.
(3) Weight Reuse: The identical weights are used at every position, so one filter detects its feature anywhere in the image.

Figure 1: The same 9 weights produce activations at position A and position B. No new parameters are added as the input grows.
Why It Is Beneficial:
(1) Reduced Parameters: A filter has weights regardless of input resolution, versus one weight per (input, output) pair in an FC layer.
(2) Translation Equivariance: A feature detected at one location is detected at any location; shifting the input shifts the output correspondingly.
(3) Improved Generalization: Fewer parameters means less overfitting, especially on limited data.
(4) Computational Efficiency: Fewer parameters mean fewer multiply-accumulates in both forward and backward passes, enabling deployment on resource-limited devices.

Figure 2: Translation equivariance in action: shifting the input shifts the convolution output by the same amount, because the same shared filter processes every position.
How Big Is the Saving? Sharing decouples the parameter count from the input resolution: growing the image grows the compute, not the weights. The contrast with a fully connected layer on the same input is dramatic.

Figure 3: Flattening a image into 100 FC units needs ~307k parameters; a shared
convolution with 64 filters needs ~1.8k, roughly 170x fewer.
Mathematical Formulation:
Where:
is the output activation at spatial position
of channel
; the same
is used for every
: that reuse is parameter sharing.
is the filter weight at kernel offset
connecting input channel
to output channel
;
is the per-output-channel bias.
is the layer’s parameter count, independent of the input’s spatial size
.
Leave a Reply