arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.05062cs.CLcs.CV
收藏

Token-语言模型的RNN级和序列级损失平滑

Token-level and sequence-level loss smoothing for RNN language models

Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);INRIA(法国国家信息与自动化研究所)

Maha Elbayad, Laurent Besacier, Jakob Verbeek

摘要:

尽管递归神经网络语言模型的有效性,他们的最大似然估计遭受两个限制。它将所有不匹配基础事实的句子视为同样差的句子,忽略输出空间的结构。其次,它遭受“暴露偏差”:在训练期间,令牌被预测为给定的地面实况序列,而在测试时,预测以生成的输出序列为条件。为了克服这些限制,我们建立在最近的奖励增强最大似然方法\ie序列级平滑,鼓励模型预测句子接近地面真相根据给定的性能指标。我们将这种方法扩展到令牌级损失平滑,并提出了改进的序列级平滑方法。我们在两个不同的任务,图像描述和机器翻译,实验表明,令牌级和序列级损失平滑是互补的,并显着改善结果。

英文摘要:

Despite the effectiveness of recurrent neural network language models, their maximum likelihood estimation suffers from two limitations. It treats all sentences that do not match the ground truth as equally poor, ignoring the structure of the output space. Second, it suffers from "exposure bias": during training tokens are predicted given ground-truth sequences, while at test time prediction is conditioned on generated output sequences. To overcome these limitations we build upon the recent reward augmented maximum likelihood approach \ie sequence-level smoothing that encourages the model to predict sentences close to the ground truth according to a given performance metric. We extend this approach to token-level loss smoothing, and propose improvements to the sequence-level smoothing approach. Our experiments on two different tasks, image captioning and machine translation, show that token-level and sequence-level loss smoothing are complementary, and significantly improve results.

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

↑