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

基于长期记忆网络的语言建模

Language Modeling through Long Term Memory Network

Murdoch University(莫道克大学)

Anupiya Nugaliyadde, Kok Wai Wong, Ferdous Sohel, Hong Xie

摘要:

递归神经网络(RNN)、长短期记忆网络(LSTM)和包含记忆的记忆网络被广泛用于学习序列数据中的模式。序列数据具有保持关系的长序列。RNN可以处理长序列,但存在梯度消失和梯度爆炸问题。虽然LSTM和其他内存网络解决了这个问题,但它们无法处理长序列(50个或更多数据点的长序列模式)。需要从更长序列学习的语言建模受到需要更多记忆信息的影响。本文介绍了长期记忆网络(LTM),它可以解决梯度爆炸和消失问题,并且可以处理长序列而不会遗忘。LTM被设计为缩放存储器中的数据,并为序列中的输入提供更高的权重。LTM通过在获得最佳结果后缩放单元状态来避免过拟合。在Penn树库数据集上对LTM进行了测试,Text8数据集和LTM的测试复杂度分别为83和82。对于Penn树库,650个LTM细胞达到了67的测试困惑度,对于Text8,600个细胞达到了77的测试困惑度。LTM通过对两个数据集仅使用十个隐藏的LTM单元来实现最先进的结果。

英文摘要:

Recurrent Neural Networks (RNN), Long Short-Term Memory Networks (LSTM), and Memory Networks which contain memory are popularly used to learn patterns in sequential data. Sequential data has long sequences that hold relationships. RNN can handle long sequences but suffers from the vanishing and exploding gradient problems. While LSTM and other memory networks address this problem, they are not capable of handling long sequences (50 or more data points long sequence patterns). Language modelling requiring learning from longer sequences are affected by the need for more information in memory. This paper introduces Long Term Memory network (LTM), which can tackle the exploding and vanishing gradient problems and handles long sequences without forgetting. LTM is designed to scale data in the memory and gives a higher weight to the input in the sequence. LTM avoid overfitting by scaling the cell state after achieving the optimal results. The LTM is tested on Penn treebank dataset, and Text8 dataset and LTM achieves test perplexities of 83 and 82 respectively. 650 LTM cells achieved a test perplexity of 67 for Penn treebank, and 600 cells achieved a test perplexity of 77 for Text8. LTM achieves state of the art results by only using ten hidden LTM cells for both datasets.

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

↑