Lune

NeurIPS2021Top-tier venue

On the Provable Generalization of Recurrent Neural Networks

Lifu Wang, Bo Shen, Bo Hu, Xing Cao

Abstract

Recurrent Neural Network (RNN) is a fundamental structure in deep learning. Recently, some works study the training process of over-parameterized neural networks, and show that over-parameterized networks can learn functions in some notable concept classes with a provable generalization error bound. In this paper, we analyze the training and generalization for RNNs with random initialization, and provide the following improvements over recent works: 1) For a RNN with input sequence x=(X1,X2,...,XL)x=(X_1,X_2,...,X_L), previous works study to learn functions that are summation of f(βlTXl)f(\beta^T_lX_l) and require normalized conditions that ∣∣Xl∣∣≤ϵ||X_l||\leq\epsilon with some very small ϵ\epsilon depending on the complexity of ff. In this paper, using detailed analysis about the neural tangent kernel matrix, we prove a generalization error bound to learn such functions without normalized conditions and show that some notable concept classes are learnable with the numbers of iterations and samples scaling almost-polynomially in the input length LL. 2) Moreover, we prove a novel result to learn N-variables functions of input sequence with the form f(βT[Xl1,...,XlN])f(\beta^T[X_{l_1},...,X_{l_N}]), which do not belong to the"additive"concept class, i,e., the summation of function f(Xl)f(X_l). And we show that when either NN or l0=max⁡(l1,..,lN)−min⁡(l1,..,lN)l_0=\max(l_1,..,l_N)-\min(l_1,..,l_N) is small, f(βT[Xl1,...,XlN])f(\beta^T[X_{l_1},...,X_{l_N}]) will be learnable with the number iterations and samples scaling almost-polynomially in the input length LL.

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.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • From Sparse Dependence to Sparse Attention: Unveiling How Chain-of-Thought Enhances Transformer Sample Efficiency cites Sub-Task Decomposition Enables Learning in Sequence to Sequence Tasks
  • Sub-Task Decomposition Enables Learning in Sequence to Sequence Tasks cites Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Sub-Task Decomposition Enables Learning in Sequence to Sequence TasksNoam Wies, Yoav Levine, Amnon ShashuaICLR 2023 · 3 citations
  2. From Sparse Dependence to Sparse Attention: Unveiling How Chain-of-Thought Enhances Transformer Sample EfficiencyKaiyue Wen, Huaqing Zhang, Hongzhou Lin, Jingzhao ZhangICLR 2025

Builds on4

  1. Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networksZiwei Ji, Matus TelgarskyICLR 2020 · 193 citations
  2. Why Do Deep Residual Networks Generalize Better than Deep Feedforward Networks? - A Neural Tangent Kernel PerspectiveKaixuan Huang, Yuqing Wang, Molei Tao, Tuo ZhaoNeurIPS 2020 · 107 citations
  3. Deep Equals Shallow for ReLU Networks in Kernel RegimesAlberto Bietti, Francis R. BachICLR 2021 · 9 citations
  4. The Recurrent Neural Tangent KernelSina Alemohammad, Zichao Wang, Randall Balestriero, Richard G. BaraniukICLR 2021 · 6 citations

Related papers

  1. Learning and Generalization in RNNsAbhishek Panigrahi, Navin GoyalNeurIPS 2021 · 3 citations
  2. A Non-Parametric Regression Viewpoint : Generalization of Overparametrized Deep RELU Network Under Noisy ObservationsNamjoon Suh, Hyunouk Ko, Xiaoming HuoICLR 2022 · 15 citations
  3. Gradient Descent in Neural Networks as Sequential Learning in Reproducing Kernel Banach SpaceAlistair Shilton, Sunil Gupta, Santu Rana, Svetha VenkateshICML 2023 · 3 citations
  4. Benign Overfitting in Deep Neural Networks under Lazy TrainingZhenyu Zhu, Fanghui Liu, Grigorios Chrysos, Francesco Locatello et al.ICML 2023 · 12 citations
  5. How Neural Networks Extrapolate: From Feedforward to Graph Neural NetworksKeyulu Xu, Mozhi Zhang, Jingling Li, Simon Shaolei Du et al.ICLR 2021 · 364 citations
Dusk over the sea between two cliffs drawn in fine vertical lines