Token-level and sequence-level loss smoothing for RNN language models - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2018

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


Despite the effectiveness of recurrent neu-ral 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 i.e. 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.
Fichier principal
Vignette du fichier
paper.pdf (18.53 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01790879 , version 1 (14-05-2018)


  • HAL Id : hal-01790879 , version 1


Maha Elbayad, Laurent Besacier, Jakob Verbeek. Token-level and sequence-level loss smoothing for RNN language models. ACL - 56th Annual Meeting of the Association for Computational Linguistics, Jul 2018, Melbourne, Australia. pp.2094-2103. ⟨hal-01790879⟩
307 View
332 Download


Gmail Facebook X LinkedIn More