English

Why Are Linear RNNs More Parallelizable?

Machine Learning 2026-03-06 v2 Computational Complexity Computation and Language Formal Languages and Automata Theory

Abstract

The community is increasingly exploring linear RNNs (LRNNs) as language models, motivated by their expressive power and parallelizability. While prior work establishes the expressivity benefits of LRNNs over transformers, it is unclear what makes LRNNs -- but not traditional, nonlinear RNNs -- as easy to parallelize in practice as transformers. We answer this question by providing a tight connection between types of RNNs and standard complexity classes. We show that LRNNs can be viewed as log-depth (bounded fan-in) arithmetic circuits, which represents only a slight depth overhead relative to log-depth boolean circuits that transformers admit. Furthermore, we show that nonlinear RNNs can solve L\mathsf{L}-complete problems (and even P\mathsf{P}-complete ones, under polynomial precision), revealing a fundamental barrier to parallelizing them as efficiently as transformers. Our theory also identifies fine-grained expressivity differences between recent popular LRNN variants: permutation-diagonal LRNNs are NC1\mathsf{NC}^1-complete whereas diagonal-plus-low-rank LRNNs are more expressive (PNC1\mathsf{PNC}^1-complete). We provide further insight by associating each type of RNN with a corresponding automata-theoretic model that it can simulate. Together, our results reveal fundamental tradeoffs between nonlinear RNNs and different variants of LRNNs, providing a foundation for designing LLM architectures that achieve an optimal balance between expressivity and parallelism.

Keywords

Cite

@article{arxiv.2603.03612,
  title  = {Why Are Linear RNNs More Parallelizable?},
  author = {William Merrill and Hongjian Jiang and Yanhong Li and Anthony Lin and Ashish Sabharwal},
  journal= {arXiv preprint arXiv:2603.03612},
  year   = {2026}
}

Comments

Corrected authorship list from initial version

R2 v1 2026-07-01T11:02:16.623Z