Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networks

By Minmin Chen, Jeffrey Pennington, Sam Schoenholz. 2018

126 citations recorded by the source corpus.

Recurrent neural networks have gained widespread use in modeling sequence data across various domains. While many successful recurrent architectures employ a notion of gating, the exact mechanism that enables such remarkable performance is not well understood. We develop a theory for signal propagation in recurrent networks after random initialization using a combination of mean field theory and random matrix theory. To simplify our discussion, we introduce a new RNN cell with a simple gating mechanism that we call the minimalRNN and compare it with vanilla RNNs. Our theory allows us to define a maximum timescale over which RNNs can remember an input. We show that this theory predicts trainability for both recurrent architectures. We show that gated recurrent networks feature a much broader, more robust, trainable region than vanilla RNNs, which corroborates recent experimental findings. Finally, we develop a closed-form critical initialization scheme that achieves dynamical isometry in both vanilla RNNs and minimalRNNs. We show that this results in significantly improvement in training dynamics. Finally, we demonstrate that the minimalRNN achieves comparable performance to its more complex counterparts, such as LSTMs or GRUs, on a language modeling task.

Subfields: Artificial Intelligence, Atomic and Molecular Physics, and Optics, Model Architectures, Scaling & Learning Theory

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Greg Yang
  2. Sam Schoenholz
  3. Yuanzhi Li
  4. Jascha Narain Sohl-Dickstein
  5. Zeyuan Allen-Zhu
  6. Yoshua Bengio
  7. Ruslan Salakhutdinov
  8. Lechao Xiao

In Atomic and Molecular Physics, and Optics

  1. Greg Yang
  2. Kenta Oono
  3. Taiji Suzuki
  4. Zeyuan Allen-Zhu
  5. Shotaro Akaho
  6. Zhao Song
  7. Shun-ichi Amari
  8. James Lucas

In Model Architectures

  1. Greg Yang
  2. Sam Schoenholz
  3. Zeyuan Allen-Zhu
  4. Jeffrey Pennington
  5. Yuanzhi Li
  6. Jaehoon Lee
  7. Lechao Xiao
  8. Jascha Narain Sohl-Dickstein

In Scaling & Learning Theory

  1. Greg Yang
  2. Sam Schoenholz
  3. Lechao Xiao
  4. Jeffrey Pennington
  5. Yuanzhi Li
  6. Zeyuan Allen-Zhu
  7. Jascha Narain Sohl-Dickstein
  8. Jaehoon Lee

Citations in the corpus