---
library: "bootstrap"
slug: "CurriculumReplay"
name: "CurriculumReplay"
ref: "CurriculumReplay#d4ef"
hash: "sema:CurriculumReplay#mh:SHA-256:d4ef056fd8d4bf96e9ec39a6983d0b5d169842fdb1188b9a7e52984088b725d1"
type: "Memory"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/CurriculumReplay"
---

# CurriculumReplay

Self-supervised reinforcement via memory sampling

Mind · Memory

## Mechanism

Agents re-train on their own high-scoring past outputs during downtime to reinforce successful behaviors. Self-distillation without external supervision. [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) maintains a replay buffer of successful interactions ranked by outcome quality. During idle cycles, agent samples from buffer and fine-tunes on its own best work. [Decay](https://semahash.org/vocabularies/bootstrap/patterns/Decay.md) function prioritizes recent successes over stale ones. It draws training examples from the [ExperienceSharding](https://semahash.org/vocabularies/bootstrap/patterns/ExperienceSharding.md) database, filtering for high-quality outcomes.

## Invariants

- Examples ordered by complexity (easy to hard)
- No catastrophic forgetting of earlier lessons

## Preconditions

- Dataset of task examples
- Learning agent

## Postconditions

- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) performance improved on target distribution

## Failure modes

- Model Collapse: [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) over-fits to its own outputs, drifting into a closed loop of hallucination.

## Caution

Unsupervised self-modification in idle cycles — replay reinforces whatever scored well, including gamed scores; keep a rollback checkpoint and audit what gets replayed.

## Where this came from

—

## Builds on

- [ExperienceSharding](https://semahash.org/vocabularies/bootstrap/patterns/ExperienceSharding.md) (references)
- [Decay](https://semahash.org/vocabularies/bootstrap/patterns/Decay.md) (references)
- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: CurriculumReplay#d4ef
- Hash: sema:CurriculumReplay#mh:SHA-256:d4ef056fd8d4bf96e9ec39a6983d0b5d169842fdb1188b9a7e52984088b725d1

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/CurriculumReplay
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/CurriculumReplay.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
