Should a learning memory rehearse what it gets wrong, or what looks easy to confuse? Two pre-specified tests of replay selection in a simulated memory

When a memory system rehearses material during an offline "sleep" phase, which items should it rehearse: the ones it currently gets wrong, or the ones that look easy to confuse? We tested this in a computer simulation of an overloaded memory that learns 1,440 invented facts (synthetic data, no language model). Choosing rehearsals from the memory's prediction errors, or from an estimate of which rehearsal would improve its recall, kept about 6 to 7 percentage points more older facts than random. Geometric choices based on the stored archive, including the energy of a Hopfield network, did about 4 to 6 points worse than random. Takeda et al. (2026) report that, for modern Hopfield networks and diffusion models, high-energy outlier-like samples are forgotten most and gain most from replay. Our setting differs from theirs and does not test that claim: here the energy is computed over an archive with overwritten facts and ranks replays for a separate linear memory. The memory is a linear delta-rule matrix fed 1,800 key-value writes with 360 overwrites; every policy gets 30 replay steps per session. Experiment 0 tested whether a sampled energy barrier to near neighbours beats episode energy by at least 0.03 in recall. It did not: the gain was +0.014 (one-sided 95% upper bound 0.019), and all 3,000 sampled arc maxima failed the stationarity check. This check did not search the full energy landscape for saddles. Experiment 0b was specified after Experiment 0 and run on fresh seeds with frozen code. It confirmed three contrasts, each positive in 30 of 30 streams. Counterfactual replay beat random by +0.071 (one-sided 95% lower bound 0.065), and surprise beat random by +0.057 (0.051). Random beat energy by +0.056 (0.051). Surprise improved delayed recall but produced more false memories than random. Descriptively, the other four geometric selectors stayed 0.041 to 0.046 below random. In an exploratory follow-up, random replay that put still-current episodes first had a post hoc recall estimate +0.003 above counterfactual (95% bootstrap interval -0.002 to 0.008). This variant used ground-truth key IDs that the error-driven policies did not have. Both protocols were pre-specified and frozen in the author's private git repository before their runs, with author-recorded freeze dates of 19 and 22 November 2026. They were not submitted to a registry; SHA-256 hashes identify the archived files but do not independently verify the freeze dates. The protocol files are in Polish; Appendix A of the preprint lists every pre-specified hypothesis in English. The protocols, code and text were reviewed by AI models, not by independent human reviewers. Files: the preprint PDF (CC BY 4.0), its source text manuscript.md and the replication archive F3_replication_v0.3.zip. The archive script (odtworz_tabele.py --compare manuscript.md) uses the source text to check every table against the rebuilt values. The archive holds the code under the MIT License, a README with the commands, REDACTIONS.md and SHA256SUMS.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24681024
Primary Topic
Memory Processes and Influences
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Should a learning memory rehearse what it gets wrong, or what looks easy to confuse? Two pre-specified tests of replay selection in a simulated memory

Mariusz Kulma
Zenodo (CERN European Organization for Nuclear Research)
Memory Processes and Influences
preprint

Should a learning memory rehearse what it gets wrong, or what looks easy to confuse? Two pre-specified tests of replay selection in a simulated memory

Mariusz Kulma
preprint en

Abstract

When a memory system rehearses material during an offline "sleep" phase, which items should it rehearse: the ones it currently gets wrong, or the ones that look easy to confuse? We tested this in a computer simulation of an overloaded memory that learns 1,440 invented facts (synthetic data, no language model). Choosing rehearsals from the memory's prediction errors, or from an estimate of which rehearsal would improve its recall, kept about 6 to 7 percentage points more older facts than random. Geometric choices based on the stored archive, including the energy of a Hopfield network, did about 4 to 6 points worse than random. Takeda et al. (2026) report that, for modern Hopfield networks and diffusion models, high-energy outlier-like samples are forgotten most and gain most from replay. Our setting differs from theirs and does not test that claim: here the energy is computed over an archive with overwritten facts and ranks replays for a separate linear memory. The memory is a linear delta-rule matrix fed 1,800 key-value writes with 360 overwrites; every policy gets 30 replay steps per session. Experiment 0 tested whether a sampled energy barrier to near neighbours beats episode energy by at least 0.03 in recall. It did not: the gain was +0.014 (one-sided 95% upper bound 0.019), and all 3,000 sampled arc maxima failed the stationarity check. This check did not search the full energy landscape for saddles. Experiment 0b was specified after Experiment 0 and run on fresh seeds with frozen code. It confirmed three contrasts, each positive in 30 of 30 streams. Counterfactual replay beat random by +0.071 (one-sided 95% lower bound 0.065), and surprise beat random by +0.057 (0.051). Random beat energy by +0.056 (0.051). Surprise improved delayed recall but produced more false memories than random. Descriptively, the other four geometric selectors stayed 0.041 to 0.046 below random. In an exploratory follow-up, random replay that put still-current episodes first had a post hoc recall estimate +0.003 above counterfactual (95% bootstrap interval -0.002 to 0.008). This variant used ground-truth key IDs that the error-driven policies did not have. Both protocols were pre-specified and frozen in the author's private git repository before their runs, with author-recorded freeze dates of 19 and 22 November 2026. They were not submitted to a registry; SHA-256 hashes identify the archived files but do not independently verify the freeze dates. The protocol files are in Polish; Appendix A of the preprint lists every pre-specified hypothesis in English. The protocols, code and text were reviewed by AI models, not by independent human reviewers. Files: the preprint PDF (CC BY 4.0), its source text manuscript.md and the replication archive F3_replication_v0.3.zip. The archive script (odtworz_tabele.py --compare manuscript.md) uses the source text to check every table against the rebuilt values. The archive holds the code under the MIT License, a README with the commands, REDACTIONS.md and SHA256SUMS.

Zenodo (CERN European Organization for Nuclear Research)
Memory Processes and Influences
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon