paper-with-me

Papers

Implicit Language Models are RNNs: Balancing Parallelization and Expressivity

2025-02-10 · Mark Schöne, Babak Rahmani, Heiner Kremer, Fabian Falck, Hitesh Ballani, Jannes Gladrow

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 .

📄 PDF Abstract BibTeX arXiv:2502.07827

Code (1)

microsoft/implicit_languagemodels 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingState Space Models

Similar Papers 제목 키워드 기반

Why Are Linear RNNs More Parallelizable?

2026-03-04 · William Merrill, Hongjian Jiang, Yanhong Li, Anthony Lin 외 arxiv

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…

Single stream parallelization of generalized LSTM-like RNNs on a GPU

2015-03-10 · Kyuyeon Hwang, Wonyong Sung

Recurrent neural networks (RNNs) have shown outstanding performance on processing sequence data. However, they suffer from long training time, which demands parallel implementations of the training procedure. Paralleliza…

GPU

ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Models

2025-10-24 · Federico Danieli, Pau Rodriguez, Miguel Sarabia, Xavier Suau 외 arxiv

Recurrent Neural Networks (RNNs) laid the foundation for sequence modeling, but their intrinsic sequential nature restricts parallel computation, creating a fundamental barrier to scaling. This has led to the dominance o…

Improved state mixing in higher-order and block diagonal linear recurrent networks

2026-02-12 · Igor Dubinin, Antonio Orvieto, Felix Effenberger arxiv

Linear recurrent networks (LRNNs) and linear state space models (SSMs) promise computational and memory efficiency on long-sequence modeling tasks, yet their diagonal state transitions limit expressivity. Dense and nonli…

Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languages

2024-10-04 · Neisarg Dave, Daniel Kifer, Lee Giles, Ankur Mali

This study investigates the learnability of Recurrent Neural Networks (RNNs) in classifying structured formal languages, focusing on counter and Dyck languages. Traditionally, both first-order (LSTM) and second-order (O2…