What is the receptive field of a unit after three stacked 3×3 convolutions with stride 1, and how does their total parameter count compare with a single 7×7 convolution (both with C input and C 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 1, each convolutional layer of kernel width k expands the receptive field (the input patch size one output unit sees) by k−1 pixels. Three 3×3 layers reach 1+2+2+2=7 (7×7), using 3×(9C2)=27C2 weights instead of 49C2.

Steps

  1. State the stride-1 rule: starting from a 1×1 input pixel (r0=1), each stride-1 layer with kernel size k adds k−1 to the receptive field width, so rl=rl−1+(k−1).
  2. Compute the receptive field for three 3×3 layers (k−1=2): r1=3, r2=5, r3=7. One unit after three 3×3 layers sees a 7×7 input patch, matching one 7×7 layer.
  3. Compare parameter counts (ignoring biases): each 3×3 layer with C input and C output channels has 3⋅3⋅C⋅C=9C2 weights, so three layers use 27C2 weights versus 7⋅7⋅C⋅C=49C2 for one 7×7 layer—saving about 45% of weights while adding two extra non-linearities.
  4. Note what comes next: when earlier layers use stride greater than 1, pooling or dilation, strides multiply how fast later kernels expand the receptive field (covered in intermediate CNN receptive-field questions).

Common mistakes

How long your answer should be

4–5 lines; about 2 minutes.

Read this

Previous in Deep learning: A convolutional layer takes a 32×32×3 input and applies 16 filters of size 5×5 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 p, why are the kept activations divided by p during training (inverted dropout), and what goes wrong at test time if you do not scale?