Pooling & Downsampling
Why Pool?
Reducing spatial dimensions
A 8×8 map has 64 cells. After 2×2 pooling it shrinks to 16 — a 75% reduction in downstream computation.
Step 1 of 6: Why Pool?
Reducing spatial dimensions
A 8×8 map has 64 cells. After 2×2 pooling it shrinks to 16 — a 75% reduction in downstream computation.
Step 2 of 6: Max Pooling
Keep the strongest signal
The 2×2 window picks the maximum value (9) from each region. This preserves the strongest activation and discards weaker ones.
Step 3 of 6: Average Pooling
Smooth aggregation
Max pooling picks the peak (9) while average pooling smooths to 4. Max is better for detecting sharp features; average preserves overall intensity.
Step 4 of 6: Stride & Overlap
Controlling output size
Stride 2 with pool 2×2 means non-overlapping windows — the most common setting. Each cell is read exactly once, and spatial size halves.
Step 5 of 6: Global Average Pooling
Collapse to a vector
Each of the 4 feature maps is averaged into a single number, producing a 4-d vector. This eliminates spatial dimensions entirely — no fully-connected explosion.
Step 6 of 6: Pooling vs Strided Conv
Fixed vs learned downsampling
Max pooling is a fixed operation — it takes the maximum in each 2×2 window. Zero parameters, fast, and acts as regularization. But it cannot learn what information to keep.