# What is Experience replay? Definition and meaning

Keeps a buffer of earlier examples and trains on them alongside the new task.

## Definition

**Experience replay**: Keeps a buffer of earlier examples and trains on them alongside the new task.

In short: Mixing stored past examples into new training.

## When it is used

The strongest simple defence against forgetting.

## Learn more

The full guide to **[Experience replay](/tools/experience-replay)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [ExLlamaV2](/glossary/exllamav2) · Next term: [FAISS](/glossary/faiss)
