LSTM语言模型的正则化和优化
Regularizing and Optimizing LSTM Language Models
摘要:
递归神经网络(RNN),如长短期记忆网络(LSTM),作为许多序列学习任务的基本构建块,包括机器翻译、语言建模和问答。在本文中,我们考虑了单词级语言建模的具体问题,并研究了正则化和优化基于LSTM的模型的策略。我们提出了权重下降的LSTM,它在隐藏到隐藏权重上使用DropConnect作为循环正则化的一种形式。此外,我们介绍NT-ASGD,平均随机梯度方法的一个变体,其中平均触发器是使用非单调条件确定的,而不是由用户调整。使用这些和其他正则化策略,我们在两个数据集上实现了最先进的单词级困惑:Penn Treebank上的57.3和WikiText-2上的65.8。在探索神经缓存与我们提出的模型相结合的有效性时,我们在Penn Treebank上实现了更低的最先进的困惑度,为52.8,在WikiText-2上为52.0。
英文摘要:
Recurrent neural networks (RNNs), such as long short-term memory networks (LSTMs), serve as a fundamental building block for many sequence learning tasks, including machine translation, language modeling, and question answering. In this paper, we consider the specific problem of word-level language modeling and investigate strategies for regularizing and optimizing LSTM-based models. We propose the weight-dropped LSTM which uses DropConnect on hidden-to-hidden weights as a form of recurrent regularization. Further, we introduce NT-ASGD, a variant of the averaged stochastic gradient method, wherein the averaging trigger is determined using a non-monotonic condition as opposed to being tuned by the user. Using these and other regularization strategies, we achieve state-of-the-art word level perplexities on two data sets: 57.3 on Penn Treebank and 65.8 on WikiText-2. In exploring the effectiveness of a neural cache in conjunction with our proposed model, we achieve an even lower state-of-the-art perplexity of 52.8 on Penn Treebank and 52.0 on WikiText-2.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。