Sakana AI's Continuous Memory Machine Adds Dual Memory to Recurrent Models
The dual-memory split addresses a core limitation of recurrent models, where short-term computation and long-term storage compete for a single hidden vector. Researchers working on state-tracking architectures or memory-augmented networks can compare CMM's results against CTM and Transformer baselines in the paper. Its selective use of long-term memory suggests a practical route to scaling recurrence beyond fixed context lengths.
Sakana AI published a paper introducing the Continuous Memory Machine (CMM), an architecture for recurrent models.
CMM uses two memory matrices: a short-term one tracking recent neuron activity and a long-term one storing information for later steps, with a Transformer reading and writing both at every step.
It builds on Sakana's Continuous Thought Machine (CTM) and outperforms LSTM, DNC, RMC, and CTM baselines on copy, associative recall, sorting, few-shot regression, and maze solving.
CMM also generalizes to longer inputs than earlier memory-augmented networks, and attention maps show it uses long-term memory selectively for algorithmic and in-context tasks.
Interesting paper from Sakana AI on memory for recurrent models.
Recurrent models are good at state tracking, but they usually keep everything in one hidden vector, so short-term computation and long-term storage compete for the same space.
The Continuous Memory Machine gives the model two memory matrices. One short-term memory tracks recent neuron activity, and the other long-term memory stores information for later steps. A Transformer reads and writes both at every step.
It builds on Sakana's Continuous Thought Machine and beats LSTM, DNC, RMC, and CTM baselines on copy, associative recall, sorting, few-shot regression, and maze solving. It also generalizes to longer inputs than earlier memory-augmented networks.
The attention maps show the model uses long-term memory for algorithmic and in-context tasks and skips it when the task does not need it.
Paper: https://t.co/89qZ1pbDTE
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Sakana AI, Continuous Memory Machine, CTM, RNN.
Source attribution: curated from DAIR.AI (@dair_ai).