# Meta-learning

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

Meta-learning, or learning to learn, uses experience from multiple learning episodes to improve a learning algorithm itself. Learning new related tasks from few examples is one important application, not the definition of every meta-learning method.

Also called: learning to learn, meta learning.

## In plain language

Conventional machine learning commonly uses a fixed learning algorithm for a task. Meta-learning instead uses repeated learning episodes to improve some part of how learning is done, such as an algorithm's generalization or learning speed. Many methods learn across a family of related tasks so a new task can be learned from few examples, but the surveyed field also includes repeated episodes of a single task and objectives beyond few-shot learning. MAML is one specific method that prepares model parameters for rapid gradient-based adaptation. This is not the same as merely placing examples in a chatbot prompt.

## Technical definition

Hospedales et al. define meta-learning, in contrast with conventional approaches that solve tasks from scratch with a fixed learning algorithm, as aiming to improve the learning algorithm itself given the experience of multiple learning episodes. Model-agnostic meta-learning (MAML, Finn, Abbeel and Levine) is one method: it works with any model trained by gradient descent and optimises the parameters so that a small number of gradient steps on a small dataset from a new task generalises well. The authors apply it to classification, regression and reinforcement learning.

## How it shows up when you use agents

Meta-learning concerns how a learning procedure can improve from experience across learning episodes. The cited papers describe learning algorithms, not built-in features of a particular coding assistant. MAML is one concrete gradient-based example; it should not be mistaken for the whole field.

What breaks when it is misunderstood: the term gets stretched to cover things that are not it. Giving a chatbot a few examples in a prompt is [few-shot prompting](/glossary/few-shot-prompting) and [in-context learning](/glossary/in-context-learning). No model weights change. MAML, specifically, prepares model parameters so that a small number of gradient steps on a small new-task dataset can generalise well. Other meta-learning methods need not use MAML's gradient-adaptation mechanism.

A practical next step: if an agent proposes few-shot meta-learning, ask what related training tasks and examples are available, and compare against plain [transfer learning](/glossary/transfer-learning) or [fine-tuning](/glossary/fine-tuning) on a held-out task. The linked examples are adjacent preparation and evaluation tasks, not implementations of a meta-learning algorithm.

## Common confusions

- **Meta-learning versus transfer learning.** Transfer learning reuses learned knowledge in another setting. Meta-learning explicitly optimises some aspect of the learning process over repeated episodes; related-task adaptation is a common setup, not its entire scope.
- **Meta-learning versus few-shot prompting.** Prompting changes the input to a fixed model. Meta-learning changes or learns part of the learning procedure during training.
- **Task versus episode.** Many few-shot methods train on episodes built from small task datasets, but the survey also includes repeated episodes of a single task.
- **Myth: it removes the need for data.** The MAML abstract says the model learns from a small number of examples, but that follows training across many tasks.

## Worked examples in this catalogue

### [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: The skill checks train, validation and test files for duplicates, shared groups, time and label leakage and prints JSON.

Why it exercises the concept: Few-shot meta-learning is commonly evaluated on held-out tasks, where overlap between training and test tasks can undercut the result. This skill checks ordinary file splits, not task-level meta-learning splits, and does not train a model. Illustrative, not executed.

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

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

What you see: The skill builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.

Why it exercises the concept: A contrast case from language-model work: a held-out eval set for one feature, not a family of tasks used to train a learner. Illustrative, not executed.

### [data-analysis-eda](https://skillalmanac.com/skills/skill-almanac/data-analysis-eda)

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

What you see: The skill is a fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.

Why it exercises the concept: Before assuming a new task resembles the training tasks, a profile of both datasets can show how they differ. It does not train anything, so it is adjacent only. Illustrative, not executed.

## Related terms

- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Transfer learning](https://skillalmanac.com/glossary/transfer-learning.md)
- [Fine-tuning](https://skillalmanac.com/glossary/fine-tuning.md)
- [Few-shot prompting](https://skillalmanac.com/glossary/few-shot-prompting.md)
- [In-context learning (ICL)](https://skillalmanac.com/glossary/in-context-learning.md)
- [Gradient descent](https://skillalmanac.com/glossary/gradient-descent.md)

## Sources

- [Meta-Learning in Neural Networks: A Survey — Hospedales et al.](https://arxiv.org/abs/2004.05439), arXiv (accessed 2026-11-25)
- [Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks — Finn, Abbeel, Levine](https://arxiv.org/abs/1703.03400), arXiv (accessed 2026-11-25)

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