CNNs are designed for grid-structured data. They exploit two properties of images: spatial locality (nearby pixels are related) and translation invariance (a pattern matters regardless of where in the image it appears). These properties make CNNs dramatically more efficient than fully connected networks on visual data.
A learned filter (kernel) slides across the image, computing a dot product with each local patch. The result is a feature map — a grid showing where that filter's pattern was detected. A 3×3 edge-detecting filter produces high values wherever an edge exists. During training, the network learns which filters are useful — they are not hand-designed.
Parameter sharing — The same filter applies at every location. A 3×3 filter has 9 weights regardless of image size. Makes CNNs enormously more parameter-efficient than fully connected networks on images.
Local connectivity — Each output depends only on a local patch of the input, matching how visual information is structured.
Translation invariance — The same pattern produces the same filter response wherever it appears in the image.
Hierarchical learning — Stacked layers build representations: early layers detect edges and gradients; middle layers detect shapes and textures; deep layers detect semantic objects (faces, cars).
Pooling — Max or average pooling reduces spatial dimensions, cuts computation, and builds spatial robustness. Increases the effective receptive field of subsequent layers.
Ask the AI assistant about CNNs, how convolution works, what pooling does, or how features are learned hierarchically.