Chapter 14
Convolutional Neural Networks
Local connectivity, convolution kernels, feature maps, padding, stride, channels, receptive fields, parameter sharing, pooling, and why convolution fits grids.
What this chapter does
Convolutional neural networks teach local computation with shared weights. This bounded chapter focuses on CNN vocabulary and mechanics rather than becoming a full computer vision course.
Lessons
Read these in order.
Start with the chapter introduction, then move through the topic lessons. The order is chosen so each page can reuse ideas from the pages before it.
- 01Introduction
Why convolution is a reusable idea about local structure and shared weights.
- 02Local Connectivity
Reading small neighborhoods instead of the whole input at once.
- 03Convolution Kernels
Small shared weight patterns that slide across local windows.
- 04Feature Maps
Outputs that record where learned detectors respond.
- 05Padding and Stride
Border handling and kernel step size as shape controls.
- 06Channels
Input channels, output channels, and feature maps as parallel grids.
- 07Receptive Field
The original input region that can affect a feature.
- 08Parameter Sharing
Reusing the same detector across positions to reduce parameters.
- 09Pooling
Local summarization through max and average pooling.
- 10Why Convolution Fits Grids
Why local neighborhoods make convolution useful for images and other structured grids.
- 11CNN Vocabulary in Modern Deep Learning
The convolution ideas that remain useful when reading modern architectures.
Review and practice
Close the chapter deliberately.
Use the conclusion and revision notes before the chapter exercises. Hints and solutions are collected here, while lesson-level exercises reveal their own help inline.
What convolution contributes before residual and gated connections.
Summary and Revision NotesA compact review of kernels, feature maps, padding, stride, channels, receptive fields, sharing, and pooling.
ExercisesChapter-level practice for convolutional neural networks.
HintsLow-spoiler nudges for the Chapter 14 exercises.
SolutionsExplained solutions for the Chapter 14 exercises.
Before moving on
- Compute a small convolution output.
- Explain local connectivity, feature maps, and parameter sharing.
- Use padding, stride, channels, and receptive field vocabulary.
- Explain why convolution fits grids without expanding into full computer vision.
Where this leads
- Residual, Skip, and Gated Connections
- Numerical Precision and Stability
- Transformers