AntisymmetricRNN: A Dynamical System View on Recurrent Neural Networks
Bo Chang, Minmin Chen, Eldad Haber, Ed H. Chi
TL;DR
This work reframes RNN trainability through a dynamical-systems lens and introduces AntisymmetricRNN, a recurrent architecture derived from discretizing an ODE with an antisymmetric hidden interaction to yield near-zero real parts of the Jacobian eigenvalues, thereby stabilizing gradients. By adding a diffusion term and a gating mechanism, the model preserves long-term memory while remaining computationally efficient compared to gating-heavy alternatives. Empirical results show strong performance on long-range memory tasks (e.g., permuted MNIST) with far fewer parameters than LSTMs, and competitive results on short-range CIFAR-10 tasks, with ablations highlighting the importance of the antisymmetric structure and diffusion. The approach opens a path to principled, well-conditioned recurrent architectures grounded in stability theory and numerical analysis.
Abstract
Recurrent neural networks have gained widespread use in modeling sequential data. Learning long-term dependencies using these models remains difficult though, due to exploding or vanishing gradients. In this paper, we draw connections between recurrent networks and ordinary differential equations. A special form of recurrent networks called the AntisymmetricRNN is proposed under this theoretical framework, which is able to capture long-term dependencies thanks to the stability property of its underlying differential equation. Existing approaches to improving RNN trainability often incur significant computation overhead. In comparison, AntisymmetricRNN achieves the same goal by design. We showcase the advantage of this new architecture through extensive simulations and experiments. AntisymmetricRNN exhibits much more predictable dynamics. It outperforms regular LSTM models on tasks requiring long-term memory and matches the performance on tasks where short-term dependencies dominate despite being much simpler.
