Deep learning
Deep learning means using neural networks with many hidden layers. Each layer learns something a little more complex than the one before. Different designs suit different data: CNNs for images, RNNs for sequences, and transformers for language today.
Everyday analogy
An assembly line for understanding a photo: the first workers spot edges, the next spot shapes like eyes and ears, the last ones say "that's a cat."
Example
- CNN (convolutional neural network): photo apps grouping pictures by face, medical X-ray checks.
- RNN (recurrent neural network): older speech and translation systems that read one word at a time.
- Transformer: ChatGPT, Claude and Gemini (see the lesson in How chatbots work).
Why deep learning took over
| Traditional machine learning | Deep learning | |
|---|---|---|
| Features | People decide which features matter (hand-crafted) | Learns the features by itself from raw data |
| Data needed | Works with smaller data sets | Needs large data sets |
| Best with | Tables of numbers and categories | Images, text, audio and video |
| Computing | Runs on an ordinary computer | Usually needs GPUs |
| Examples | Linear regression, decision trees, random forests | CNNs, RNNs, transformers |
Rule of thumb: for a spreadsheet of customer data, traditional machine learning is often enough and easier to explain. For photos, documents, speech or free text, deep learning usually wins.
Where deep learning is used today
| Area | Examples |
|---|---|
| Language | Chatbots, translation, speech recognition, summarising documents |
| Vision | Face unlock, reading number plates, checking damage in photos, satellite images |
| Medicine | Spotting problems in X-rays, CT and MRI scans; reading pathology slides |
| Science | Predicting protein shapes (AlphaFold), weather forecasting |
| Creating content | Generating images, music and video; colourising old photos |
| Recommendations | What to watch, buy or read next |
| Games and robots | Game-playing AI, robots that grip and sort, self-driving systems |
| Business | Fraud detection, forecasting, text-to-speech for customer service |
Go deeper: how a network is trained, CNNs, RNNs and reinforcement learning.
Try it yourself
About 15 minTrain an image model in your browser
- Open Teachable Machine (free, no sign-up) and choose Image project.
- Make two classes, e.g. thumbs up and thumbs down, and record about 30 webcam pictures of each.
- Click Train, then test it live.
What you should see: A working deep learning model in minutes. Try it with bad lighting to see where it fails.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.