MLE-guided parameter search for task loss minimization in neural sequence modeling

Sean Welleck, Kyunghyun Cho
6/4/2020
cs.LGstat.ML

Official code: wellecks/mgs (12 stars, Python, last commit 2021-09-16).

Abstract

Neural autoregressive sequence models are used to generate sequences in a variety of natural language processing (NLP) tasks, where they are evaluated according to sequence-level task losses. These models are typically trained with maximum likelihood estimation, which ignores the task loss, yet empirically performs well as a surrogate objective.

Show full abstract

Typical approaches to directly optimizing the task loss such as policy gradient and minimum risk training are based around sampling in the sequence space to obtain candidate update directions that are scored based on the loss of a single sequence. In this paper, we develop an alternative method based on random search in the parameter space that leverages access to the maximum likelihood gradient. We propose maximum likelihood guided parameter search (MGS), which samples from a distribution over update directions that is a mixture of random search around the current parameters and around the maximum likelihood gradient, with each direction weighted by its improvement in the task loss. MGS shifts sampling to the parameter space, and scores candidates using losses that are pooled from multiple sequences. Our experiments show that MGS is capable of optimizing sequence-level losses, with substantial reductions in repetition and non-termination in sequence completion, and similar improvements to those of minimum risk training in machine translation.

View on arXivView PDF

Code Implementations(1)

wellecks/mgsOfficial100%

MLE-Guided Parameter Search (AAAI 2021)

121PythonJan 21, 20215 years ago

Similar Papers

Cite this paper

@article{welleck2020mleguided,
  title  = {MLE-guided parameter search for task loss minimization in neural sequence modeling},
  author = {Sean Welleck and Kyunghyun Cho},
  year   = {2020},
  eprint = {2006.03158},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.03158}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.03158.svg)](https://codeofpaper.com/paper/2006.03158)

Discussion