Implicit Unlikelihood Training: Improving Neural Text Generation with Reinforcement Learning

Evgeny Lagutin, Daniil Gavrilov, Pavel Kalaidin
1/11/2021
cs.CL
rl

Official code: vklabmipt/implicit-unlikelihood-training (23 stars, Python, last commit 2021-01-13).

Abstract

Likelihood training and maximization-based decoding result in dull and repetitive generated texts even when using powerful language models (Holtzman et al., 2019). Adding a loss function for regularization was shown to improve text generation output by helping avoid unwanted properties, such as contradiction or repetition (Li at al., 2020).

Show full abstract

In this work, we propose fine-tuning a language model by using policy gradient reinforcement learning, directly optimizing for better generation. We apply this approach to minimizing repetition in generated text, and show that, when combined with unlikelihood training (Welleck et al., 2020), our method further reduces repetition without impacting the language model quality. We also evaluate other methods for improving generation at training and decoding time, and compare them using various metrics aimed at control for better text generation output.

View on arXivView PDF

Code Implementations(1)

Improving Neural Text Generation with Reinforcement Learning

234Python, ShellJan 11, 20215 years ago

Similar Papers

Cite this paper

@article{lagutin2021implicit,
  title  = {Implicit Unlikelihood Training: Improving Neural Text Generation with Reinforcement Learning},
  author = {Evgeny Lagutin and Daniil Gavrilov and Pavel Kalaidin},
  year   = {2021},
  eprint = {2101.04229},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.04229}
}

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/2101.04229.svg)](https://codeofpaper.com/paper/2101.04229)

Discussion