Deep learning: what it is, how it works and where it is used
In 2024, two Nobel Prizes went to work built on neural networks: the Nobel Prize in Physics, awarded to John Hopfield and Geoffrey Hinton, and the Nobel Prize in Chemistry, half of which went to the creators of AlphaFold2. The first honours the foundations of deep learning, the second one of its biggest successes. So what is deep learning? It is a branch of machine learning that uses artificial neural networks with many layers. Each layer picks up slightly more abstract clues than the one before, so the network can learn straight from raw images, sound or text. This guide explains what deep learning is, how it learns, how it differs from classic machine learning, its main architectures, where you meet it and where it falls short.
Deep learning at a glance
| Question | Short answer |
|---|---|
| Also called | Deep structured learning, or deep machine learning. |
| Core idea | A neural network with many layers works out on its own which clues in the data matter. |
| Why "deep" | Because of the number of hidden layers, from a handful to several hundred. |
| What it needs | Lots of data, graphics processors (GPUs) and computing time. |
| Examples | Face unlock, voice typing, translation, ChatGPT, image generators. |
| Main drawback | It is expensive to train and struggles to explain its decisions. |
What is deep learning? The definition
Deep learning is a type of machine learning in which a neural network made of stacked layers learns from large amounts of data. The word "deep" does not mean the machine understands things deeply. It refers to the number of layers.
Take a photo of a cat. The first layer spots contrasts and edges, the next one simple shapes (a curve, a point), then patterns (an ear, an eye), and the last layer concludes "cat". Nobody programmed those steps: the network discovers them by looking at thousands of examples.
That is the big difference from conventional software, and even from part of machine learning: you do not tell the machine what to look at. You give it the raw data and the right answer, and it builds its own criteria.
How deep learning works, in 5 steps
A neural network is a chain of very simple calculations. Each artificial neuron adds up the values it receives, each multiplied by a "weight", and passes the result to the next layer. Learning means tuning those weights.
- Feed in an example: an image enters the first layer as numbers (the value of each pixel).
- Make a prediction: the numbers flow through every layer, which output an answer such as "70% dog".
- Measure the error: the answer is compared with the correct one ("cat") and the gap is calculated.
- Adjust the weights: backpropagation sends the error back from the last layer to the first and tells each weight which way to move.
- Repeat: the process runs over millions of examples until mistakes become rare on images the network has never seen.
These calculations run in parallel on graphics processors, or GPUs. In 2012 the AlexNet network, with 60 million parameters, took five to six days to train on two consumer graphics cards.
Deep learning vs machine learning: what is the difference?
Deep learning is part of machine learning, which is itself part of artificial intelligence. All deep learning is machine learning, but not the other way round. In practice:
| Criterion | Classic machine learning | Deep learning |
|---|---|---|
| Data | Well-structured tables; a few thousand examples can be enough | Raw images, sound and text, often millions of examples |
| Choosing the clues | An expert picks the useful variables (floor area, neighborhood…) | The network finds the relevant clues itself |
| Hardware | An ordinary computer | GPUs, often many of them |
| Explainability | Often readable (decision tree, regression) | Hard: millions or billions of weights |
| Strengths | Forecasts on business data | Vision, speech, language, content generation |
To predict which customers will cancel from a spreadsheet, a classic algorithm often does just as well, and faster. To recognize a voice or describe a photo, deep learning has no real rival.
The main deep learning architectures
| Architecture | Idea | Typical uses |
|---|---|---|
| Convolutional network (CNN) | Scans the image patch by patch with filters | Photos, medical imaging, self-driving cars |
| Recurrent network (RNN, LSTM) | Keeps a memory of earlier items in a sequence | Speech, time series, older translators |
| Transformer | Attention links every word to every other word | LLMs such as ChatGPT, translation |
| Generative models (GAN, diffusion) | Learn to produce new, realistic data | Images, video, synthetic voices |
The LSTM network was proposed in 1997 by Sepp Hochreiter and Jürgen Schmidhuber in a Neural Computation paper: it can link pieces of information more than 1,000 steps apart. The Transformer, introduced in 2017 by Google researchers in "Attention Is All You Need", largely replaced it for language. It underpins almost every LLM and most of generative AI.
Where deep learning comes from: 4 key dates
- 1980s: at Carnegie Mellon, Geoffrey Hinton co-authored an influential paper on backpropagation, the algorithm that lets networks discover their own internal representations of data, according to the university.
- 2012: AlexNet won the ImageNet competition with a top-5 error rate of 15.3%, against 26.2% for the runner-up, according to its authors' paper. The win is often seen as the start of the current wave.
- 2019: Yoshua Bengio, Geoffrey Hinton and Yann LeCun received the Turing Award, given in 2019 for the year 2018, for their work on deep neural networks, as Carnegie Mellon reported.
- 2024: the Nobel Prize in Chemistry honours AlphaFold2, presented in 2020, which has been used to predict the structure of virtually all 200 million known proteins, notes the Royal Swedish Academy of Sciences.
Deep learning examples in everyday life
- Face unlock: your phone checks your face against its model using a convolutional network.
- Voice typing and captions: speech is turned into text by networks trained on thousands of hours of recordings.
- Machine translation: online translators run on Transformers.
- Chat assistants: ChatGPT, Gemini and Claude are chatbots built on LLMs.
- Medicine: help reading X-rays, scans and lab slides, always under a doctor's supervision.
- Image and video generation: image generators use diffusion models.
The limits of deep learning
- A huge appetite for data: a deep network needs a great many examples, often labeled by hand, and it copies their biases.
- A cost in computing and energy: according to the International Energy Agency, data centers used about 485 TWh of electricity in 2025, a total expected to nearly double by 2030, driven by AI. Our article on AI and the environment covers the figures.
- The black-box effect: with billions of weights, it is very hard to know why the network made a decision.
- Fragility outside its domain: a model trained on daytime photos can fail at night without warning you.
- Confident mistakes: in language models, this shows up as AI hallucinations.
When deep learning is not the right tool
Deep learning is not always the best choice. If your data fits in a table of a few thousand rows, a classic machine learning model will be faster to train, cheaper and easier to explain. If every decision must be justified, a loan refusal for example, a readable model is easier to defend. And if the rule is already known ("free shipping on orders over 50"), plain code does the job. Deep learning wins when the data is images, sound or text, and there is a lot of it.
Frequently asked questions
What is the difference between machine learning and deep learning?
Deep learning is a branch of machine learning. Classic machine learning often relies on variables chosen by an expert and works well on tables of data. Deep learning uses deep neural networks that find the useful clues themselves, which makes it strong on images, sound and text, at the cost of more data and computing.
Is ChatGPT deep learning?
Yes. ChatGPT runs on a large language model, a deep Transformer neural network trained on huge amounts of text. It is one of the best-known applications of deep learning.
Why is it called "deep" learning?
The word refers to the number of layers in the neural network. A simple network has one or two hidden layers, while a deep one has more, often dozens or even hundreds. It does not mean the machine deeply understands what it processes.
What are some examples of deep learning?
Face unlock on your phone, voice typing, machine translation, assistants such as ChatGPT and image generators. In medicine it also helps read X-rays, and AlphaFold2 predicts the shape of proteins.
Do you need to code to do deep learning?
Not to use tools built on it: you can use an assistant or a translator without programming. To train your own models, you need some Python, linear algebra and statistics, then a library such as PyTorch or TensorFlow.
Sources
- The Nobel Prize in Physics 2024, press releaseRoyal Swedish Academy of Sciences
- The Nobel Prize in Chemistry 2024, press releaseRoyal Swedish Academy of Sciences
- Apprentissage profond / deep learning, Grand dictionnaire terminologiqueOffice québécois de la langue française
- ImageNet Classification with Deep Convolutional Neural NetworksNeurIPS 2012 (Krizhevsky, Sutskever, Hinton)
- Long Short-Term MemoryNeural Computation, 1997 (Hochreiter, Schmidhuber)
- Attention Is All You NeedarXiv (Vaswani et al., 2017)
- Hinton Shares 2019 Turing Award for Deep LearningCarnegie Mellon University
- Data centre electricity use surged in 2025International Energy Agency