What is deep learning?
Deep learning is machine learning done with deep neural networks, meaning networks with many layers stacked between input and output. The depth lets the model build up understanding in stages. Given raw pixels, the first layers learn edges, the middle layers shapes and the last layers whole objects. Nobody tells it which features to look for.
It is the method behind speech recognition, machine translation, image generation and large language models.
How does deep learning work?
A deep network is trained on a very large number of examples. For each one it makes a prediction, measures the error and adjusts its internal weights slightly to do better. Repeated across a huge dataset, the layers come to represent the patterns in the data.
Deep learning needs three things in quantity:
- Data. Often millions of examples or more.
- Compute. Training runs on specialised chips, usually graphics processing units (GPUs).
- Time and money. Training a large model from scratch is costly, which is why most companies start from a model someone else has trained.
Deep learning vs machine learning
| Classic machine learning | Deep learning | |
|---|---|---|
| Best with | Structured tables: rows and columns | Unstructured data: text, images, audio |
| Features | Chosen by people | Learned by the model |
| Data needed | Hundreds to thousands of examples can work | Usually far more |
| Compute | A laptop is often enough | GPUs |
| Explainability | Often readable | Hard to interpret |
| Typical use | Lead scoring, churn, forecasting | Language models, vision, speech |
Deep learning is a subset of machine learning, not a rival. For a table of customer data, a simpler model is often as accurate, cheaper and easier to explain.
What is deep learning used for?
- Language: chat assistants, translation, summarisation and search.
- Vision: reading documents, inspecting products, medical imaging.
- Speech: transcription and voice assistants.
- Generation: images, video, music and code.
- Recommendations: ranking what to show in a feed or a shop.
Do businesses need to do deep learning themselves?
Rarely. Most companies use deep learning through a product or an API built on a model trained by a specialist. Training your own is worth considering only with unusual data, a task existing models handle badly and a team able to maintain the result.