# Deep learning

> Canonical: https://skillalmanac.com/glossary/deep-learning | Last verified: 2026-11-24 | Index status: index-eligible

Deep learning is a branch of machine learning that uses neural networks with multiple layers to learn representations of data. Learned representations can reduce manual feature design, although deep networks can also use features engineered by people.

Also called: deep machine learning, DL.

## In plain language

Deep learning trains neural networks that combine several layers of transformations. For an image task, different layers can learn features used together to recognize a pattern. Training adjusts parameters to reduce a chosen loss, but does not guarantee useful predictions on new examples. Depth describes a sequence of transformations, not simply a large number of parameters. Data and compute needs depend on the architecture and task.

## Technical definition

Deep learning uses neural networks with multiple layers to learn intermediate representations. These networks are commonly trained with backpropagation and gradient-based optimization. Inputs may be raw data or engineered features: TensorFlow's forecasting tutorial, for example, engineers wind and time features before training neural networks. Data, compute and interpretability requirements depend on the model and task; transfer learning can reuse an existing model rather than training from scratch.

## How it shows up when you use agents

Deep neural language models can supply the language-modeling component of coding agents. Using a trained model to produce an output is [inference](/glossary/inference); training or fine-tuning updates its parameters. An agent can also call a training tool, so using an agent does not by itself tell you whether training is happening.

It appears in agent work in three places.

- **Hardware limits.** Memory and compute needs depend on the model. Large models can exceed a particular device's capacity. If you host an open-weight model yourself, the [local model sizing skill](/skills/skill-almanac/local-model-sizing) tells you whether it will fit.
- **Evaluation.** If you train or fine-tune a model, a held-out evaluation estimates performance on examples excluded from fitting and tuning. The [split leakage check](/skills/skill-almanac/split-leakage-check) looks for duplicates and shared groups across your splits.
- **Explanations.** IBM notes that deep models are often called black boxes. A generated explanation is not, by itself, a faithful account of the internal computation.

Deep-learning work can train a model from scratch or adapt an existing deep network. An ordinary inference request need not perform either operation.

## Worked example (illustrative)

Imagine a layered image network whose first transformation detects local patterns and whose later transformations combine them. That describes a hierarchy of learned representations. Adding a second output category does not, by itself, make the network deeper; adding another transformation along a computation path can. This is an architectural illustration, not a trained or benchmarked model.

## Common confusions

- **Deep learning versus machine learning.** Deep learning is a subset of machine learning. Deep networks learn intermediate representations, but they can also consume features people design by hand. See [Machine learning](/glossary/machine-learning).
- **Deep learning versus neural network.** A neural network is the model. Deep learning is the practice of training networks with many layers. See [Neural network](/glossary/neural-network).
- **Deep learning versus AI.** AI is the broad goal. Deep learning is one method used to reach it, and not the only one.
- **Myth: more layers always means better.** Adding layers does not guarantee better held-out results. Architecture, optimization, data and the task all matter.

## Worked examples in this catalogue

### [local-model-sizing](https://skillalmanac.com/skills/skill-almanac/local-model-sizing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A report on whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight memory.

Why it exercises the concept: Layer depth and parameter count are different properties. This skill estimates weight-memory requirements; running a model also needs memory for other parts of the computation.

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A JSON report on whether train, validation and test files share duplicates, groups, time ranges or labels that would inflate results.

Why it exercises the concept: Deep learning needs held-out data to show it generalises. Leakage between splits makes a model look better than it is, so this check protects the measurement.

### [What Is an LLM? The Facts Agent Users Need](https://skillalmanac.com/learn/what-is-an-llm-for-agent-users)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An explanation of how a language model predicts text one token at a time and what that means for context, cost and errors in agent runs.

Why it exercises the concept: Large language models are deep learning systems. The guide covers what that means for the way coding agents behave.

## Related terms

- [Neural network](https://skillalmanac.com/glossary/neural-network.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Artificial intelligence (AI)](https://skillalmanac.com/glossary/artificial-intelligence.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Supervised learning](https://skillalmanac.com/glossary/supervised-learning.md)
- [Transformer](https://skillalmanac.com/glossary/transformer.md)

## Sources

- [What is deep learning?](https://www.ibm.com/think/topics/deep-learning), IBM (accessed 2026-11-23)
- [Machine Learning Glossary](https://developers.google.com/machine-learning/glossary), Google for Developers (accessed 2026-11-23)
- [Time series forecasting: feature engineering and neural models](https://www.tensorflow.org/tutorials/structured_data/time_series), TensorFlow (accessed 2026-11-24)
- [Deep Learning, Chapter 1: Introduction](https://www.deeplearningbook.org/contents/intro.html), Goodfellow, Bengio and Courville (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
