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.
Deconstructing Recurrence, Attention, and Gating: Investigating the transferability of Transformers and Gated Recurrent Neural Networks in forecasting of dynamical systems
School of Engineering and Applied Sciences, Harvard University(哈佛大学工程与应用科学学院);Institute of Structural Engineering, ETH Zurich(苏黎世联邦理工学院结构工程研究所)
Focused Hierarchical RNNs for Conditional Sequence Processing
Montreal Institute for Learning Algorithms(蒙特利尔学习算法研究所);Polytechnique Montreal(蒙特利尔高等理工学院);Microsoft Research(微软研究院);Jagiellonian University(雅盖隆大学);University of Montreal(蒙特利尔大学);Facebook AI Research(Facebook人工智能研究院);McGill University(麦吉尔大学);HEC Montreal(蒙特利尔高等商学院)
Refined Gate: A Simple and Effective Gating Mechanism for Recurrent Units
Zhejiang University(浙江大学);Hikvision Research Institute(海康威视研究院);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
Learning Reservoir Dynamics with Temporal Self-Modulation
Chiba Institute of Technology(千叶工业大学);The University of Tokyo(东京大学);National Institute of Mental Health, National Center of Neurology and Psychiatry(国立神经精神研究中心国立精神卫生研究所);Oita University(大分大学);Kyushu Institute of Technology(九州工业大学)
QKAN-LSTM: Quantum-inspired Kolmogorov-Arnold Long Short-term Memory
National Center for High-Performance Computing, National Institutes of Applied Research(国家高性能计算中心、应用研究机构);Cross College Elite Program, National Cheng Kung University(跨学院精英计划、国立成功大学);Center for Quantum Science and Engineering, National Taiwan University(量子科学与工程中心、国立台湾大学);Department of Electrophysics, National Yang Ming Chiao Tung University(电子物理系、国立阳明交通大学);Physics Division, National Center for Theoretical Sciences(物理组、国家理论科学研究中心)