Revisiting Bi-Linear State Transitions in Recurrent Neural Networks
M. Reza Ebrahimi, Roland Memisevic
TL;DR
This work rethinks state tracking by treating hidden units as active processors through bilinear, input-dependent state transitions, formalized as $h^t_i = \sum_{j,k} \mathcal{W}_{ijk} x^t_k h^{t-1}_j$. It shows that such bilinear dynamics yield an input-driven state-transition operator $\mathcal{A}_{x}$ and can simulate arbitrary finite-state machines; through factorized and block-diagonal variants, it achieves a scalable hierarchy of expressiveness. Empirically, bilinear models outperform non-bilinear baselines on modular addition, random FSMs, and modular arithmetic, with rotation-based $\mathcal{R}_2$ blocks capturing commutative structure and diagonal variants revealing parity capabilities even with frozen recurrent weights. The results imply that multiplicative interactions are a powerful mechanism for state tracking, offer insights into when additive terms help or hurt, and raise questions about parameter efficiency and applicability to large-scale tasks.
Abstract
The role of hidden units in recurrent neural networks is typically seen as modeling memory, with research focusing on enhancing information retention through gating mechanisms. A less explored perspective views hidden units as active participants in the computation performed by the network, rather than passive memory stores. In this work, we revisit bilinear operations, which involve multiplicative interactions between hidden units and input embeddings. We demonstrate theoretically and empirically that they constitute a natural inductive bias for representing the evolution of hidden states in state tracking tasks. These are the simplest type of tasks that require hidden units to actively contribute to the behavior of the network. We also show that bilinear state updates form a natural hierarchy corresponding to state tracking tasks of increasing complexity, with popular linear recurrent networks such as Mamba residing at the lowest-complexity center of that hierarchy.
