arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.07799cs.LGmath.OCstat.ML
收藏

关于循环神经网络中记忆诅咒:逼近与优化分析

On the Curse of Memory in Recurrent Neural Networks: Approximation and Optimization Analysis

Peking University(北京大学);Princeton University(普林斯顿大学);National University of Singapore(新加坡国立大学);IHPC, A*STAR(新加坡科技研究局信息通信研究院)

Zhong Li, Jiequn Han, Weinan E, Qianxiao Li

AI总结:

本文通过逼近理论与优化动力学分析连续时间线性RNN,证明长期记忆会使所需神经元数量及训练减速随记忆呈指数级恶化,揭示“记忆诅咒”现象。

摘要:

我们研究循环神经网络(RNNs)在学习时序数据中输入输出关系时的逼近性质与优化动力学。我们考虑使用连续时间线性RNNs从线性关系生成的数据中学习的简单但具有代表性的设置。从数学上讲,后者可以理解为一列线性泛函。我们证明了此类线性泛函的通用逼近定理,并刻画了逼近速率及其与记忆的关系。此外,我们对训练线性RNNs进行了细粒度的动力学分析,进一步揭示了记忆与学习之间错综复杂的相互作用。揭示出的一个统一主题是记忆(在我们的框架中可以精确定义的概念)对逼近和优化的非平凡影响:当目标中存在长期记忆时,需要大量神经元来逼近它。而且,训练过程将遭受减速。特别是,这两种效应都随记忆呈指数级增强——我们将这一现象称为“记忆诅咒”。这些分析代表了朝着具体数学理解在使用循环架构学习时序关系时可能出现的新现象迈出的基础一步。

英文摘要:

We study the approximation properties and optimization dynamics of recurrent neural networks (RNNs) when applied to learn input-output relationships in temporal data. We consider the simple but representative setting of using continuous-time linear RNNs to learn from data generated by linear relationships. Mathematically, the latter can be understood as a sequence of linear functionals. We prove a universal approximation theorem of such linear functionals, and characterize the approximation rate and its relation with memory. Moreover, we perform a fine-grained dynamical analysis of training linear RNNs, which further reveal the intricate interactions between memory and learning. A unifying theme uncovered is the non-trivial effect of memory, a notion that can be made precise in our framework, on approximation and optimization: when there is long term memory in the target, it takes a large number of neurons to approximate it. Moreover, the training process will suffer from slow downs. In particular, both of these effects become exponentially more pronounced with memory - a phenomenon we call the "curse of memory". These analyses represent a basic step towards a concrete mathematical understanding of new phenomenon that may arise in learning temporal relationships using recurrent architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑