English

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

Computation and Language 2018-05-15 v1 Computer Vision and Pattern Recognition

Abstract

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.

Keywords

Cite

@article{arxiv.1805.05062,
  title  = {Token-level and sequence-level loss smoothing for RNN language models},
  author = {Maha Elbayad and Laurent Besacier and Jakob Verbeek},
  journal= {arXiv preprint arXiv:1805.05062},
  year   = {2018}
}

Comments

Accepted by ACL 2018

R2 v1 2026-06-23T01:53:45.870Z