CLApr 22, 2019

The Curious Case of Neural Text Degeneration

arXiv:1904.09751v24226 citations
AI Analysis

This addresses the issue of poor text generation quality in neural language models for applications like chatbots and content creation, though it is incremental as it focuses on decoding strategies rather than model architecture.

The paper tackles the problem of neural text degeneration, where using likelihood as a decoding objective leads to bland and repetitive machine-generated text, and introduces Nucleus Sampling, a method that improves text diversity and fluency by sampling from the dynamic nucleus of the probability distribution.

Despite considerable advancements with deep neural language models, the enigma of neural text degeneration persists when these models are tested as text generators. The counter-intuitive empirical observation is that even though the use of likelihood as training objective leads to high quality models for a broad range of language understanding tasks, using likelihood as a decoding objective leads to text that is bland and strangely repetitive. In this paper, we reveal surprising distributional differences between human text and machine text. In addition, we find that decoding strategies alone can dramatically effect the quality of machine text, even when generated from exactly the same neural language model. Our findings motivate Nucleus Sampling, a simple but effective method to draw the best out of neural generation. By sampling text from the dynamic nucleus of the probability distribution, which allows for diversity while effectively truncating the less reliable tail of the distribution, the resulting text better demonstrates the quality of human text, yielding enhanced diversity without sacrificing fluency and coherence.

Code Implementations17 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes