arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13477cs.CL
收藏

面向开放式文本生成的回溯解码

Look-back Decoding for Open-Ended Text Generation

University of Southern California(南加州大学);Meta AI

Nan Xu, Chunting Zhou, Asli Celikyilmaz, Xuezhe Ma

AI总结:

本文提出改进的解码算法Look-back,利用Kullback-Leibler散度跟踪当前与历史解码步骤的分布距离,以预测并移除导致重复和话题漂移的词元,在文档续写和故事生成任务中显著提升了文本连贯性。

摘要:

给定前缀(上下文),开放式生成旨在解码出连贯且信息丰富的文本,前者不突然偏离先前话题,后者不出现不受欢迎的重复。在本文中,我们提出了Look-back,一种改进的解码算法,它利用Kullback-Leibler散度来跟踪当前和历史解码步骤之间的分布距离。因此,Look-back能够自动预测潜在的重复短语和话题漂移,并移除可能导致这些失败模式的词元,将下一个词元的概率分布限制在与历史保持合理距离的范围内。我们在文档续写和故事生成上进行了解码实验,并证明Look-back能够生成更流畅连贯的文本,在自动和人工评估中均显著优于其他强基线解码方法。

英文摘要:

Given a prefix (context), open-ended generation aims to decode texts that are coherent, which do not abruptly drift from previous topics, and informative, which do not suffer from undesired repetitions. In this paper, we propose Look-back, an improved decoding algorithm that leverages the Kullback-Leibler divergence to track the distribution distance between current and historical decoding steps. Thus Look-back can automatically predict potential repetitive phrase and topic drift, and remove tokens that may cause the failure modes, restricting the next token probability distribution within a plausible distance to the history. We perform decoding experiments on document continuation and story generation, and demonstrate that Look-back is able to generate more fluent and coherent text, outperforming other strong decoding methods significantly in both automatic and human evaluations.

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

↑