AI Learning Courses
AI Learning Courses › Tutorials › Tutorial 12
AI TUTORIAL 12 · 8 MIN READ

What is deep learning? Neural networks explained simply

Deep learning powers face unlock, voice typing, Google Photos search and every chatbot. Learn what it is, how its layers learn, how it differs from machine learning, and try training one yourself for free.

Turn on JavaScript to watch the animated lesson. The full tutorial text is below.

What is deep learning? Watch

Deep learning is a type of machine learning that uses artificial neural networks with many layers. Each layer learns a little more than the one before it. "Deep" simply means many layers.

AI is the big circle; machine learning is inside it; deep learning is inside machine learning; generative AI and LLMs are built on deep learning.
AI is the big circle; machine learning is inside it; deep learning is inside machine learning; generative AI and LLMs are built on deep learning.

How the layers learn: a cat photo Watch

Each layer learns from the one before it: edges, then shapes, then parts, then the answer.
Each layer learns from the one before it: edges, then shapes, then parts, then the answer.
  1. Input: the photo enters as a grid of numbers, called pixels.
  2. Layer 1 learns edges and colours.
  3. Layer 2 combines them into shapes like curves and circles.
  4. Layer 3 finds parts: eyes, ears and whiskers.
  5. Output: "Cat, 97 percent sure".

Nobody tells the network what an ear looks like. It learns that from millions of labelled examples. When it is wrong, its connections are adjusted a little, using a method called backpropagation, again and again.

A neural network, inside Watch

Inputs flow through hidden layers of connected neurons to an output.
Inputs flow through hidden layers of connected neurons to an output.

Each artificial neuron takes numbers in, multiplies them by weights, adds them up and passes the result on. Training means finding the right weights. Big networks have billions of them.

Machine learning vs deep learning Watch

Classic machine learningDeep learning
FeaturesPeople choose what to look atLearns the features by itself
Data neededWorks with less dataNeeds lots of data
Computer powerA normal computer is often enoughUsually needs GPUs
Best forTables: prices, loans, salesImages, voice, language, video

Why deep learning took off Watch

The ideas are decades old, but three things came together around 2012: big data from the internet, fast GPUs (graphics chips) and better methods. In 2012, a deep network called AlexNet won the ImageNet image-recognition contest by a huge margin, and the AI boom began.

Deep learning in your daily life Watch

Main types Watch

Try it yourself, free Watch

Open Google Teachable Machine (teachablemachine.withgoogle.com). Show your webcam a few photos of two things, say a pen and a cup, press Train, and watch a deep learning model learn to tell them apart in under a minute, right in your browser.

Lesson learned Watch

Deep learning stacks many layers of artificial neurons, each learning from the last. That is how computers learned to see, hear and talk.

Frequently asked questions

Is deep learning the same as AI?

No. AI is the big field; machine learning is part of AI; deep learning is one kind of machine learning that uses many-layer neural networks.

Why does deep learning need GPUs?

Training means billions of simple multiplications. GPUs do many of them at the same time, so training is much faster.

Can I learn deep learning without maths?

You can understand the ideas and use tools without maths. To build models yourself, basic algebra, Python and some statistics help.