3.3 From neural nets to deep learning

Week 3
Pick a depth · ✨ generates it for this lecture

From neural nets to deep learning

Neural networks have existed since the mid-20th century. Deep learning is simply neural networks with many layers — and that "many" turned out to change everything once data and compute caught up.

What "deep" buys you

The depth — stacking many hidden layers — lets a network build a hierarchy of features, each layer composing the simpler patterns found by the one below it. In image recognition this hierarchy is visible: early layers detect edges, middle layers combine edges into textures and parts (an eye, a wheel), and later layers combine parts into whole objects (a face, a car). Each layer's features are built from the previous layer's, automatically. This is the "learned representations" idea from week 2, realized through depth.

Why it waited

The core ideas existed for decades but did not work well until three things arrived together around 2012: big datasets (like ImageNet) to learn from, powerful hardware (GPUs) to do the enormous arithmetic, and refined training techniques to make deep networks trainable at all. When they converged, deep networks suddenly outperformed everything else on perception tasks, and the modern AI era began.

The trade-off

Deep learning's great advantage is that it removes the need for humans to hand-engineer features — the network discovers them. Its great cost is appetite: it typically demands large amounts of data and substantial compute, and its inner workings are hard to interpret. You trade human feature-engineering effort for data, compute, and opacity.

A worked example

A deep network trained to recognize faces is not told what a face is. Shown millions of labeled images, its first layers learn to detect simple edges and color gradients; deeper layers assemble those into eyes, noses, and mouths; the deepest layers assemble those into whole-face patterns tied to identity. Each level of abstraction is learned from the level below — the essence of why depth works.

Tip: highlight any passage above to ask the tutor about it, or to generate practice problems specifically on what you selected.
Ask the tutor for an explanation, a worked example, or a hint. Highlight a passage on the left to ground the question in that text.