English

Implicit Language Models are RNNs: Balancing Parallelization and Expressivity

Machine Learning 2025-06-13 v3 Artificial Intelligence

Abstract

State-space models (SSMs) and transformers dominate the language modeling landscape. However, they are constrained to a lower computational complexity than classical recurrent neural networks (RNNs), limiting their expressivity. In contrast, RNNs lack parallelization during training, raising fundamental questions about the trade off between parallelization and expressivity. We propose implicit SSMs, which iterate a transformation until convergence to a fixed point. Theoretically, we show that implicit SSMs implement the non-linear state-transitions of RNNs. Empirically, we find that only approximate fixed-point convergence suffices, enabling the design of a scalable training curriculum that largely retains parallelization, with full convergence required only for a small subset of tokens. Our approach demonstrates superior state-tracking capabilities on regular languages, surpassing transformers and SSMs. We further scale implicit SSMs to natural language reasoning tasks and pretraining of large-scale language models up to 1.3B parameters on 207B tokens representing, to our knowledge, the largest implicit model trained to date. Notably, our implicit models outperform their explicit counterparts on standard benchmarks. Our code is publicly available at http://github.com/microsoft/implicit_languagemodels .

Keywords

Cite

@article{arxiv.2502.07827,
  title  = {Implicit Language Models are RNNs: Balancing Parallelization and Expressivity},
  author = {Mark Schöne and Babak Rahmani and Heiner Kremer and Fabian Falck and Hitesh Ballani and Jannes Gladrow},
  journal= {arXiv preprint arXiv:2502.07827},
  year   = {2025}
}

Comments

25 pages, 12 figures, 7 tables

R2 v1 2026-06-28T21:40:40.924Z