← 返回资源分享
The Curious Case of Neural Text Degeneration
论文
论文
发布时间2019-04-22
发表ICLR 2020 1 · arXiv:1904.09751
作者:Ari Holtzman,Yejin Choi,Jan Buys,Li Du,Maxwell Forbes
详细介绍
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.
代码仓库 (17)
sander102907/autoencoder_program_synthesis官方PyTorch
ari-holtzman/degen官方PyTorch
THUDM/KOBEPyTorch
noriyukipy/tfdlgTensorFlow
colorfulscoop/tfdlgTensorFlow
THUcqb/KOBEPyTorch
AleksSol/mmp_activity_diary
noriyukipy/tfchatTensorFlow
jiangjyjy/CDialGPTPyTorch
labmlai/annotated_deep_learning_paper_implementationsPyTorch
