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

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

22 Jul 2026arXiv:2607.20792added by Syntology

Jaber Jaber, Osama Jaber

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.20792")

Code

Syntology Ran 2 of 10 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

RightNow-AI/Memoir found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 2 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran
8unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from RightNow-AI/Memoir. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AssemblyPolicy RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · c693148074b5deb9 · report
MemoirConfig RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 1538e4a8cd42d885 · report
EnergyHead RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8e1d9f63fc9f2e06 · report
LatentPredictor RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1920bbd090ce4ee5 · report
MemoirModel RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 445583fc6385b937 · report
MemoirOutput RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6670559db59d8096 · report
PonderCore RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 04995f96606ae69b · report
PonderOutput RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 87155f62b0f199ae · report
TierState RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 15f91f24a57e0d1d · report
UpdateRule RightNow-AI/Memoir/memoir/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6a3b35169a4d7957 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.20792, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections