Memoir: Should a Model Write to Its Memory While It Thinks?
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
Create a lesson
Metadata
- Categories
- cs.LG, cs.NE
- Comments
- 9 pages, 4 figures, 4 tables, 1 algorithm. Code: https://github.com/RightNow-AI/Memoir
Related papers
Spec2Weights: Certifying Networks that a Language Model Writes from a Specification
Shared title terminologycs.LGSoumik Bhattacharjee, Musa Tur Farazi, Md Nasir Uddin et al.
Tune for Retention, Not Just Gain: SFT Forgets Far Less than You Think
Shared title terminologycs.LGNirmit Joshi, Nathan Srebro, Eran Malach
State Space Attention: Learning Context-Dependent Memory Retention
Shared title terminologycs.LGEge Çakar, Cengiz Pehlevan
The Geometry Is the Memory: Task-Density Routing for Continual LoRA
Shared title terminologycs.LGAlireza Heidari, Thomas Veasey, Mariano Tepper
RED-PIM: Reducing Data Movement for Transformers using Processing-in-Memory
Shared title terminologycs.LGZahra Yousefijamarani, Alaa Alameldeen
The Orthogonalized Read Is a Removable Training Scaffold for Recurrent Memory
Shared title terminologycs.LGKeston Aquino-Michaels