arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1906.03805cs.LGcs.CLstat.ML
收藏

通过对抗训练改进神经语言建模

Improving Neural Language Modeling via Adversarial Training

UT Austin(德克萨斯大学奥斯汀分校)

Dilin Wang, Chengyue Gong, Qiang Liu

摘要:

最近,通过使用深度神经网络在语言建模方面取得了实质性进展。然而,在实践中,大规模神经语言模型已被证明是容易过拟合。在本文中,我们提出了一个简单而高效的对抗训练机制,用于正则化神经语言模型。这个想法是在训练模型的同时将对抗性噪声引入输出嵌入层。我们证明了最佳对抗性噪声产生一个简单的封闭形式的解决方案,从而使我们能够开发一个简单和时间有效的算法。理论上,我们证明了我们的对抗机制有效地鼓励了嵌入向量的多样性,有助于提高模型的鲁棒性。从经验上讲,我们的方法改进了Penn Treebank(PTB)和Wikitext-2上语言建模的单一模型最先进的结果,分别达到了46.01和38.07的测试困惑分数。当应用于机器翻译时,我们的方法在WMT 14英语-德语和IWSLT 14德语-英语任务的BLEU分数中改善了各种基于transformer的翻译基线。

英文摘要:

Recently, substantial progress has been made in language modeling by using deep neural networks. However, in practice, large scale neural language models have been shown to be prone to overfitting. In this paper, we present a simple yet highly effective adversarial training mechanism for regularizing neural language models. The idea is to introduce adversarial noise to the output embedding layer while training the models. We show that the optimal adversarial noise yields a simple closed-form solution, thus allowing us to develop a simple and time efficient algorithm. Theoretically, we show that our adversarial mechanism effectively encourages the diversity of the embedding vectors, helping to increase the robustness of models. Empirically, we show that our method improves on the single model state-of-the-art results for language modeling on Penn Treebank (PTB) and Wikitext-2, achieving test perplexity scores of 46.01 and 38.07, respectively. When applied to machine translation, our method improves over various transformer-based translation baselines in BLEU scores on the WMT14 English-German and IWSLT14 German-English tasks.

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

↑