arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.15721cs.CLcs.AI
收藏

神经文本生成器的解码策略研究

On Decoding Strategies for Neural Text Generators

ETH Zürich(苏黎世联邦理工学院)

Gian Wiher, Clara Meister, Ryan Cotterell

摘要:

当从概率模型生成文本时,所选择的解码策略对生成的文本有着深远的影响。然而,不同的解码策略所引发的属性并不总是在自然语言生成任务之间转移。例如,虽然像束搜索这样的模式搜索方法在机器翻译中表现得非常好,但已经观察到它们在故事生成中导致不连贯和重复的文本。尽管有这样的观察,解码策略的有效性往往是评估相对于只有一个单一的任务。与此相反,本研究对语言生成任务和解码策略之间的相互作用进行了全面的分析。具体来说,我们测量的功能的解码策略和任务,使用人类和自动评估生成的文本的属性的变化。我们的研究结果揭示了先前观察到的和令人惊讶的发现。例如,语言生成中多样性-质量权衡的性质是非常特定于任务的;通常归因于束搜索的长度偏差在任务之间不是恒定的。

英文摘要:

When generating text from probabilistic models, the chosen decoding strategy has a profound effect on the resulting text. Yet the properties elicited by various decoding strategies do not always transfer across natural language generation tasks. For example, while mode-seeking methods like beam search perform remarkably well for machine translation, they have been observed to lead to incoherent and repetitive text in story generation. Despite such observations, the effectiveness of decoding strategies is often assessed with respect to only a single task. This work -- in contrast -- provides a comprehensive analysis of the interaction between language generation tasks and decoding strategies. Specifically, we measure changes in attributes of generated text as a function of both decoding strategy and task using human and automatic evaluation. Our results reveal both previously-observed and surprising findings. For example, the nature of the diversity-quality trade-off in language generation is very task-specific; the length bias often attributed to beam search is not constant across tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑