What is it?
: a sliding weighted average of one function by another. Blur, echo, smoothing, the output of any linear time-invariant system — and, discretized, the operation that gives convolutional neural networks their name.
Formulas
- the density of a sum of independent variables ,
Where it shows up in computing
Blur, sharpen and edge filters are convolutions with small kernels.
An FIR filter is a convolution of the signal with its impulse response.
The output of any LTI system is the input convolved with the impulse response (reverb = convolution with a room).
Where it shows up in AI
A conv layer slides learned kernels over the input (strictly, a cross-correlation: the kernel is not flipped).
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
Exercises
Convolve the sequence with the kernel .
Solution
: a moving average (with the edges padded by zeros).
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.