C. Huygens.Horologium Oscillatorium. 1673.
Certified Access
Test-Time Compute on Conservative Physics-Structured AI Memory
- Authors
- Pratik Jawahar, Riccardo Maggioni, Jonas Petersen, Matteo Cozzi, Gian-Alessandro Lombardi, Marek Gajewski, Camilla Mazzoleni, Federico Martelli
- Affiliations
- CERN · Forgis · ETH Zürich
- Venue
- LCFM @ NeurIPS
- Ways a memory is out of reach
- 2
- Guarantees per mechanism
- 3
- Energy for a matched jump
- 0
- Fewer recall steps
- 9.9×
Overview
Models increasingly spend more compute on hard inputs than on easy ones. They retry, stop early when they are confident, or route a query to a different part of the network. These mechanisms are usually a learned switch attached to an ordinary network, and they say nothing about what the extra compute actually does to the model's internal state.
This study asks that question for a memory built as a physical system. In such a memory, recalling something means letting the state settle into it, and spending extra compute means reaching a state that ordinary settling cannot get to. Because the memory follows physical rules, every way of doing this comes with guarantees we call certificates. They say whether the step keeps all the information in the state, how much energy it adds, and what happens to the content stored along the way.
Two ways a memory can be out of reach
The memory is a Causal Learning Unit (CLU), first introduced as CHLU in an earlier paper. An encoder writes each item into a latent state with a position and a momentum, and a learned energy landscape moves that state forward step by step, with friction slowly removing energy. Recall is the state rolling downhill into the memory it is looking for.
The CLU also has a speed limit, so in a given number of steps the state can only travel so far. That defines a box around its starting point, and it leaves two ways for a memory to be out of reach. The memory can lie inside the box but behind an energy barrier the state cannot climb, or it can lie outside the box altogether, too far to get to in time. Each case gets its own mechanism.
The squeeze
A short, targeted boost along one direction gives the state enough energy to hop over the barrier. The extra energy is bounded in advance, and the friction absorbs it again within a predictable number of steps.
The gated channel
A learned pair of entry and exit points acts as a shortcut. When the gate opens, the state is moved from one end to the other in a single step, however far apart they are. The jump costs exactly the difference in energy between its two ends.
Both jumps keep all the information in the state: nothing is squashed together or lost, which the paper certifies by showing the jump preserves volume in the space of states exactly. For the gated channel this only holds if the gate stays fixed while the jump happens. A gate that changes during the jump breaks the guarantee, however short the jump is.
Checking the guarantees
We first tested both mechanisms on a small designed setup, where the barriers and distances are known exactly and the channel ends are placed by hand. A target lies either inside the box or beyond it, and the question is whether the state lands there.
| Mechanism | Inside the box | Beyond the box | What happens to the state |
|---|---|---|---|
| Settling only | 0% | 0% | Stays stuck behind the barrier |
| Squeeze | 100% | 100% at 3.2, 0% at 4.0 and 5.0 | Keeps information, adds bounded energy |
| Gated channel | 100% | 100% | Keeps information, no energy added here |
| Overwriting the state | 100% | 100% | Destroys the stored information |
Simply letting the memory settle never gets past the barrier. The squeeze clears barriers inside the box, and can reach a little beyond it, but the energy it needs grows quadratically with how far past the box the target lies, so the farthest targets need more than its budget. The gated channel lands everywhere, at no energy cost on this setup, because its two ends sit at the same height.
Overwriting the state with the target lands everywhere too, but it destroys what the state was carrying. To see this, we followed 16 states that each carried a stored value. The channel shifted every value by exactly the predicted amount and kept their spread unchanged, so each original state can be recovered. Overwriting turned all 16 into the same value. A random jump that also preserves volume scrambled them, which shows that keeping information is not enough on its own: the channel has to be matched to what is stored.
Where the guarantee stops
Keeping information and adding no energy do not mean the state stays safe. If the exit of a jump lies outside the region where the landscape holds the state in, the state can run off indefinitely. In one test an exit cost exactly zero energy and the state still escaped at once. A check that refuses jumps leaving the safe region fixed this: without it the state ran out to a distance of about 100, with it the state stayed within 0.09. The check, not the jump itself, keeps the state bounded.
On a trained memory
A trained memory has no hand-designed landscape, so we tested the ideas on CLUs trained to recall key-value pairs. The first is a gate that decides how much settling each query needs. Before use, the memory quizzes itself with slightly altered copies of its own keys and learns when a short recall is enough. On a small, briefly trained memory with 16 stored pairs it cut the settling steps 4.81× while also getting more answers right. The gain shrinks as the memory holds more, and with full training the gate answers as accurately as full-effort recall, though not more so.
Across 198 runs over memory size and training length, a well-trained memory stored its pairs almost perfectly, and the gate cut the settling steps 9.9×, 9.5× and 6.2× at 32, 64 and 96 stored pairs. Beyond 64 pairs, it is the training budget, not a hard capacity limit, that holds the memory back. The gate fails on noisy queries, though: with strong noise added, it answered only 36% correctly while the memory itself still held everything. We record this as an open problem.
The second test is long-distance routing on a grid. A single direct jump keeps the compute flat as the distance grows, whereas spreading step by step gets more expensive. However, a router of the same size that ignores physics did better on both counts, with 100% against 88.7% accuracy on the smaller grid and 94.8% against 71.5% on the larger one, at lower cost.
Limits and next steps
The certificates hold under stated assumptions. The friction must stay fixed within a step, so they do not cover the memory's automatic energy control. The guarantee on stored values holds at the moment of the jump, not over the whole recall that follows. And the channel can be undone only for a fixed gate, not for a whole routing policy that chooses between gates. The designed setup is small, and there the channel ends were placed by hand. The main contribution is the set of guarantees and a map of where they stop, not a lead on any benchmark.
Next steps are learning where to place the channel ends, treating retries as a process with guarantees of their own, and testing on learned memories at scale.
Getting started
Citation
@misc{jawahar2026certified,
title = {Certified Access: Test-Time Compute on Conservative
Physics-Structured AI Memory},
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},
year = {2026},
eprint = {2610.39073},
archivePrefix = {arXiv}
} Papers
Are you a researcher?
Publish with us.
Help build one world model for any machine and robot.
P - 6.2 bar (Pressure)
RH - 48 % (Humidity)
A - 0.32 g (Acceleration)
V - 1.8 mm/s (Vibration)
RPM - 1450 (Speed)
τ - 92 Nm (Torque)
U - 400 V (Voltage)
I - 18.6 A (Current)
Pwr - 11.2 kW (Power)
E - 7.4 kWh (Energy)
S - 72 dB (Sound)
US - 38 kHz (Ultrasound)
Prox - ON Proximity)
Dist - 42 mm Distance)
Enc - 12480 Position)
CS - 0.85 m/s Conveyor)
Part - TRUE Presence)
CT - 4.2 s Cycle)
TPH - 860 u/h Throughput)
Scr - 1.3 % Scrap)
DT - 3.6 min/h Downtime)
OEE - 78 % Efficiency)
ΔT – 5 °C/min (°C/min · termical gradient)
N – 1245 pcs (pieces unit counting)
W – 12.5 kg (kg · load)
cosφ – 0.92 (adimensional)
L – 850 lux
CO₂ – 820 ppm (ppm · gas concentration
Forgis builds the world model that brings physical intelligence into hardware.