What is a transposed convolution ('deconv') and its checkerboard artifact issue?
hardAnswer
- A convolution that upsamples by inserting zeros between pixels then applying a normal conv — output is larger than input.
- Used in decoders (U-Net upsampling), GAN generators, and dense prediction.
- Checkerboard artifacts occur when kernel size isn't divisible by stride: some output pixels get contributions from more kernel positions than others.
- Fix: use bilinear upsample + normal 3x3 conv, or ensure .
Check yourself — multiple choice
- Same as pooling
- Learnable upsampling — beware checkerboard artifacts when kernel isn't divisible by stride
- Reduces spatial size
- Has no learnable params
Transposed conv upsamples; kernel/stride mismatch → checkerboard artifacts.
#cnn#generative#segmentation
Practise Deep Learning
214 interview questions in this topic.
Related questions
- What is a dilated (atrous) convolution?
- What inductive biases do CNNs have?
- What is the receptive field in a CNN?
- What is InstanceNorm and where does it shine?
- Compute the output shape of a 2D convolution with input (H, W), kernel k, stride s, padding p, dilation d.
- SAME vs VALID vs REFLECT padding — what are the practical differences?