Improving the Gating Mechanism of Recurrent Neural Networks
Albert Gu, Çaglar Gülçehre, Thomas Paine, Matt Hoffman, Razvan Pascanu
Abstract
Gating mechanisms are widely used in neural network models, where they allow gradients to backpropagate more easily through depth or time. However, their saturation property introduces problems of its own. For example, in recurrent models these gates need to have outputs near 1 to propagate information over long time-delays, which requires them to operate in their saturation regime and hinders gradient-based learning of the gate mechanism. We address this problem by deriving two synergistic modifications to the standard gating mechanism that are easy to implement, introduce no additional hyperparameters, and improve learnability of the gates when they are close to saturation. We show how these changes are related to and improve on alternative recently proposed gating mechanisms such as chrono initialization and Ordered Neurons. Empirically, our simple gating mechanisms robustly improve the performance of recurrent models on a range of applications, including synthetic memorization tasks, sequential image classification, language modeling, and reinforcement learning, particularly when long-term dependencies are involved.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
29 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Parameterization and Initialization of Diagonal State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
- Efficiently Modeling Long Sequences with Structured State Spaces cites On the Parameterization and Initialization of Diagonal State Space Models
- On the Parameterization and Initialization of Diagonal State Space Models cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Efficiently Modeling Long Sequences with Structured State Spaces cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Hierarchically Gated Recurrent Neural Network for Sequence Modeling cites On the Parameterization and Initialization of Diagonal State Space Models
- Hierarchically Gated Recurrent Neural Network for Sequence Modeling cites Efficiently Modeling Long Sequences with Structured State Spaces
- Hierarchically Gated Recurrent Neural Network for Sequence Modeling cites Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
Cited by top-tier papers29
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab et al.NeurIPS 2021 · 1,280 citations
- HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra et al.NeurIPS 2020 · 1,100 citations
- On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 citations
- Hierarchically Gated Recurrent Neural Network for Sequence ModelingZhen Qin, Songlin Yang, Yiran ZhongNeurIPS 2023 · 152 citations
Related papers
- Fast Saturating Gate for Learning Long Time Scales with Recurrent Neural NetworksKentaro Ohno, Sekitoshi Kanai, Yasutoshi IdaAAAI 2023 · 1 citation
- RNNs Incrementally Evolving on an Equilibrium Manifold: A Panacea for Vanishing and Exploding Gradients?Anil Kag, Ziming Zhang, Venkatesh SaligramaICLR 2020 · 51 citations
- Parallelizing non-linear sequential models over the sequence lengthYi Heng Lim, Qi Zhu, Joshua Selfridge, Muhammad Firmansyah KasimICLR 2024 · 33 citations
- Non-Local Recurrent Neural Memory for Supervised Sequence ModelingCanmiao Fu, Wenjie Pei, Qiong Cao, Chaopeng Zhang et al.ICCV 2019 · 12 citations
- On the difficulty of learning chaotic dynamics with RNNsJonas M. Mikhaeil, Zahra Monfared, Daniel DurstewitzNeurIPS 2022 · 109 citations
