Lune

ICLR2026Top-tier venue

Sequential Parallel Duality in Prefix Scannable Models

Morris Yau, Sharut Gupta, Valerie Engelmayer, Kazuki Irie, Stefanie Jegelka, Jacob Andreas

Abstract

Modern neural sequence models are designed to meet the dual mandate of parallelizable training and fast sequential inference. Recent developments have focused on various models, such as Gated Linear Attention (GLA) and Mamba, that achieve such "sequential-parallel duality." This raises a natural question: can we characterize the full class of neural sequence models that support near-constant-time parallel evaluation and linear-time, constant-space sequential inference? We begin by describing a broad class of such models, state space models, as those whose state updates can be computed using the classic parallel prefix scan algorithm with a custom associative aggregation operator. We then define a more general class, Prefix-Scannable Models (PSMs), by relaxing the state aggregation operator to allow arbitrary (potentially non-associative) functions such as softmax attention. This generalization unifies many existing architectures, including element-wise RNNs (e.g., Mamba) and linear transformers (e.g., GLA, Mamba2, mLSTM), while also introducing new models with softmax-like operators that achieve O(1) amortized compute per token and log(N ) memory for sequence length N . We empirically evaluate such models on illustrative language modeling and canonical synthetic tasks, including state tracking and associative recall. Empirically, we find that PSMs retain the functional effectiveness of transformer-based architectures while matching the inference efficiency of state space models and in some cases exhibiting better length generalization than either.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Random Feature Attention cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Random Feature Attention cites Big Bird: Transformers for Longer Sequences
  • Efficiently Modeling Long Sequences with Structured State Spaces cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Log-Linear Attention cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Log-Linear Attention cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Log-Linear Attention cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • In-Place Test-Time Training cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • In-Place Test-Time Training cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality cites Random Feature Attention
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites Log-Linear Attention
  • Dynamic Chunking for End-to-End Hierarchical Sequence Modeling cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Dynamic Chunking for End-to-End Hierarchical Sequence ModelingSukjun Hwang, Brandon Wang, Albert GuICLR 2026 · 76 citations
  2. Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing et al.ICLR 2026 · 41 citations
  3. In-Place Test-Time TrainingGuhao Feng, Shengjie Luo, Kai Hua, Ge Zhang et al.ICLR 2026 · 15 citations

Builds on20

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  2. Big Bird: Transformers for Longer SequencesManzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie et al.NeurIPS 2020 · 3,159 citations
  3. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
  4. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 citations
  5. Random Feature AttentionHao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz et al.ICLR 2021 · 425 citations

Related papers

  1. The Expressive Capacity of State Space Models: A Formal Language PerspectiveYash Raj Sarrof, Yana Veitsman, Michael HahnNeurIPS 2024 · 53 citations
  2. Fixed-Point RNNs: Interpolating from Diagonal to DenseSajad Movahedi, Felix Sarnthein, Nicola Muca Cirone, Antonio OrvietoNeurIPS 2025 · 5 citations
  3. Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modeling and State TrackingVaisakh Shaj, Cameron Barker, Aidan Scannell, Andras Szecsenyi et al.ICML 2026 · 5 citations
  4. Mamba-3: Improved Sequence Modeling using State Space PrinciplesAakash Sunil Lahoti, Kevin Y. Li, Berlin Chen, Caitlin Wang et al.ICLR 2026 · 96 citations
  5. Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language ModelingLiliang Ren, Yang Liu, Yadong Lu, Yelong Shen et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines