How models learn to see images
Discover how convolutional layers slide filters across images to detect edges, shapes, and objects — the architecture behind modern computer vision.
Before We Begin
If you were explaining how to recognize a cat to a five-year-old, you wouldn't talk about pixels. You'd talk about ears, whiskers, and tails. CNNs work the same way. They look for small patterns first (edges), then combine them into shapes, and finally into objects. A convolutional layer slides a small filter across the image, computing how well the filter matches each location. Stacking many such layers creates a hierarchy: edges become curves, curves become parts, parts become objects.
How this lesson fits
This module introduces the core architecture behind much of modern AI. Students follow information as it moves through layers, is transformed by weights and activations, and eventually becomes a prediction that can be improved through feedback.
The big question
How do large collections of simple numerical operations combine into a model that can recognize patterns humans struggle to hand-code?
Why You Should Care
CNNs revolutionized computer vision. From AlexNet in 2012 to the autonomous vehicles and medical imaging systems of today, the convolutional architecture made it practical for machines to recognize patterns in visual data at human or superhuman levels.
Where this is used today
Think of it like this
Think of a detective examining a photograph with a magnifying glass. They don't look at the whole image at once — they scan small patches, looking for specific clues (a scratch, a fingerprint, a fiber). Each filter in a CNN is a different magnifying glass looking for a different clue. Pooling is the detective stepping back to summarize what they found without losing the key details.
Easy mistake to make
CNNs do not see images the way humans do. They process numeric matrices and learn filters through optimization. The 'hierarchy' emerges from training, not from hard-coded rules.
Think about this first
If you had to teach a computer to recognize a cat, would you describe every possible pixel pattern, or would you teach it to look for ears and whiskers first? Why?
Words we will keep using
If you were explaining how to recognize a cat to a five-year-old, you wouldn't talk about pixels. You'd talk about ears, whiskers, and tails. CNNs work the same way. They look for small patterns first (edges), then combine them into shapes, and finally into objects.
Don't let the math scare you. It just means: "Place the filter on top of the image. If the patterns match, give it a high score."
Darker means a stronger response. Where the filter matches the image well, the activation becomes larger.
These named architectures matter mostly because they show how the same core idea kept getting stronger over time.