This paper, presented at NeurIPS 2025, introduces Fixed-Point RNNs (FP-RNNs), a novel framework that bridges the gap between the efficiency of modern State-Space Models (SSMs) and the expressivity of classical dense Recurrent Neural Networks (RNNs).
TL;DR
Fixed-Point RNNs parameterize dense linear recurrences as the fixed points of parallelizable diagonal RNNs, allowing models to adaptively trade off computational efficiency for expressivity. This approach enables SSM-style architectures to solve complex state-tracking tasks (like $A_5$) that were previously thought to be impossible for diagonal models, while maintaining the training benefits of parallel scans.
What Problem Does This Paper Address?
Recent years have seen a surge in "linear RNNs" and State-Space Models (SSMs) like Mamba, which serve as efficient alternatives to Transformers. To remain computationally efficient and parallelizable on modern hardware, these models typically rely on diagonal (channel-wise) transitions. In a diagonal transition, each feature channel evolves independently over time, only mixing across channels through separate projection layers.
However, theoretical research has shown that this diagonality imposes a strict limit on expressivity. Specifically, diagonal models struggle with state-tracking: tasks that require maintaining and updating a complex internal "world state" (e.g., tracking the position of objects or the state of a game). While classical dense RNNs like LSTMs can solve these tasks, they are notoriously difficult to parallelize and stabilize during training. The authors seek a "best of both worlds" solution: a model with the expressivity of a dense RNN but the parallelizability of a diagonal one.
Methods
The core innovation is the Fixed-Point RNN framework. Instead of defining a hidden state $h$ through an explicit dense recurrence, the authors define it implicitly as the solution to a fixed-point equation: $$h = f_\theta(x, h)$$ where $f_\theta$ is a carefully designed diagonal linear RNN.
Key Technical Components:
- Fixed-Point Iteration: The model finds the hidden state by repeatedly applying the diagonal RNN: $h^\ell = f_\theta(x, h^{\ell-1})$. As the number of iterations $\ell$ increases, the model "interpolates" from a simple diagonal recurrence to a fully dense one.
- Parallelizable Subroutine: Because $f_\theta$ is diagonal, each iteration can be computed efficiently using parallel scans, maintaining a $O(L \log L)$ complexity relative to sequence length.
- Stability Guarantees: The authors provide Theorem 3.1, which establishes conditions (contractive transition matrices) to ensure the iteration converges to a stable fixed point, preventing the vanishing/exploding gradient problems common in deep recurrences.
- Structured Channel Mixers: To keep the parameter count manageable while enabling dense-like behavior, the authors use structured matrices for channel mixing, including Kronecker products and Householder reflections.
Datasets
The authors evaluate FP-RNNs on a variety of benchmarks designed to test specific architectural strengths:
- State-Tracking ($A_5$ and $S_5$): Word problems involving tracking permutations in alternating/symmetric groups. These are known "SSM-killers" that diagonal models typically fail.
- Copying Task: A fundamental benchmark for memory capacity, requiring the model to recall a sequence after a long delay.
- Modular Arithmetic: A task from the Chomsky hierarchy testing algorithmic reasoning.
- catbAbI: A long-range reasoning dataset consisting of concatenated stories.
- FineWeb: Used for large-scale language model pretraining to ensure the method scales to real-world data.
Key Insights and Ideas
- Adaptive Computation: The model can dynamically adjust its depth. For simple tasks, it converges in a few iterations; for harder state-tracking tasks, it automatically uses more iterations.
- Decoupling Depth from Sequence Length: Unlike standard RNNs where sequential steps are tied to sequence length $T$, FP-RNNs decouple the number of sequential steps ($\ell^*$) from $T$. This allows the model to trade parallelism for expressivity.
- Implicit Differentiation: During training, the model only needs to store the final fixed point rather than every intermediate iteration, significantly reducing memory overhead during backpropagation.
- Shifted Hidden State Dependence: The authors found that making the transition parameters depend on the hidden state from the previous iteration ($h^{\ell-1}_{t-1}$) is crucial for solving the copying task, effectively acting as a learned hashing mechanism.
Key Results
- Solving $A_5$: While standard Mamba and Transformers fail to solve the $A_5$ state-tracking task even at training length, FP-Mamba achieves near-perfect accuracy and generalizes to sequences $3\times$ longer than those seen during training.
- The Only "All-Rounder": As shown in Figure 2, FP-Mamba is the only model in the study capable of solving both the state-tracking task and the copying task simultaneously.
- Efficiency in Practice: For language modeling on FineWeb, the model typically converges in fewer than 10 iterations, suggesting that the overhead is manageable for real-world applications.
- Length Generalization: Increasing the number of fixed-point iterations directly improves the model's ability to generalize to longer sequences than it was trained on.
Limitations and Future Work
- Forward Pass Overhead: While training is memory-efficient, the forward pass requires multiple iterations, which introduces sequential overhead. The authors suggest that custom GPU kernels (fusing the iterations) could mitigate this.
- Non-Uniqueness: As a non-convex problem, there is no theoretical guarantee that the parallel fixed point found during training will be identical to the sequential one used during autoregressive inference, though empirical results in the paper suggest they are very close.
- Convergence Rates: Future work is needed to improve the speed of convergence to the fixed point to further reduce the computational cost.
Summary updated