arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1608.05859cs.CL
收藏

利用输出嵌入改进语言模型

Using the Output Embedding to Improve Language Models

Tel-Aviv University(特拉维夫大学)

Ofir Press, Lior Wolf

摘要:

研究了神经网络语言模型的最高权矩阵。我们表明,这个矩阵构成了一个有效的词嵌入。在训练语言模型时,我们建议将输入嵌入和输出嵌入绑定在一起。我们分析了由此产生的更新规则,并表明绑定嵌入的演变方式更类似于输出嵌入比输入嵌入在untied模型。我们还提供了一种新的正则化输出嵌入的方法。我们的方法导致困惑的显着减少,因为我们能够在各种神经网络语言模型上显示。最后,我们证明了权重绑定可以将神经翻译模型的大小减少到原始大小的一半以下,而不会损害它们的性能。

英文摘要:

We study the topmost weight matrix of neural network language models. We show that this matrix constitutes a valid word embedding. When training language models, we recommend tying the input embedding and this output embedding. We analyze the resulting update rules and show that the tied embedding evolves in a more similar way to the output embedding than to the input embedding in the untied model. We also offer a new method of regularizing the output embedding. Our methods lead to a significant reduction in perplexity, as we are able to show on a variety of neural network language models. Finally, we show that weight tying can reduce the size of neural translation models to less than half of their original size without harming their performance.

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

↑