Deep Learning
Machine learning using neural networks with many layers.
Deep learning stacks many layers of artificial neurons, letting a network learn increasingly abstract features. In an image model, early layers detect edges, middle layers detect shapes, and later layers recognize objects.
It took off around 2012, when AlexNet won the ImageNet competition using GPUs. Deep learning now powers speech recognition, image generation, translation and large language models.
💡 Example: Your phone's photo app finding every picture of your dog uses a deep convolutional network.
Deep learning in one sentence
Deep learning is a kind of machine learning that uses neural networks with many layers to learn useful patterns directly from raw data, such as pixels, sound waves or text, without people deciding in advance which features matter.
Why it's called “deep”
A neural network is built from layers of simple units. “Deep” just means there are many layers between the input and the output, sometimes dozens or hundreds. Each layer transforms what it receives into something a bit more useful, so the network builds up from simple patterns to complex ones.
How a deep network learns
- It makes a guess, for example “this photo shows a cat: 30% sure”.
- The guess is compared with the right answer to measure the error.
- Backpropagation works out how much each connection contributed to the error.
- Gradient descent nudges millions or billions of connection strengths to reduce it.
- Repeat over a huge amount of training data, usually on GPUs.
Famous deep-learning architectures
- Convolutional neural networks (CNNs) for images and video.
- Transformers for language and, increasingly, images, audio and more. They power large language models such as those behind ChatGPT, Gemini and Claude.
- Diffusion models for generating images and video.
Deep learning vs machine learning
Classic machine learning usually relies on features chosen by people and works well on smaller, table-shaped data. Deep learning learns the features itself and shines on unstructured data, but it typically needs much more data and computing power and is harder to explain. See the side-by-side comparison in machine learning vs deep learning.
Frequently asked questions
Is ChatGPT deep learning?
Yes. ChatGPT runs on a large language model, which is a very large Transformer neural network trained with deep learning.
When did deep learning take off?
The ideas are decades old, but the boom is usually dated to 2012, when the AlexNet network, trained on GPUs, won the ImageNet image-recognition challenge by a wide margin.
Want to test yourself? The Hard AI quiz covers neural-network training, attention and landmark papers.