ParallelFlow: Parallelizing Linear Transformers via Flow Discretization
Not on the map. Why?
Abstract (arXiv)
We present a theoretical framework for analyzing linear attention models through matrix-valued state space models (SSMs). Our approach, Parallel Flows, provides a perspective that systematically decouples temporal dynamics from implementation constraints, enabling independent analysis of critical algorithmic components: chunking, parallelization, and information aggregation. Central to this framework is the reinterpretation of chunking procedures as computations of the flows governing system dynamics. This connection establishes a bridge to mathematical tools from rough path theory, opening the door to new insights into sequence modeling architectures. As a concrete application, we analyze DeltaNet in a generalized low-rank setting motivated by recent theoretical advances. Our methods allow us to design simple, streamlined generalizations of hardware-efficient algorithms present in the literature, and to provide completely different ones, inspired by rough paths techniques, with provably lower complexity. This dual contribution demonstrates how principled theoretical analysis can both explain existing practical methods and inspire fundamentally new computational approaches.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 1 Apr 2025.
Builds on
34 of 47 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
22 more
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2022Transformer Quality in Linear Timecited by 191
- 2020Neural Rough Differential Equations for Long Time Seriescited by 143
- 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
- 2019Deep Signature Transformscited by 75
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2024Theoretical Foundations of Deep Selective State-Space Modelscited by 74
- 2020The Signature Kernel is the solution of a Goursat PDEcited by 58
- 2020Learning Associative Inference Using Fast Weight Memorycited by 51
- 2023Non-adversarial training of Neural SDEs with signature kernel scorescited by 37
- 2020Distribution Regression for Sequential Datacited by 31
- 2021Higher Order Kernel Mean Embeddings to Capture Filtrations of Stochastic Processescited by 27
- 2023Neural signature kernels as infinite-width-depth-limits of controlled ResNetscited by 25
- 2021SigGPDE: Scaling Sparse Gaussian Processes on Sequential Datacited by 22
- 2024Signature Kernel Conditional Independence Tests in Causal Discovery for Stochastic Processescited by 18
- 2021SK-Tree: a systematic malware detection algorithm on streaming trees via the signature kernelcited by 16
- 2023A Neural RDE approach for continuous-time non-Markovian stochastic control problemscited by 14
- 2024Lecture notes on rough paths and applications to machine learningcited by 14
- 2023New directions in the applications of rough path theorycited by 12
- 2024Exact Gradients for Stochastic Spiking Neural Networks Driven by Rough Signalscited by 9
- 2025Rough kernel hedgingcited by 9
- 2024Sparse Signature Coefficient Recovery via Kernelscited by 6
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Modelscited by 18
- 2025pySigLib -- Fast Signature-Based Computations on CPU and GPUcited by 6
- 2025Novelty detection on path spacecited by 0
- 2026Advances in Neural Controlled Differential Equationscited by 0
- 2026Advances in Neural Controlled Differential Equations6 Jul 2026
- 2025Novelty detection on path space2 Dec 2025
- 2025pySigLib -- Fast Signature-Based Computations on CPU and GPU12 Sep 2025
- 2025Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models23 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Log-Linear Attention
- 2025Exact Flow Linear Attention: Exact Solution from Continuous-Time Dynamics
- 2025Rethinking Transformer Connectivity: TLinFormer, A Path to Exact, Full Context-Aware Linear Attention
- 2026On Subquadratic Architectures: From Applications to Principles
- 2024Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences
- 2026Why Depth Matters in Parallelizable Sequence Models: A Lie Algebraic View
- 2025LASP-2: Rethinking Sequence Parallelism for Linear Attention and Its Hybrid
- 2025Design Principles for Sequence Models via Coefficient Dynamics