arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.01116cs.LGcs.CLcs.NEstat.ML
收藏

无时间旅行的长距离关系:提升序列建模中稀疏预测自动编码器的性能

Long Distance Relationships without Time Travel: Boosting the Performance of a Sparse Predictive Autoencoder in Sequence Modeling

UC Berkeley(加州大学伯克利分校);Numenta(Numenta公司);Incubator 491(491孵化器)

Jeremy Gordon, David Rawlinson, Subutai Ahmad

摘要:

在语言建模等序列学习任务中,递归神经网络必须学习按时间分隔的输入特征之间的关系。LSTM和Transformer等最先进的模型是通过将损失反向传播到存储器中保存的先前隐藏状态和输入来训练的。这允许梯度从现在流到过去,并有效地学习完美的事后诸葛亮,但在显着的内存成本。在本文中,我们表明,它是可能的训练高性能的经常性网络使用的信息是本地的时间,从而实现显着减少内存占用。我们描述了一个预测自动编码器称为bRSM具有经常性的连接,稀疏激活,并提高细胞利用率的提升规则。该架构表现出接近最佳性能的非确定性(随机)部分可观察序列学习任务组成的高马尔可夫阶序列的MNIST数字。我们发现,这个模型比LSTM更快、更完整地学习这些序列,并提供了几种可能的解释,为什么LSTM架构可能会在这个任务中与部分可观察的序列结构作斗争。我们还将我们的模型应用于Penn Treebank(PTB)数据集上的下一个单词预测任务。我们发现,一个“扁平化”的RSM网络,当与现代语义词嵌入和增加boosting配对时,实现了103.5 PPL(比最好的N-gram模型提高了20分),击败了用BPTT训练的普通RNN,并接近早期LSTM实现的分数。这项工作提供了令人鼓舞的证据,证明使用记忆密集度较低的生物学合理的训练制度可能会在具有挑战性的任务(如语言建模)上取得强有力的结果。

英文摘要:

In sequence learning tasks such as language modelling, Recurrent Neural Networks must learn relationships between input features separated by time. State of the art models such as LSTM and Transformer are trained by backpropagation of losses into prior hidden states and inputs held in memory. This allows gradients to flow from present to past and effectively learn with perfect hindsight, but at a significant memory cost. In this paper we show that it is possible to train high performance recurrent networks using information that is local in time, and thereby achieve a significantly reduced memory footprint. We describe a predictive autoencoder called bRSM featuring recurrent connections, sparse activations, and a boosting rule for improved cell utilization. The architecture demonstrates near optimal performance on a non-deterministic (stochastic) partially-observable sequence learning task consisting of high-Markov-order sequences of MNIST digits. We find that this model learns these sequences faster and more completely than an LSTM, and offer several possible explanations why the LSTM architecture might struggle with the partially observable sequence structure in this task. We also apply our model to a next word prediction task on the Penn Treebank (PTB) dataset. We show that a 'flattened' RSM network, when paired with a modern semantic word embedding and the addition of boosting, achieves 103.5 PPL (a 20-point improvement over the best N-gram models), beating ordinary RNNs trained with BPTT and approaching the scores of early LSTM implementations. This work provides encouraging evidence that strong results on challenging tasks such as language modelling may be possible using less memory intensive, biologically-plausible training regimes.

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

↑