Skip to main content
QUICK REVIEW

[Paper Review] AntisymmetricRNN: A Dynamical System View on Recurrent Neural Networks

Bo Chang, Minmin Chen|arXiv (Cornell University)|Feb 26, 2019
Neural Networks and ApplicationsComputer Science86 citations
TL;DR

The paper derives AntisymmetricRNN from an ODE stability framework to enable long-term dependency modeling with well-behaved dynamics and fewer parameters, outperforming LSTM on long-term tasks.

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.

Motivation & Objective

  • Motivate RNN trainability issues (exploding/vanishing gradients) from a dynamical systems perspective.
  • Design a recurrent architecture with stability properties by discretizing an antisymmetric ODE.
  • Show that the resulting AntisymmetricRNN achieves long-term dependency capture with fewer parameters.
  • Demonstrate empirical benefits on long-range sequence tasks compared to LSTM and other baselines.

Proposed method

  • Model the hidden state dynamics as an ODE h'(t)=tanh((W_h−W_h^T)h(t)+V_h x(t)+b_h).
  • Discretize with forward Euler to obtain h_t=h_{t-1}+ε tanh((W_h−W_h^T)h_{t-1}+V_h x_t+b_h).
  • Use antisymmetric transition matrix W_h−W_h^T to ensure purely imaginary Jacobian eigenvalues (Re(λ)=0).
  • Optionally add diffusion γI to ensure forward Euler stability: h_t=h_{t-1}+ε tanh((W_h−W_h^T−γI)h_{t-1}+V_h x_t+b_h).
  • Optionally add an input gate z_t with gating: z_t=σ((W_h−W_h^T−γI)h_{t-1}+V_z x_t+b_z) and h_t=h_{t-1}+ε z_t∘tanh((W_h−W_h^T−γI)h_{t-1}+V_h x_t+b_h).

Experimental results

Research questions

  • RQ1Can RNN trainability and long-term dependency learning be improved by aligning discretized RNN dynamics with stable/critical ODE behavior?
  • RQ2Does enforcing an antisymmetric structure in the recurrent weights yield Jacobians with near-zero real parts to mitigate exploding/vanishing gradients?
  • RQ3How do AntisymmetricRNN variants (with diffusion and gating) compare to standard LSTM and other baselines on long-range sequence tasks?
  • RQ4What is the impact of diffusion (γ) and gating on stability, gradient propagation, and performance?

Key findings

  • AntisymmetricRNN exhibits stable, predictable dynamics and mitigates gradient issues without heavy computational overhead.
  • On permuted pixel-by-pixel MNIST, AntisymmetricRNN achieves 98.0% (128 units) vs LSTM 97.3% with fewer parameters; with gating, 98.8% (128 units).
  • On pixel-by-pixel CIFAR-10, AntisymmetricRNN matches LSTM with 256 units and 36k params, while AntisymmetricRNN with gating slightly surpasses LSTM (62.2% vs 59.7% last row) with ~37k params.
  • In noise-padded CIFAR-10 (long-range dependency task), LSTM fails to train; AntisymmetricRNN with various γ maintains end-to-end Jacobian eigenvalues near unit magnitude, enabling training across longer sequences.
  • Ablation shows antisymmetric parameterization improves performance over unstructured weights, though other stable conditions may exist beyond the antisymmetric construction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.