atlas

Research map / Architectures and efficiency / Attention and transformers

State Space Models are Provably Comparable to Transformers in Dynamic Token Selection

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models

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.

Shows theoretically that state space model layers interleaved with feedforward networks can perform input-dependent token selection comparably to Transformers, on input copying, associative recall, and piecewise smooth nonparametric regression.

Problem

Single SSM layers use input-independent filters and so lack dynamic token selection, which Transformers have via attention; it is unclear whether SSMs combined with nonlinear FNN layers can match Transformers on such tasks.

Approach

SSM layers sandwiched between FNN layers can emulate attention's key-query inner-product token selection, so SSM+FNN stacks match Transformer expressivity for copying, associative recall, and piecewise gamma-smooth regression rates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a second SSM layer with FNNs before and after it (ablation)SSM + FNN · Input copyingcopying performanceHelped
Add a second SSM layer with FNNs before and after it (ablation)SSM + FNN · Associative recallrecall performanceHelped
Add a second SSM layer with FNNs before and after it (ablation)SSM + FNN · Nonparametric regressionlossHelped
Use two SSM layers with FNNs instead of a single SSM layerSSM · Input copyingcopying performanceNo clear effect
Use two SSM layers with FNNs instead of a single SSM layerSSM · Associative recallrecall performanceNo clear effect
Mask tokens judged unimportant for the target sequencePre-trained Hyena fine-tuned on DNA base sequences · Genomic Benchmark Datasetclassification accuracyNo clear effect
Mask the same token positions across other samples as were unimportant in the target sequencePre-trained Hyena fine-tuned on DNA base sequences · Genomic Benchmark Datasetclassification accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Genomic Benchmark Dataset synthetic input copying, associative recall, induction heads, selective copying, nonparametric regression data

Benchmarks: Genomic Benchmark Dataset

Metrics: error probability for copying accuracy MSE estimation rate

Baselines: single-layer SSM (SSM+FNN) Transformer Hyena

Builds on: Transformers as copying machines (Jelassi et al.) Hyena Mamba-like SSM theory Schmidt-Hieber FNN estimation theory

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