Back to Deep Learning Mind Map
中文·English
🧠 Deep LearningID: receptive-field-flops

Receptive Field & FLOPs

感受野与 FLOPs 计算
🎯Core Definition
The receptive field (RF) is the region of the original input visible to one output pixel, with recurrence RFl=RFl1+(kl1)i=1l1siRF_l = RF_{l-1} + (k_l - 1)\prod_{i=1}^{l-1} s_i, where klk_l is the kernel size of layer ll and sis_i the stride of layer ii — the stride product shows that earlier downsampling amplifies later receptive fields. With all strides 1 it simplifies to RFl=RFl1+kl1RF_l = RF_{l-1} + k_l - 1; e.g. three stacked 3×3 (stride 1) layers reach RF 7, and if the first layer has stride 2, the third layer reaches 7+2×2×1=117 + 2 \times 2 \times 1 = 11. Conv FLOPs: each output pixel performs khkwCink_h k_w C_{in} multiply-adds (1 multiply + 1 add, counted as 2), totalling 2HoutWoutkhkwCinCout2 H_{out} W_{out} k_h k_w C_{in} C_{out}; e.g. a 3×3 conv with 64→128 channels on 224×224 input: 2×224×224×9×64×1287.4×1092 \times 224 \times 224 \times 9 \times 64 \times 128 \approx 7.4 \times 10^9, i.e. ~7.4 GFLOPs.
💡Use Cases
hand-computing FLOPs/receptive fields is a core CNN interview staple — estimating model cost, comparing lightweight models (how much MobileNet saves), explaining stacked small kernels and dilated convolution; it is also the baseline against which ViT's global attention is contrasted.
Key Problems Solved
the recurrence quantifies how much of the input a network sees — ll stacked 3×3 layers reach 2l+12l+1, so deep small-kernel networks match the global view of large kernels with fewer parameters; FLOPs measures per-sample multiply-add cost independently of parameter count, giving a unified yardstick for efficient-architecture design and deployment estimation.
🎯5 High-Frequency Exam Points
1
Hand-compute receptive fields: three stacked 3×3 stride-1 layers? With the first layer at stride 2? Show the recurrence.
2
Hand-compute FLOPs: 3×3 conv, 64→128 channels on 224×224 input. Why the factor of 2?
3
Derive the receptive-field recurrence RFl=RFl1+(kl1)i=1l1siRF_l = RF_{l-1} + (k_l-1)\prod_{i=1}^{l-1} s_i; what does the stride product mean?
4
Why do two stacked 3×3 convs match a 5×5 receptive field with fewer params and FLOPs? Give numbers.
5
Which factors does standard-conv FLOPs scale with, and how do you quickly estimate a whole network's FLOPs?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Receptive Field & FLOPs"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardConvolution BasicsNext CardClassic CNN Architectures

🔗 More Deep Learning Knowledge Cards

Activation FunctionsAdam & AdamWAutograd Compute GraphBatch Normalization