Skip to main content
QUICK REVIEW

[Paper Review] Dead Pixel Test Using Effective Receptive Field

Bum Jun Kim, Hyeyeon Choi|arXiv (Cornell University)|Aug 31, 2021
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper investigates the effective receptive field (ERF) in convolutional neural networks (CNNs) and reveals that large theoretical receptive fields do not guarantee superior performance. It identifies 'dead pixels'—spatial locations with minimal contribution to output—due to architectural imbalances from odd-sized kernels with stride 2, and proposes kernel padding to reduce pixel sensitivity imbalance. The key finding is that while this imbalance enhances general classification, it hinders detection of small image perturbations, making kernel padding critical for tasks requiring fine-grained sensitivity.

ABSTRACT

Deep neural networks have been used in various fields, but their internal behavior is not well known. In this study, we discuss two counterintuitive behaviors of convolutional neural networks (CNNs). First, we evaluated the size of the receptive field. Previous studies have attempted to increase or control the size of the receptive field. However, we observed that the size of the receptive field does not describe the classification accuracy. The size of the receptive field would be inappropriate for representing superiority in performance because it reflects only depth or kernel size and does not reflect other factors such as width or cardinality. Second, using the effective receptive field, we examined the pixels contributing to the output. Intuitively, each pixel is expected to equally contribute to the final output. However, we found that there exist pixels in a partially dead state with little contribution to the output. We reveal that the reason for this lies in the architecture of CNN and discuss solutions to reduce the phenomenon. Interestingly, for general classification tasks, the existence of dead pixels improves the training of CNNs. However, in a task that captures small perturbation, dead pixels degrade the performance. Therefore, the existence of these dead pixels should be understood and considered in practical applications of CNN.

Motivation & Objective

  • To challenge the assumption that larger receptive fields improve CNN performance.
  • To investigate why certain pixels contribute minimally to the final output despite being within the theoretical receptive field.
  • To identify the architectural cause of pixel sensitivity imbalance in modern CNNs like ResNet.
  • To evaluate the impact of pixel sensitivity imbalance on tasks requiring detection of small image perturbations.
  • To propose and validate kernel padding as a solution to reduce sensitivity imbalance and improve performance on fine-grained vision tasks.

Proposed method

  • The effective receptive field (ERF) is computed using gradient backpropagation from the final feature map to the input image, averaging over channels to isolate spatial contributions.
  • The ERF is visualized as a 2D Gaussian distribution, revealing spatially non-uniform influence of input pixels on the output.
  • Pixel sensitivity imbalance is quantified by measuring the variance in gradient magnitudes across input pixels, with higher variance indicating stronger imbalance.
  • Kernel padding is introduced to modify the spatial mapping of features, reducing the disparity in contribution between adjacent pixels.
  • A micro-object classification task is designed with random 8×8 black or red patches to test sensitivity to small perturbations.
  • Experiments compare training curves and convergence speed (measured by epochs to exceed 90% accuracy) between models with and without kernel padding on ResNet-101, Wide-ResNet-101-2, and ResNeXt-101-32x8d.
Figure 1: Effective receptive fields were obtained for ResNeXt-101-32x8d. (Left) Effective receptive field of the $7\times 7$ feature map. (Middle) Effective receptive field of the $14\times 14$ feature map. (Right) Effective receptive field of the output. The top row is the effective receptive fiel
Figure 1: Effective receptive fields were obtained for ResNeXt-101-32x8d. (Left) Effective receptive field of the $7\times 7$ feature map. (Middle) Effective receptive field of the $14\times 14$ feature map. (Right) Effective receptive field of the output. The top row is the effective receptive fiel

Experimental results

Research questions

  • RQ1Does the size of the theoretical receptive field correlate with classification accuracy in modern CNNs?
  • RQ2Why do some pixels within the receptive field contribute significantly less to the output than others, despite being spatially close?
  • RQ3What architectural factor causes pixel sensitivity imbalance in CNNs using odd-sized kernels with stride 2?
  • RQ4Is pixel sensitivity imbalance beneficial or detrimental for tasks requiring detection of small image perturbations?
  • RQ5Can kernel padding effectively reduce pixel sensitivity imbalance and improve training convergence on fine-grained classification tasks?

Key findings

  • Theoretical receptive field size does not correlate with classification accuracy; deeper networks do not necessarily have larger effective receptive fields.
  • The effective receptive field saturates at a certain size even as network depth increases, indicating diminishing returns from increasing depth alone.
  • Pixel sensitivity imbalance exists in ResNets, with adjacent pixels showing significantly different contributions to the output due to odd-sized kernels with stride 2.
  • Kernel padding reduces pixel sensitivity imbalance, as quantified by a 13–18 epoch reduction in convergence time for the micro-object classification task.
  • Models with kernel padding achieve over 99% test accuracy in capturing small perturbation differences, while baseline models require significantly more epochs.
  • For the micro-object classification task, kernel padding enables faster and more reliable detection of perturbation magnitude differences, especially when position and magnitude vary randomly.
Figure 2: When an odd-sized kernel is applied with stride 2, a checkboard pattern appears.
Figure 2: When an odd-sized kernel is applied with stride 2, a checkboard pattern appears.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.