Why Are Linear RNNs More Parallelizable?
William Merrill, Hongjian Jiang, Yanhong Li, Anthony Lin, Ashish Sabharwal

TL;DR
This paper establishes a theoretical connection between linear RNNs and arithmetic circuits, explaining their parallelizability advantage over nonlinear RNNs and revealing fundamental complexity barriers.
Contribution
It provides a formal complexity-theoretic analysis linking LRNNs to circuit classes, explaining their parallelizability and differences from nonlinear RNNs.
Findings
LRNNs are equivalent to log-depth arithmetic circuits.
Nonlinear RNNs can solve P-complete problems, limiting their parallelization.
Different LRNN variants have distinct complexity classifications.
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 -complete problems (and even -complete ones, under polynomial precision), revealing a fundamental barrier to parallelizing them as efficiently as transformers. Our theory…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Ferroelectric and Negative Capacitance Devices · Formal Methods in Verification
