← Back to Deep Learning Mind Map
中文·English
🧠 Deep LearningID: convolution-basics

Convolution Basics

卷积与感受野
🎯Core Definition
Convolution is the fundamental operator of CNNs, with two core properties — parameter sharing and local connectivity. For input H×W×CinH \times W \times C_{in} and kernel kh×kw×Cin×Coutk_h \times k_w \times C_{in} \times C_{out}, the output size is Hout=⌊H+2p−ks⌋+1H_{out} = \lfloor\frac{H+2p-k}{s}\rfloor + 1 (similarly for WW, with padding pp and stride ss); parameters per layer: khkwCinCout+Coutk_h k_w C_{in} C_{out} + C_{out} (incl. bias). Sharing: the same filter slides over the whole image, so parameter count is independent of input resolution. Locality: each output pixel depends only on a kh×kw×Cink_h \times k_w \times C_{in} local window.
💡Use Cases
feature-extraction backbone for image classification/detection/segmentation; interview staples include hand-computing output sizes, parameter counts, the channel-mixing role of 1×1 conv, dilated convolution for larger receptive fields at fixed resolution, and why conv layers have far fewer parameters than fully connected layers.
⚡Key Problems Solved
vs. fully connected layers, parameters drop from O(HWCin×HWCout)O(HW C_{in} \times HWC_{out}) to O(khkwCinCout)O(k_h k_w C_{in} C_{out}) — tens of thousands of times fewer with 3×3 kernels and hundreds of channels — while encoding locality and translation-equivariance priors directly into the architecture, making deep networks on high-resolution inputs trainable.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Convolution Basics.
Use Cases
In production engineering, what are the primary use cases for Convolution Basics and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Hand-compute the output size: 224×224 input, 5×5 kernel, stride 2, padding 1.
2
Count parameters: 3×3 conv, 64 input channels, 128 output channels, including bias.
3
What do parameter sharing and local connectivity each solve? Why is conv parameter count independent of input resolution?
4
A 5×5 conv vs two stacked 3×3 convs have the same receptive field; compare their parameter counts and the saving.
5
What does a 1×1 conv do? How does dilated convolution enlarge the receptive field without downsampling?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Convolution Basics"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice ➔
← Previous CardWeight Decay & AdamWNext Card →Receptive Field & FLOPs

🔗 More Deep Learning Knowledge Cards

Activation FunctionsAdam & AdamWAutograd Compute GraphBatch Normalization