[Paper Review] Mind the Pad -- CNNs can Develop Blind Spots
Padding in CNNs induces spatial bias in feature maps, creating blind spots for small object detectors; the paper analyzes the root cause and proposes padding fixes to improve detection accuracy.
We show how feature maps in convolutional networks are susceptible to spatial bias. Due to a combination of architectural choices, the activation at certain locations is systematically elevated or weakened. The major source of this bias is the padding mechanism. Depending on several aspects of convolution arithmetic, this mechanism can apply the padding unevenly, leading to asymmetries in the learned weights. We demonstrate how such bias can be detrimental to certain tasks such as small object detection: the activation is suppressed if the stimulus lies in the impacted area, leading to blind spots and misdetection. We propose solutions to mitigate spatial bias and demonstrate how they can improve model accuracy.
Motivation & Objective
- Demonstrate that padding can cause spatial artifacts in CNN feature maps.
- Show how these artifacts can impair downstream tasks such as small object detection.
- Identify uneven application of zero-padding as a bias source and relate padding to foveation behavior.
- Propose padding alternatives and training considerations to mitigate spatial bias and improve performance.
Proposed method
- Analyze feature-map activations across CNN layers to reveal border/line artifacts linked to padding.
- Visualize average feature maps under zero input to isolate padding effects.
- Inspect convolutional kernels to show asymmetries correlating with padding bias.
- Evaluate object detection performance under different padding schemes using a traffic-light SSD model.
- Propose and test padding alternatives (e.g., SYMMETRIC, MIRROR, circular) and training adjustments to reduce artifacts.
Experimental results
Research questions
- RQ1Do CNN feature maps exhibit location-dependent biases due to padding?
- RQ2How does padding-induced bias affect small-object detection and localization?
- RQ3Can alternative padding schemes mitigate spatial bias and improve detection accuracy?
- RQ4What practical guidelines can be given for padding choices in different tasks?
Key findings
- Padding can create spatial artifacts in CNN feature maps, leading to biased activations near borders.
- These artifacts can produce blind spots in object detectors like SSD, reducing detection scores when objects appear in impacted regions.
- Changing padding from zero-padding to symmetric/mirror/circular padding reduces artifacts and improves detection performance for small objects.
- Using input sizes that avoid uneven padding at down-sampling layers mitigates bias and can improve accuracy across models.
- SYMMETRIC padding and circular padding maintain more uniform foveation maps and can enhance peripheral detection compared to zero-padding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.