What is the receptive field of a unit after three stacked convolutions with stride 1, and how does their total parameter count compare with a single convolution (both with input and output channels, ignoring biases)?
Deep learning, Convolutional networks
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can compute the receptive field of stacked stride-1 convolutions and state the VGG parameter-saving argument for small kernels.
Key idea
With stride , each convolutional layer of kernel width expands the receptive field (the input patch size one output unit sees) by pixels. Three layers reach (), using weights instead of .
Steps
- State the stride-1 rule: starting from a input pixel (), each stride-1 layer with kernel size adds to the receptive field width, so .
- Compute the receptive field for three layers (): , , . One unit after three layers sees a input patch, matching one layer.
- Compare parameter counts (ignoring biases): each layer with input and output channels has weights, so three layers use weights versus for one layer—saving about of weights while adding two extra non-linearities.
- Note what comes next: when earlier layers use stride greater than , pooling or dilation, strides multiply how fast later kernels expand the receptive field (covered in intermediate CNN receptive-field questions).
Common mistakes
- Adding kernel sizes directly () instead of adding per layer.
- Forgetting the input channels when counting weights, giving versus instead of versus .
- Using the simple rule when layers have stride greater than or pooling, which multiply the step size of later layers.
How long your answer should be
4–5 lines; about 2 minutes.
Read this
Previous in Deep learning: A convolutional layer takes a input and applies 16 filters of size with stride 1 and padding 2. What is the output shape, and how many learnable parameters does the layer have? What changes if the stride is 2 and the padding is 0?
Next in Deep learning: In dropout with keep probability , why are the kept activations divided by during training (inverted dropout), and what goes wrong at test time if you do not scale?