Pooling Layer

Category: Neural Networks & Architectures

A downsampling layer in CNNs that reduces spatial dimensions by aggregating neighboring values, providing translation invariance.

Full Explanation

Pooling layers reduce the spatial dimensions of feature maps in CNNs by aggregating information from local neighborhoods. The most common type is max pooling, which takes the maximum value within each pooling window, while average pooling computes the mean. Typical pooling windows are 2x2 with stride 2, halving the spatial dimensions. Pooling provides several benefits: it reduces computational cost by decreasing the number of parameters, introduces a degree of translation invariance, and helps the network focus on the most prominent features. Global average pooling, applied to the entire feature map, has largely replaced fully connected layers at the end of modern CNNs. Some modern architectures like ViT have moved away from pooling entirely, using strided convolutions or patch embeddings for downsampling instead.

Related Terms

More in Neural Networks & Architectures

Explore More