Lesson 3 of 28 · AI foundations
What is deep learning?
Deep learning is a type of machine learning that uses neural networks with many layers to learn directly from raw data such as pixels, sound waves or text. Each layer learns slightly more abstract features than the one before. Deep learning powers speech recognition, image recognition, translation and the large language models behind chat assistants.
What "deep" means
"Deep" refers to the number of layers in the network, not to deep understanding. A neural network passes data through a stack of layers, and each layer transforms what it receives before handing it on. With many layers, the network can build up complex ideas from simple ones.
Picture an assembly line. The first stations handle raw materials, the middle stations build parts, and the last stations put the finished product together. In an image model, early layers detect edges and patches of colour, middle layers combine them into shapes and textures, and later layers recognise whole objects such as faces or cars.
How deep learning differs from classic machine learning
In classic machine learning, people usually decide which features the model should look at: the size and location of a house, or how often certain words appear in an email. Deep learning skips most of that step. Given raw data and enough examples, the network learns its own features, which is why it works so well on messy inputs such as photos, audio and free text.
The trade-off is cost. Deep learning generally needs much more data and computing power. Training typically runs on GPUs (graphics processing units), chips originally designed for video games that can do huge numbers of simple calculations at the same time.
- Classic machine learning: hand-picked features, works with smaller datasets, easier to explain.
- Deep learning: learns features from raw data, needs more data and computing power, harder to explain.
Why deep learning took off
Neural networks are not new; the ideas go back decades. What changed was that three things arrived together: very large datasets from the internet, affordable GPUs, and better training techniques. In the early 2010s deep networks began to beat older methods at recognising images and speech, and a 2015 review in Nature by Yann LeCun, Yoshua Bengio and Geoffrey Hinton summarised why.
In 2017 researchers introduced the transformer, a deep-learning design that handles long sequences of text especially well. It became the basis of today's large language models, so every chat assistant you use is a deep-learning system.
What deep learning is not
Deep learning is not a copy of the human brain. Neural networks were loosely inspired by brain cells, but they are mathematical models that work very differently. They are also hard to explain: with millions or billions of numbers involved, it is difficult to say exactly why a network made a particular decision, which is why they are often called "black boxes".
And deep learning is not always the right choice. For small, tidy datasets, such as a spreadsheet of a few thousand customers, simpler machine-learning methods can do as well at a fraction of the cost and are easier to justify to a regulator or a customer.
Where you meet deep learning
Face unlock, voice typing, photo search, live captions, translation apps, image generators such as Midjourney and chat assistants such as ChatGPT all run on deep learning. In business tools it powers transcription, document reading, visual product search and most of the AI features added to everyday software.
Example
How a deep network might recognise a cat
Worked exampleInput: a photo, stored as a grid of numbers (brightness and colour for each pixel) Layer 1 → finds edges and patches of colour Layer 2 → combines edges into corners, curves and textures such as fur Layer 3 → combines those into parts: ears, eyes, whiskers Output → weighs the parts: "cat 0.97 · dog 0.02 · other 0.01"
Nobody programs these layers by hand: they emerge during training on many labelled photos. Real networks are rarely this tidy, and researchers still study what individual layers respond to.
Key points
- Deep learning is machine learning with many-layered neural networks.
- "Deep" refers to the number of layers, not to deep understanding.
- It learns useful features from raw data instead of relying on hand-picked ones.
- It needs lots of data and computing power, usually on GPUs.
- Speech recognition, image tools and large language models all rely on it.
Try it on Mindber
Related terms
Related topics
Frequently asked questions
What is the difference between deep learning and machine learning?
Deep learning is a subset of machine learning. Classic machine learning usually relies on features chosen by people, such as the size and location of a house. Deep learning uses many-layered neural networks that learn their own features from raw data, which helps with images, audio and text but needs more data and computing power.
Why does deep learning need GPUs?
Training a deep network means repeating enormous numbers of simple multiplications. Graphics processing units (GPUs) were built to run many such calculations at once for video games, which makes them far faster than ordinary processors for this work. Specialised AI chips follow the same idea.
Is ChatGPT deep learning?
Yes. ChatGPT runs on large language models, which are deep neural networks built on the transformer architecture and trained on very large amounts of text. Deep learning is the technique; ChatGPT is a product built with it.
Sources
- Deep learning. LeCun, Bengio and Hinton, Nature, May 2015
- Deep Learning. Goodfellow, Bengio and Courville, MIT Press, 2016
- Attention Is All You Need. Vaswani et al., arXiv, June 2017
Last updated