arXiv Machine Learning

A single inference process underlies the behavior and neural circuits of working memory

The paper introduces MemGP, a unified theory of working memory that operates as probabilistic inference over a continuous function, balancing memory strength against a Gaussian‑process prior. At the algorithmic level, memory operations are modeled as approximating this posterior with a shared set of inducing points, reproducing behavioral phenomena such as load‑dependent precision loss, attentional benefits, and inter‑item interactions. The theory analytically maps onto a recurrent neural circuit, predicting delay‑dependent drift, center‑surround connectivity, and a blend of persistent activity and synaptic weights, thereby reconciling diverse behavioral and neural observations within a single inference framework.

arXiv AI
Oct 7

Continuous Memory Machines

The paper introduces the Continuous Memory Machine (CMM), a recurrent neural network that uses separate matrix-valued short‑term and long‑term memory states. Short‑term memory tracks recent neural activity with neuron‑level models for rapid computation, while long‑term memory stores information for later use; both are jointly updated by a Transformer that allows bidirectional read‑write operations. Experiments on algorithmic, in‑context learning, and recurrent reasoning tasks show that CMM outperforms many baselines and generalizes better than previous memory‑augmented networks, while maintaining interpretable attention patterns from the Continuous Thought Machine.

By Ciaran Regan, Kai Arulkumaran, Luke Darlow, Stefania Druga, Sebastian Risi, Llion Jones
arXiv AI
Jul 14

Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attention

arXiv:2607. 09889v1 Announce Type: cross Abstract: Fixed-state sequence models compress an unbounded past into a bounded state, which caps their associative recall at roughly the state dimension; attention escapes the cap by keeping a key-value entry for every token, at quadratic compute and a cache that grows with the sequence.

By Siddharth Pal, Viktoria Rojkova
arXiv Machine Learning
Aug 11

Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba

arXiv:2503. 18970v4 Announce Type: replace Abstract: Structured State Space Models (SSMs) have become a prominent class of sequence models, developed against two long-standing difficulties: the sequential computation and gradient propagation limits of Recurrent Neural Networks (RNNs), and the quadratic time and memory cost of self-attention in Transformers.

By Shriyank Somvanshi, Md Monzurul Islam, Mahmuda Sultana Mimi, Sazzad Bin Bashar Polock, Gaurab Chhetri, Anandi Dutta, Amir Rafe, Subasish Das
arXiv AI
Oct 27

Multitask Interactions in Recurrent Dynamics across 100 Cognitive Tasks

The study trains hierarchical Almost-Linear RNNs on 100 diverse cognitive tasks to investigate how tasks interact when learned jointly. It finds that adding nonlinearity and task-feature dimensionality improves performance, and that a hierarchical model outperforms both individually trained models and a single unstructured joint model. The authors also derive task similarity measures from the trained model that relate to task complexity, solvability, transfer learning, and adaptation.

By S\'ilvia Garc\'ia-Hern\'andez, Leema Hamid, Manuel Brenner
arXiv AI
Sep 15

How Many Thoughts Can a Vector Hold? The Capacity of Reasoning by Superposition

The paper investigates how continuous latent states in large language models can store multiple reasoning steps through superposition. It challenges the intuition that retaining only the current reasoning frontier is optimal, showing that cumulative superposition of the full reasoning history can actually require fewer representational dimensions. The authors demonstrate that this approach preserves more valid evidence, improves downstream outcome discrimination, and delays unreliability, while also establishing that uniform cumulative weighting of memories is minimax‑optimal for future reasoning.

By Hongyu Gu, Chang Liu, Jingwen Fu
arXiv AI
1d ago

Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory

The paper investigates how generative models, particularly diffusion models, can be understood as associative memory systems where patterns are stored as energy minima and retrieved via attractor dynamics. It shows that with limited data, diffusion models create distinct basins of attraction around each training sample, but as data increases these basins shrink and spurious states—new minima that blend stored samples—emerge, signaling the onset of generative capability. The study extends this view to language models, demonstrating that uniform-state discrete diffusion models also act as associative memories, with basins around unseen data expanding as training data grows, allowing corrupted test sentences to be recovered reliably. The authors argue that memorization and generalization coexist within a single retrieval process, offering a framework to determine when a generative model recalls versus creates.

By Bao Pham