arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1507.07680cs.NEcs.LGstat.ML
收藏

在线训练循环网络,无需回溯

Training recurrent networks online without backtracking

Yann Ollivier, Corentin Tallec, Guillaume Charpiat

摘要:

我们引入“NoBackTrack”算法来训练动态系统的参数,如递归神经网络。该算法在在线、无记忆设置中工作,因此不需要通过时间的反向传播,并且是可扩展的,避免了相对于参数维持当前状态的全梯度的大的计算和存储器成本。该算法基本上保持,在每一个时间,在参数空间中的一个单一的搜索方向。该搜索方向的演变是部分随机的,并且以这样一种方式构造,即在每一时间提供损失函数相对于参数的梯度的无偏随机估计。因为梯度估计是无偏的,所以平均而言,随着时间的推移,参数会按照它应该的那样更新。然后,可以将得到的梯度估计馈送到轻量级卡尔曼滤波器,以产生改进的算法。对于递归神经网络,所得到的算法随着参数的数量线性缩放。小规模的实验证实了该方法的适用性,表明该算法中引入的梯度的随机近似对学习无害。特别是,当数据中依赖关系的时间跨度长于BPTT的截断跨度时,NoBackTrack的类卡尔曼版本优于时间反向传播(BPTT)。

英文摘要:

We introduce the "NoBackTrack" algorithm to train the parameters of dynamical systems such as recurrent neural networks. This algorithm works in an online, memoryless setting, thus requiring no backpropagation through time, and is scalable, avoiding the large computational and memory cost of maintaining the full gradient of the current state with respect to the parameters. The algorithm essentially maintains, at each time, a single search direction in parameter space. The evolution of this search direction is partly stochastic and is constructed in such a way to provide, at every time, an unbiased random estimate of the gradient of the loss function with respect to the parameters. Because the gradient estimate is unbiased, on average over time the parameter is updated as it should. The resulting gradient estimate can then be fed to a lightweight Kalman-like filter to yield an improved algorithm. For recurrent neural networks, the resulting algorithms scale linearly with the number of parameters. Small-scale experiments confirm the suitability of the approach, showing that the stochastic approximation of the gradient introduced in the algorithm is not detrimental to learning. In particular, the Kalman-like version of NoBackTrack is superior to backpropagation through time (BPTT) when the time span of dependencies in the data is longer than the truncation span for BPTT.

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

↑