Repository navigation
Module 11
Level: Intermediate
Status: Introductory technical chapter with supporting lessons and learning resources
This module is a self-contained learning unit within the larger Deep Learning curriculum. Its purpose is to build understanding from motivation and prerequisites through mathematical reasoning, implementation and critical evaluation.
Convolutional networks exploit local connectivity and shared filters to process grid-structured data such as images. Convolution produces feature maps; stacking layers builds increasingly broad receptive fields and hierarchical features.
Learn convolution indexing, channels, padding, stride and output dimensions. Calculate receptive fields and pooling effects. Then compare LeNet, AlexNet, VGG, Inception, ResNet, DenseNet and EfficientNet, focusing on their architectural motivations.
By the end of this module, a reader should be able to define its central objects, explain the motivation behind its main methods, interpret the governing equations, work through a small example, and identify assumptions and limitations. The goal is understanding the mechanism—not memorizing a list of terms.
- Calculate output shapes and parameter counts.
- Explain receptive field and weight sharing.
- Compare plain and residual networks.
Modules 01, 05–10 provide the tensor, activation, training and regularization foundations used by CNNs.
Useful background
Where these ideas are used next
- Module-11-Lesson-Map
- Module-11-Important-Lessons
- Module-11-Numericals-and-Exercises
- Module-11-Implementation-Roadmap
- Module-11-Research-Extensions
- Module-11-convolutional-neural-networks-advanced-cnn-architectures
- Module-11-Lesson-01
- Module-11-Lesson-02
- Module-11-Lesson-03
- Module-11-Lesson-04
- Module-11-Lesson-05
- Module-11-Lesson-06
- Module-11-Lesson-07
- Module-11-Lesson-08
- Module-11-Lesson-09
- Module-11-Lesson-10
- Module-11-Lesson-11
- Module-11-Lesson-12
- Module-11-Lesson-13
- Study the lessons in prerequisite order.
- Write a notation sheet and derive central equations.
- Solve at least one hand-worked example per major mechanism.
- Implement core operations where appropriate.
- Verify outputs and gradients.
- Complete conceptual and coding exercises.
- Record limitations and research extensions.
- Conceptual understanding
- Mathematical derivations
- Worked numerical examples
- NumPy implementation (where applicable)
- PyTorch implementation (where applicable)
- Tests and numerical verification
- Experiments and interpretation
- Revision and self-assessment
CNNs exploit local connectivity and shared filters. Convolution layers learn spatial feature detectors; pooling or strided operations reduce resolution; deeper layers combine local patterns into larger receptive fields. Architectures such as LeNet, AlexNet, VGG, Inception, ResNet, DenseNet and EfficientNet make different trade-offs in depth, width, connectivity and compute.
For a 2-D convolution with input channels C_in and output channels C_out: $$ Y_{n,o,i,j}=\sum_{c=1}^{C_{in}}\sum_{u,v} W_{o,c,u,v}X_{n,c,i+u,j+v}. $$
Output height: $$ H_{out}=\left\lfloor\frac{H+2P-D(K-1)-1}{S}\right\rfloor+1. $$
A residual block computes
For input height 32, kernel 3, padding 1, stride 1 and dilation 1, output height is 32. With stride 2, it becomes 16. Always compute spatial dimensions before implementing a stack.
flowchart LR
A[Image tensor] --> B[Convolution + activation]
B --> C[Pooling or strided convolution]
C --> D[Deeper feature maps]
D --> E[Global pooling / classifier]
E --> F[Class scores]
Implement a small convolution manually for a tiny array, then compare with torch.nn.Conv2d. Verify padding, stride, channel order and parameter count. Use hooks to inspect intermediate feature-map shapes.
Convolution libraries often implement cross-correlation rather than mathematically flipped convolution. Padding conventions differ. Pooling is not equivalent to convolution. Translation equivariance is not full translation invariance.
Study depthwise separable convolution, grouped convolution, feature pyramids, ConvNeXt, vision transformers and neural architecture scaling.
- Reproduce the smallest mathematical example by hand.
- Implement the central operation using NumPy.
- Implement the same operation using PyTorch.
- Compare outputs and gradients with numerical tolerances.
- Change one assumption or hyperparameter and document what changes.
- Record environment, random seed, data split, compute budget and limitations.
- Explain the motivation and assumptions without notes.
- Derive the principal equations and define every symbol.
- Complete at least one worked numerical example.
- Trace tensor shapes through the computation.
- Implement and test the central mechanism.
- Explain at least two failure modes.
- Read one primary paper and summarize its contribution and limitations.
Content status: This page now contains a technical chapter and a practical learning specification. The linked lesson pages provide focused subtopic treatment; experiments are not claimed complete until their result logs are added.
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths · ❓ Question bank · 📖 Glossary · 📚 References · ✏️ Contributing
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths
❓ Question bank · 📖 Glossary · 📚 References
Jump to module:
01 02 03 04 05 06 07 08 09 10 11 12
13 14 15 16 17 18 19 20 21 22 23 24