Inverse Approximation Theory for Nonlinear Recurrent Neural Networks
Shida Wang, Zhong Li, Qianxiao Li
TL;DR
The paper addresses the problem of understanding when nonlinear RNNs can efficiently approximate nonlinear sequence-to-sequence relationships. It introduces a memory-based inverse (Bernstein-type) framework for nonlinear functionals, defines a memory function for nonlinear targets, and establishes a stable-approximation notion to ground optimization in practice. The main contribution is a Bernstein-type theorem showing that, under stable approximation, nonlinear RNN targets must exhibit exponential memory decay, extending previous linear results to nonlinear activations. The work also proposes stable reparameterization as a principled method to overcome the long-memory limitations and validates the theory with numerical experiments and public code, highlighting both fundamental limits and practical remedies for learning long-range dependencies.
Abstract
We prove an inverse approximation theorem for the approximation of nonlinear sequence-to-sequence relationships using recurrent neural networks (RNNs). This is a so-called Bernstein-type result in approximation theory, which deduces properties of a target function under the assumption that it can be effectively approximated by a hypothesis space. In particular, we show that nonlinear sequence relationships that can be stably approximated by nonlinear RNNs must have an exponential decaying memory structure - a notion that can be made precise. This extends the previously identified curse of memory in linear RNNs into the general nonlinear setting, and quantifies the essential limitations of the RNN architecture for learning sequential relationships with long-term memory. Based on the analysis, we propose a principled reparameterization method to overcome the limitations. Our theoretical results are confirmed by numerical experiments. The code has been released in https://github.com/radarFudan/Curse-of-memory
