神经文本退化的奇特案例

The Curious Case of Neural Text Degeneration

崔艺珍 Yejin Choi · U. Washington · 2019-04-22 · arXiv:1904.09751 ↗ · 被引 4318

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

尽管深度神经语言模型取得了显著进展,但当这些模型作为文本生成器进行测试时,神经文本退化的谜团依然存在。反直觉的经验观察是,虽然使用似然作为训练目标可以为广泛的语言理解任务带来高质量模型,但将似然作为解码目标会导致文本平淡且奇怪地重复。在本文中,我们揭示了人类文本与机器文本之间令人惊讶的分布差异。此外,我们发现即使使用完全相同的神经语言模型,解码策略本身也能显著影响机器文本的质量。我们的发现推动了核采样(Nucleus Sampling)的发展,这是一种简单而有效的方法,能够充分发挥神经生成的潜力。通过从概率分布的动态核中采样文本,该方法在允许多样性的同时有效截断了分布中不太可靠的尾部,生成的文本更好地展现了人类文本的质量,在保持流畅性和连贯性的同时增强了多样性。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 17)

阅读逐段中英对照全文 →