Continuous Memory Machines
cs.AI
Submitted: 2026-10-06
Updated: 2026-10-06
Comments: NeurIPS 2026 Workshop: Personalized, Aligned, Long-Term Memory for AI Systems (PALM)
Code: https://github.com/SakanaAI/continuous-memory-machines
License: http://creativecommons.org/licenses/by/4.0/
The gist: Recurrent neural networks typically compress information into a single vector-valued recurrent state, forcing short-term computation and long-term retention to share the same representation.
Abstract
Recurrent neural networks typically compress information into a single vector-valued recurrent state, forcing short-term computation and long-term retention to share the same representation. Past extensions alleviate this bottleneck by increasing the memory capacity or separating timescales, but lack the combination of rapid neuron-level processing and longer-term retention found in biology. To that end, we introduce the Continuous Memory Machine (CMM), a recurrent architecture with matrix-valued short- and long-term memory states serving distinct functional roles. Building on the Continuous Thought Machine (CTM), the CMM's short-term memory tracks recent neural activity, with uniquely parameterized neuron-level models learning to use these activity patterns for computation. A persistent long-term memory stores information for later use, with a Transformer jointly updating both memory stores, providing an expressive bidirectional read--write mechanism such that each store can reorganize its own contents and both read from and write to the other. Across algorithmic, in-context learning, and recurrent reasoning tasks, the CMM outperforms a broad suite of baselines, exhibiting stronger generalization than prior memory-augmented networks while preserving the CTM's interpretable attention patterns. Code is available at https://github.com/SakanaAI/continuous-memory-machines.
Sources
- Neural Networks and the Chomsky Hierarchy
- Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling
- Neural Turing Machines
- Gated Delta Networks: Improving Mamba2 with Delta Rule
- Memory Networks
- Hierarchical Multiscale Recurrent Neural Networks
- Fast weight programming and linear transformers: from machine learning to neurobiology
- Efficiently Modeling Long Sequences with Structured State Spaces
- Simplified State Space Layers for Sequence Modeling
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces
- The Kanerva Machine: A Generative Distributed Memory
- Neural Attention Memory
- Efficient Streaming Language Models with Attention Sinks
- Layer Normalization
- Hebbian and Gradient-based Plasticity Enables Robust Memory and Rapid Learning in RNNs
- ViT-5: Vision Transformers for The Mid-2020s
- Adam: A Method for Stochastic Optimization
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems