
摘要
循环神经网络(RNN),如长短期记忆网络(LSTM),是许多序列学习任务的基础构建模块,包括机器翻译、语言建模和问答系统。本文中,我们专注于词级语言建模的具体问题,并研究了针对基于LSTM模型的正则化和优化策略。我们提出了权重丢弃LSTM(weight-dropped LSTM),该方法通过在隐藏层到隐藏层的权重上应用DropConnect来实现循环正则化。此外,我们引入了一种名为NT-ASGD的平均随机梯度方法变体,其中平均触发条件是非单调条件,而非由用户调参确定。利用这些及其他正则化策略,我们在两个数据集上实现了最先进的词级困惑度:Penn Treebank上的57.3和WikiText-2上的65.8。在探索神经缓存与所提模型结合的有效性时,我们进一步在Penn Treebank上达到了52.8的更低的最先进的困惑度,在WikiText-2上达到了52.0。
代码仓库
chris-tng/semi-supervised-nlp
pytorch
GitHub 中提及
mamamot/Russian-ULMFit
pytorch
GitHub 中提及
jkkummerfeld/emnlp20lm
pytorch
GitHub 中提及
Asteur/RERITES-AvgWeightDescentLSTM-PoetryGeneration
pytorch
GitHub 中提及
alexandra-chron/wassa-2018
pytorch
GitHub 中提及
llppff/ptb-lstmorqrnn-pytorch
pytorch
GitHub 中提及
mnhng/hier-char-emb
pytorch
GitHub 中提及
BenjiKCF/AWD-LSTM-sentiment-classifier
pytorch
GitHub 中提及
cstorm125/thai2fit
pytorch
GitHub 中提及
S-Abdelnabi/awt
pytorch
GitHub 中提及
prajjwal1/language-modelling
pytorch
GitHub 中提及
Han-JD/GRU-D
pytorch
GitHub 中提及
uclanlp/NamedEntityLanguageModel
pytorch
GitHub 中提及
NightmareVoid/LSTM_for_EEG
pytorch
GitHub 中提及
AtheMathmo/lookahead-lstm
pytorch
GitHub 中提及
uchange/ulangel
pytorch
GitHub 中提及
JessikaSmith/language_model
tf
GitHub 中提及
jb33k/awd-lstm-lm-ThinkNet
pytorch
GitHub 中提及
dmlc/gluon-nlp
mxnet
castorini/hedwig
pytorch
GitHub 中提及
ahmetumutdurmus/awd-lstm
pytorch
GitHub 中提及
muellerzr/CodeFest_2019
GitHub 中提及
SachinIchake/KALM
pytorch
GitHub 中提及
alexandra-chron/ntua-slp-wassa-iest2018
pytorch
GitHub 中提及
vganesh46/awd-lstm-pytorch-implementation
pytorch
GitHub 中提及
nkcr/overlap-ml
pytorch
GitHub 中提及
varshinireddyt/ULMFiT
GitHub 中提及
jhave/RERITES-AvgWeightDescentLSTM-PoetryGeneration
pytorch
GitHub 中提及
philippwirth/treelangrnn
pytorch
GitHub 中提及
Janus-Shiau/awd-lstm-tensorflow
tf
GitHub 中提及
iwangjian/ByteCup2018
pytorch
GitHub 中提及
noise-field/Russian-ULMFit
pytorch
GitHub 中提及
arvieFrydenlund/awd-lstm-lm
pytorch
GitHub 中提及
philippwirth/awd-lstm-test
pytorch
GitHub 中提及
ari-holtzman/genlm
pytorch
GitHub 中提及
AtheMathmo/AggMo
pytorch
GitHub 中提及
soyoung97/awd-lstm-gru
pytorch
GitHub 中提及
Mees-Molenaar/protein_location
pytorch
GitHub 中提及
Machine-Learning-Tokyo/Poetry-GAN
GitHub 中提及
salesforce/awd-lstm-lm
官方
pytorch
GitHub 中提及
castorini/Castor
pytorch
GitHub 中提及
基准测试
| 基准 | 方法 | 指标 |
|---|---|---|
| language-modelling-on-penn-treebank-word | AWD-LSTM + continuous cache pointer | Params: 24M Test perplexity: 52.8 Validation perplexity: 53.9 |
| language-modelling-on-penn-treebank-word | AWD-LSTM | Params: 24M Test perplexity: 57.3 Validation perplexity: 60.0 |
| language-modelling-on-wikitext-2 | AWD-LSTM + continuous cache pointer | Number of params: 33M Test perplexity: 52.0 Validation perplexity: 53.8 |
| language-modelling-on-wikitext-2 | AWD-LSTM | Number of params: 33M Test perplexity: 65.8 Validation perplexity: 68.6 |