Skip to content
Ritchie's improved liquid compass in section: the long magnet float on its pivot in the liquid under the glass, between the radial plates that stop the liquid swirling, the expansion chamber below, Fig. 1 of US Patent 38,126, 1863, the float in orange

E. S. Ritchie.Mariner's Compass. US Patent 38,126. 1863.

Oct 2026

CLU

Retention You Can Predict, Scope and Delete: a (μ,γ,T) Law and a Structural Deletion Guarantee for a Physics-Structured Memory Store

World Model Research
Authors
Pratik Jawahar, Riccardo Maggioni, Jonas Petersen, Matteo Cozzi, Gian-Alessandro Lombardi, Marek Gajewski, Camilla Mazzoleni, Federico Martelli, Maurizio Pierini
Affiliations
CERN · Forgis · ETH Zürich
Venue
STODY @ NeurIPS
Memory stores for AI agents decide what to forget with bookkeeping, such as decay factors, expiry dates and forget gates. This study builds the store as a physical system instead, so that forgetting follows from its physics. Three dials set how long a value lasts, a local patch of friction keeps one memory 107.77 times longer, and a deleted item leaves the store byte-identical to one that never held it.
Dials that set retention
3
Orders of magnitude, one curve
11
Longer retention in the vault
107.77×
Bytes differ after a deletion
0

Overview

AI agents keep long-term memory in external stores that they write to, read from and edit. These stores decide what to forget with bookkeeping: a decay factor, an expiry timestamp, a learned forget gate or an explicit delete call. None of these rules says how fast a stored value actually fades, what changing a setting does to that rate, or what is left behind once an item is removed. Deletion is the weakest point. Dropping a row or marking an entry as invalid can leave traces, and soft-deleted vectors in some databases can still be reconstructed from the raw files.

This study builds the memory store as a physical system, so that forgetting follows from its physics and can be calculated in advance. That turns three practical questions into ones with exact answers: how quickly does memory fade, can one item be kept longer than the rest, and does deleting an item really remove it?

TL;DR. When the store is a physical system, three dials set how long a value lasts, and the setting at which memory is shortest can be computed beforehand. A small patch of extra friction acts as a vault that keeps one memory 107.77× longer, and a deleted item leaves the store byte-identical to a store that never held it.

The store as a physical system

The store is a Causal Learning Unit (CLU), first introduced as CHLU in an earlier paper. An encoder writes each item into a latent state that has a position and a momentum, like a ball on a landscape.

The CLU diagramAn input passes through an encoder, which gives a position and momentum (q, p) to the CLU: a sphere holding energy curves with a particle resting in a well.inputencoder(q,p)CLU
Figure 1. The CLU is a latent-dynamics unit that acts on the output vectors of any Neural Network-based encoder. It learns which latent features are important, where to store them in the latent space, and how to easily retrieve them when required.

At every step the state moves according to a learned energy landscape, loses some of its momentum to friction and, if the temperature is above zero, receives a small random kick. A value is stored along a nearly flat direction of that landscape, where almost nothing pushes it away. How long it survives then depends on three dials.

Stiffness

How strongly the value is held in place

Every stored value sits along some direction of the latent space. The steeper the energy landscape is along that direction, the faster the value is pulled away from what was written. In the paper this is the spectral mass μ.

Friction

How quickly motion dies down

After every step a fraction of the momentum is removed. This is the damping γ, the setting that usually plays the role of a forget rate.

Temperature

How much random jostling there is

Small random kicks added at every step slowly blur what is stored. Their size is set by the temperature T. At zero temperature there are no kicks at all.

Because one update step can be written down exactly, each of these effects can be predicted and then measured. We test two kinds of store: designed units, whose flat directions are built in by hand (five training runs), and learned units, where a small neural network has to find them itself (three training runs).

Three answers

1. How fast memory fades has a predictable turning point

One would expect more friction to mean shorter memory. It doesn't. As friction increases, the half-life of a stored value first falls and then rises again, tracing a V. The bottom of the V, where memory is shortest, sits close to a value that follows from the stiffness alone, so it can be calculated instead of tuned. On the designed units the measured minima lie between 0.076 and 0.096, against 0.082 to 0.116 from the formula. On the learned units they sit consistently at 0.90 of the formula's value, a small gap the formula does not explain.

Figure 2. Eight measured curves fall onto oneHalf-life against friction, both scaled to the predicted turning point. Eight measured curves, five designed and three learned, collapse onto one V-shaped curve with its minimum at the predicted point.10−1100101100101102designedemergentγ/γcritn1/2/n1/2min10−1210−6100μ2 Figure 2. Eight measured curves fall onto oneHalf-life against friction, both scaled to the predicted turning point. Eight measured curves, five designed and three learned, collapse onto one V-shaped curve with its minimum at the predicted point.10−1100101100101102designedemergentγ/γcritn1/2/n1/2min10−1210−6100μ2
Figure 2. Eight measured curves fall onto one. Each point is a half-life against friction, both scaled to the predicted turning point (dotted vertical line). Circles are the five designed units, squares the three learned units, and colour gives the stiffness of the stored direction.

Designed and learned units follow the same curve, which holds over roughly eleven orders of magnitude in stiffness. We also measured it a second way, by running the full dynamics forward instead of reading it off a single step, and the turning point agrees to within 0.35%.

2. A vault for a single memory

Along a perfectly flat direction and at zero temperature, a written value stays put. In all 30 test runs on five designed units it drifted at most 4.9×10−12 radians over 200,000 steps. Friction is what makes this work: with friction switched off, the same value drifted 142.7 radians within 20,000 steps.

Once the temperature is above zero, the random kicks slowly blur a stored value, and here the dials behave in opposite ways. More friction now preserves memory, raising the half-life 3.77× when friction goes from 0.05 to 0.2, while a higher temperature erases it. That suggests a way to protect one item: surround it with a small patch of extra friction. Inside the patch motion dies down faster, and the local temperature drops by 7.94×. A value stored there lasts 107.77 ± 4.78 times longer than one outside, close to the predicted 110.25. Raising the friction everywhere to the same level gains only 13.28×, so it is the local patch that does the work.

Figure 3. The friction patch as a vault, on three designed unitsThe friction patch as a memory vault. (a) Momentum variance inside the patch follows the predicted curve, showing local cooling. (b) The blurring rate falls much faster with a friction patch than with uniform friction. (c) Half-lives inside the patch are far longer than outside it, for three seeds.0.20.40.000.250.500.751.00absorb-onlycoupled bathmeasuredγeffVar(pi)/(MiT)(a)10−110−510−410−3absorb-onlycoupled bathscalar frictionfieldγeffDθ(b)424344103104105outsideinsideseedn1/2 (steps)(c) Figure 3. The friction patch as a vault, on three designed unitsThe friction patch as a memory vault. (a) Momentum variance inside the patch follows the predicted curve, showing local cooling. (b) The blurring rate falls much faster with a friction patch than with uniform friction. (c) Half-lives inside the patch are far longer than outside it, for three seeds.(a)absorb-onlycoupled bathmeasured0.20.40.000.250.500.751.00γeffVar(pi)/(MiT)(b)absorb-onlycoupled bathscalar frictionfield10−110−510−410−3γeffDθ(c)outsideinside424344103104105seedn1/2 (steps)
Figure 3. The friction patch as a vault, on three designed units. (a) Inside the patch the random motion shrinks as predicted (line): the patch cools its contents. (b) For the same overall friction, a local patch (circles) slows blurring far more than uniform friction (square). (c) Half-lives outside (yellow) and inside (orange) the patch.

3. Deletion that leaves no trace

When many items share one energy landscape, where an item ends up usually depends on the order in which items were written. Deleting one then leaves the store in a state that still reflects its history. We instead place every item canonically, using an existing scheme by Blelloch and Golovin, so that the layout depends only on which items are currently stored, never on how they got there. Fading and deleting then touch separate parts of the store and cannot interfere.

The result is exact. After a deletion, the store is byte-identical to one that never received the item. We checked this on all 24 insertion orders of four items, on 200 random orders at 8, 16, 40 and 64 items, on 100 mixes of writes and deletes, and on deletions made while items were fading, and it held every time. The tidy layout also packs better: at a capacity of 64, canonical placement admitted 61 of 64 items, against 43 for a random allocator.

The guarantee needs enough capacity and a rule that evicts items by priority rather than by age. It covers the store itself, not anything a learned encoder may have absorbed, so it is not a claim about removing information from a trained model. Keeping the layout canonical also means rebuilding it after every change, so we make no claim about the cost of a deletion.

Limits and next steps

These are early results on small stores: a latent dimension of four, a hidden size of 64 and a single CPU, with five designed and three learned units. The exact hold at zero temperature needs flat directions that are designed into the architecture, and the results above zero temperature need a specific, physically consistent kind of noise. We report laws and guarantees, checked on designed stores, and no results on real tasks yet.

Next, we want to test the curve on a wider range of learned units, measure the vault again, measure the cost of each deletion against ordinary flat stores, and build stores with local temperature fields. The aim is a memory that a model acting on real data can reorganise in a useful and controllable way.

Getting started

The paper is on arXiv, and the code is on GitHub.

Citation

@misc{jawahar2026retention,
  title         = {Retention You Can Predict, Scope and Delete: a $(\mu,\gamma,T)$
                   Law and a Structural Deletion Guarantee for a Physics-Structured
                   Memory Store},
  author        = {Jawahar, Pratik and Maggioni, Riccardo and Petersen, Jonas and
                   Cozzi, Matteo and Lombardi, Gian-Alessandro and Gajewski, Marek and
                   Mazzoleni, Camilla and Martelli, Federico and Pierini, Maurizio},
  note          = {NeurIPS 2026 Workshop STODY},
  year          = {2026},
  eprint        = {2611.34987},
  archivePrefix = {arXiv}
}

Papers

Are you a researcher?

Publish with us.
Help build one world model for any machine and robot.

Forge temperature: 1508°C
Status: Active