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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Zhong, Han, Jiequn, E, Weinan, Li, Qianxiao
Format: Preprint
Published: 2020
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929478781894656
author Li, Zhong
Han, Jiequn
E, Weinan
Li, Qianxiao
author_facet Li, Zhong
Han, Jiequn
E, Weinan
Li, Qianxiao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2009_07799
institution arXiv
publishDate 2020
record_format arxiv
spellingShingle On the Curse of Memory in Recurrent Neural Networks: Approximation and Optimization Analysis
Li, Zhong
Han, Jiequn
E, Weinan
Li, Qianxiao
Machine Learning
Optimization and Control
68W25, 68T07, 37M10
I.2.6
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.
title On the Curse of Memory in Recurrent Neural Networks: Approximation and Optimization Analysis
topic Machine Learning
Optimization and Control
68W25, 68T07, 37M10
I.2.6
url https://arxiv.org/abs/2009.07799