← All projectsGitHub
Decentralised training systems

How much of an old task must a continual learner store, and is it better to replay a little often or a lot rarely?

research/replay-memory

Partial replay when only m of an old task's r examples are stored: exact 2×2 law interpolating no replay and full replay, best-step saving nearly linear in m/r, and at a fixed example budget a few large replays beat many small ones by only 0.1–6 points.

8 tests

What it found

If only m of an old task’s r examples are stored, replaying them with a fresh task is “project out the stored subspace, then take a plain step in dimension d−m”. That gives an exact 2×2 mean-state matrix interpolating no replay (m=0) and full replay (m=r, matched to replay-law to 12 digits), agreeing with simulation at every step. One replay at its best step recovers a fraction of the full saving that is nearly linear in m/r (0.23, 0.47, 0.72 at ¼, ½, ¾ for d=12, r=4; within 0.004 of m/r at d=128, r=8). At a fixed rate, half the memory buys 57–65% of the saving. At a fixed budget of examples per step, one large replay beats many small ones, but only by 0.1–2 points of total forgetting in wide models and up to 6 in a tight one (d=12, r=4), so buffer size matters more than schedule. Stylised: realizable linear regression, exact convergence, one tracked task.

A figure from its own output

Figure produced by research/replay-memory: forgetting
replay-memory/experiments/forgetting.svg, written by the project's own experiment code.

Paper, code and results

More in Decentralised training systems

All 23 Decentralised training systems projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.