[Paper Review] What are the Receptive, Effective Receptive, and Projective Fields of Neurons in Convolutional Neural Networks?
This paper provides a comprehensive framework for calculating receptive fields (RF), effective receptive fields (ERF), and projective fields (PF) in convolutional neural networks (CNNs). It introduces both bottom-up and top-down methods to compute ERF size using filter size and stride, showing that ERF expands hierarchically through layers, while PF quantifies how a neuron influences downstream features, varying with stride and filter size. The key contribution is a unified analytical method to precisely determine spatial influence zones in CNNs, enabling better architecture design and interpretability.
In this work, we explain in detail how receptive fields, effective receptive fields, and projective fields of neurons in different layers, convolution or pooling, of a Convolutional Neural Network (CNN) are calculated. While our focus here is on CNNs, the same operations, but in the reverse order, can be used to calculate these quantities for deconvolutional neural networks. These are important concepts, not only for better understanding and analyzing convolutional and deconvolutional networks, but also for optimizing their performance in real-world applications.
Motivation & Objective
- To clarify and formalize the definitions of receptive field (RF), effective receptive field (ERF), and projective field (PF) in CNNs, resolving common confusion in the literature.
- To provide a systematic method for computing ERF size across hierarchical layers using both bottom-up and top-down approaches.
- To derive explicit equations for ERF and PF that account for filter size, stride, and layer-specific operations, enabling precise analysis of feature influence.
- To demonstrate that ERF and PF are not uniform across feature maps and depend on spatial position and network hyperparameters.
- To extend the framework to deconvolutional networks by reversing the computation order, enabling analysis of feature reconstruction.
Proposed method
- Proposes a bottom-up approach to compute ERF by accumulating non-overlapped areas using the formula $ R_k = R_{k-1} + (f_k - 1) \prod_{i=1}^{k-1} s_i $, where $ f_k $ is filter size and $ s_i $ is stride.
- Introduces a top-down approach using the recursive formula $ R_{k,j} = (R_{k,j+1} - 1)s_{j+1} + f_{j+1} $, enabling backward tracing of influence from higher to lower layers.
- Derives the projective field (PF) size as a function of next-layer filter size $ f_{k+1} $ and stride $ s_{k+1} $, with four possible PF sizes based on floor and ceiling operations.
- Uses the expression $ P_k = \left\{ \left\lfloor \frac{f_{k+1}}{s_{k+1}} \right\rfloor \times \left\lfloor \frac{f_{k+1}}{s_{k+1}} \right\rfloor, \dots, \left\lceil \frac{f_{k+1}}{s_{k+1}} \right\rceil \times \left\lceil \frac{f_{k+1}}{s_{k+1}} \right\rceil \right\} $ to model variable PF sizes across feature map locations.
- Validates both ERF and PF calculations through 1D and 2D visualizations, including sliding filter simulations and spatial mapping across layers.
- Extends the framework to deconvolutional networks by reversing the ERF computation path, allowing PF analysis in generative models.
Experimental results
Research questions
- RQ1How can the effective receptive field (ERF) of a neuron in a CNN be precisely computed across multiple layers, accounting for filter size and stride?
- RQ2What is the difference between receptive field (RF), effective receptive field (ERF), and projective field (PF), and why are they often confused in practice?
- RQ3How does stride greater than one affect the distribution and size of projective fields across feature map locations?
- RQ4Can the same mathematical framework used for CNNs be adapted to deconvolutional networks for analyzing feature reconstruction?
- RQ5To what extent do spatial disparities in projective field size impact model behavior or performance in real-world applications?
Key findings
- The effective receptive field (ERF) of a neuron in a CNN is not simply the filter size but expands hierarchically based on cumulative stride and filter size, with the bottom-up formula $ R_k = R_{k-1} + (f_k - 1) \prod_{i=1}^{k-1} s_i $ providing an accurate size estimate.
- The top-down approach using $ R_{k,j} = (R_{k,j+1} - 1)s_{j+1} + f_{j+1} $ allows efficient backward tracing of influence from higher to lower layers, enabling rapid ERF estimation.
- Projective fields (PF) vary spatially within a feature map: for a $ 5\times5 $ filter with stride 2, center neurons have a $ 3\times3 $ PF, edge neurons have $ 3\times2 $ or $ 2\times3 $, and corner neurons have $ 2\times2 $, depending on position.
- When $ f_{k+1}/s_{k+1} $ is not an integer, PF sizes are not uniform, resulting in four distinct PF size configurations, which explains spatial variation in feature influence.
- For deconvolutional networks, the ERF of a neuron corresponds to the projective field in the corresponding CNN, allowing reverse analysis of feature generation.
- The paper demonstrates that ERF and PF are fundamentally different: ERF measures input region influence, while PF measures output neuron influence, with both being critical for interpretability and architecture design.
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.