atlas

Research map / Architectures and efficiency / Attention and transformers

Memory Mosaics

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Memory Mosaics, networks of kernel-smoothing associative memories that match GPT2-scale transformers on BabiStories language modeling and outperform them on out-of-distribution and in-context learning tasks.

Problem

Transformers' compositional and in-context learning abilities are hard to interpret; the paper asks whether a more transparent architecture built from associative memories can match transformers on language modeling while offering better out-of-distribution and in-context learning.

Approach

Networks of associative memories (Nadaraya-Watson kernel regression) where values may peek one step into the future and keys are leaky averages; training is viewed as meta-learning that induces "predictive disentanglement", splitting the prediction task across independent memory units.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Memory Mosaic instead of RWKVRegBench IID (100 training environments) · RegBench IID (100 training environments)accuracy: 0.967 -> 0.959Hurt
Use Memory Mosaic instead of RWKVRegBench IID (100 training environments) · RegBench IID (100 training environments)TVD: 0.183 -> 0.417Hurt
Use Memory Mosaic instead of transformerLanguage modeling on BabiStories, small-depth models · BabiStorieslossHelped
Use Memory Mosaic instead of transformerLanguage modeling on BabiStories, increasing depth · BabiStorieslossNo clear effect
Use Memory Mosaic instead of transformerOOD prediction on Simple English Wikipedia after about 50 tokens · Simple English Wikipediaper-token average lossHelped
Use Memory Mosaic instead of previously tested architecturesIn-context learning on held-out PFAs · RegBench OODprediction accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: BabiStories TinyStories Simple English Wikipedia RegBench

Benchmarks: BabiStories RegBench Simple English Wikipedia 24 narrative consistency prompts

Metrics: validation loss prediction accuracy total variation distance per-token loss vs position

Baselines: GPT2-small transformer Mamba S4 RWKV linear transformer H3 GLA Hyena LSTM RetNet RoPE ALiBi

Builds on: transformers memory networks TinyStories RegBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy