What is a dilated (atrous) convolution with dilation factor d? For a 1-D input of length L, what are the output length and the receptive field after two stacked 3×1 convolutions with stride 1, no padding and dilations d1=1 and d2=2, and why does exponential dilation (d=1,2,4,…) avoid the gridding problem?

Deep learning, Convolutional networks
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can compute the effective kernel span and receptive field of dilated convolutions and explain gridding artefacts.

Key idea

A dilation factor d inserts d−1 gaps between kernel taps, turning a kernel of size k into an effective span keff=k+(k−1)(d−1) without adding any extra parameters or FLOPs.

Steps

  1. Define dilation: a 1-D filter of width k with dilation d computes y[i]=∑m=0k−1w[m] x[i+d⋅m], sampling inputs spaced d apart. Its effective kernel width is keff=k+(k−1)(d−1).
  2. Compute effective widths here (k=3): layer 1 (d1=1) has keff,1=3; layer 2 (d2=2) has keff,2=3+2(2−1)=5.
  3. Compute output length (s=1,p=0): layer 1 outputs length L−3+1=L−2; layer 2 outputs (L−2)−5+1=L−6 (assuming L≥7).
  4. Compute receptive field: r1=3, and r2=r1+(keff,2−1)=3+4=7 (equivalently 1+∑l(kl−1)dl=1+2(1)+2(2)=7), using 3+3=6 weights per channel instead of 7, and 1+2(1+2+4)=15 after three layers.
  5. Explain gridding: if multiple layers use the same dilation d>1 (say d=2,2,2), neighbouring output pixels depend on completely disjoint grids of input pixels, creating checkerboard holes. Exponential dilations d=1,2,4,… cover every integer offset inside the receptive field without gaps.

Common mistakes

How long your answer should be

Half a page; 3–4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: An undirected 3-node path graph 1−2−3 has initial scalar features H(0)=[2−34]. Using one Kipf–Welling graph convolutional layer H(1)=ReLU⁡(D~−1/2A~D~−1/2H(0)W) with A~=A+I, D~ii=∑jA~ij and scalar weight W=1, what is H(1)?
Next in Deep learning: A single-channel 3×3 input X=[102210031] is cross-correlated (no padding, stride 1, no bias) with a 2×2 kernel W, giving output Y. Given upstream loss gradient ∂L∂Y=[1−120], what is ∂L∂W, and how is ∂L∂X computed in general?