Purpose
Turn selective replay, consolidation, and forgetting into a costed decision problem. This note specifies a testable controller; it does not claim that its score is biologically implemented or optimal.
Memory items and actions
At maintenance cycle , the candidate memory set is . Each item may receive one action
The action is versioned. weaken and delete are invalid unless an external
provenance record or explicit retention-policy exception exists.
Expected utility
For item and action , estimate
where:
- is the predicted reduction in future task loss
relative to
defer(dimensionless loss units); - is the predicted reduction in a declared risk metric (risk units);
- is the predicted improvement in schema-consistent transfer (dimensionless score units);
- is predicted destructive-action harm, including rare memory loss and provenance failure (harm units);
- has units loss/risk;
- has units loss/score; and
- has units loss/harm.
The terms cannot be added before the conversion coefficients and evaluation sets are declared. Novelty, uncertainty, reward surprise, familiarity, and interference are features used to estimate these outcomes, not interchangeable units of utility.
Resource model
For each candidate action, predict:
- — energy in joules;
- — data moved in bytes;
- — wall time in seconds; and
- — slow-model optimizer updates (count).
The scheduler selects binary variables :
subject to
has units loss/joule. The four budgets prevent a scheduler from appearing efficient by hiding memory traffic, time, or optimizer work behind a single energy proxy.
This is a multiple-choice multidimensional knapsack problem when predictions are fixed. The first experiment need not solve it exactly; greedy, learned, and standard replay priorities are compared under the same budgets.
The illustrative single-item price envelope shows how the upper admissible action can change with . Its gains, costs, and selected actions are hypothetical and are not a fitted policy.
Reconsolidation gate
Retrieval produces a candidate branch rather than mutating the stored item in place. Let be a calibrated mismatch statistic and a gate:
If , the item remains read-only. If , an update branch is allowed but promotion still requires regression and provenance tests. Because the exact biological prediction-error boundary is disputed under C-040, is an experimental variable, not a biological constant.
Required ablations are:
- always read-only;
- always writable on retrieval;
- fixed mismatch threshold;
- calibrated risk-dependent threshold; and
- explicit source-version change rather than inferred mismatch.
Schema-fit gate
Let be schema-fit estimated on a held-out structural probe and be shortcut risk. A candidate may receive a cheaper merge path only when
The thresholds and are calibrated on validation streams with both compatible items and deceptive near-matches. Training loss alone is not a schema-fit measure.
Measurement protocol
Report both realized and predicted quantities:
| Quantity | Unit | Boundary |
|---|---|---|
| replay compute energy | J | accelerator or node, declared per run |
| memory traffic | byte | host–device and device memory reported separately |
| maintenance time | s | wall clock, including scheduler |
| optimizer work | update count | slow-model updates only |
| retention | task metric by item age | fixed evaluation stream |
| adaptation | events or seconds to threshold | after declared change point |
| obsolete intrusion | error count/rate | outdated association probes |
| destructive error | item count/rate | deleted state later shown necessary |
| provenance recovery | fraction | deleted items reconstructable from source |
Calibration error between predicted and realized outcome is itself a core result. A scheduler that makes good-looking choices only after seeing future tests is invalid.
Falsification
The memory-lifecycle controller fails its first test if a conventional single-priority or reservoir baseline matches its quality–risk–energy frontier, if scheduling overhead consumes the saved replay budget, or if destructive errors exceed the declared safety bound.