SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.20792 · 2026

Memoir: Should a Model Write to Its Memory While It Thinks?

Jaber Jaber, Osama Jaber

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
RightNow-AI/Memoir — 2 of 10
FunctionStatusWhere it lives
AssemblyPolicy Ran RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("c693148074b5deb9")
MemoirConfig Ran RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("1538e4a8cd42d885")
EnergyHead Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("8e1d9f63fc9f2e06")
LatentPredictor Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("1920bbd090ce4ee5")
MemoirModel Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("445583fc6385b937")
MemoirOutput Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("6670559db59d8096")
PonderCore Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("04995f96606ae69b")
PonderOutput Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("87155f62b0f199ae")
TierState Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("15f91f24a57e0d1d")
UpdateRule Not yet run RightNow-AI/Memoir/memoir/model.py
code served (permissive licence) · get_code("6a3b35169a4d7957")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Memoir combines per-sample fast memory, shared slow parameters, variable-depth latent recurrence, and a future-latent energy objective. We test its riskiest coupling: each pondering iteration may rewrite the fast tier that the same iteration reads. On procedural associative recall with key interference, we compare a coupled arm against an otherwise identical read-only pondering arm. Both arms contain 81,738 parameters, including 76,362 trainable parameters, and use matched declared forward multiply-accumulate counts, data, optimizer, schedule, and seeds. After 240 training steps across 12 seeds, coupled recall is 0.5203 with a 95 percent interval of [0.4522, 0.5883], while read-only recall is 0.6557 with [0.5953, 0.7160]. The arms are paired per seed, and the read-only lead of 0.1354 gives a paired t of 3.23 on 11 degrees of freedom with a 95 percent interval of [0.0431, 0.2277] on the difference, winning on 10 of 12 seeds. After 960 steps across 8 seeds, both arms reach 1.0000, so the measured effect is a learning-speed penalty at a fixed budget, not a demonstrated capability penalty. That longer control is ceiling limited, leaving convergence on a non-saturating task unmeasured. A predicted failure in which memory rewriting corrupts the energy signal did not occur: the energy margin grew and held. Kernel restructuring also reduced delta-rule forward time from 0.907 ms to 0.351 ms on the stated device. Code and evidence are available at https://github.com/RightNow-AI/Memoir

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.20792")
get_code_for_paper("2607.20792")
have("2607.20792")

Connect an agent — have() is free.