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

校准序列似然性改进条件语言生成

Calibrating Sequence likelihood Improves Conditional Language Generation

Google Research(谷歌研究院)

Yao Zhao, Misha Khalman, Rishabh Joshi, Shashi Narayan, Mohammad Saleh, Peter J. Liu

摘要:

条件语言模型主要用最大似然估计(MLE)进行训练,为稀疏观察的目标序列提供概率质量。虽然MLE训练的模型在给定上下文的情况下将高概率分配给似然序列,但模型概率通常不能准确地按质量对生成的序列进行排序。这已经在束搜索解码中根据经验观察到,输出质量随着大的束尺寸而降级,并且解码策略受益于诸如长度归一化和重复分块之类的简化。在这项工作中,我们引入序列似然校准(SLiC),其中校准模型生成序列的似然,以更好地与模型潜在空间中的参考序列对齐。利用SLiC,解码算法变得不必要,并且无论解码方法如何,解码候选的质量都显著提高。此外,SLiC没有显示出随着模型规模而减少收益的迹象,并提供了在有限的训练和推理预算下提高质量的替代方法。使用SLiC,我们在广泛的生成任务上超过或匹配SOTA结果,包括抽象摘要,问题生成,抽象问答和数据到文本生成,即使是中等规模的模型。

英文摘要:

Conditional language models are predominantly trained with maximum likelihood estimation (MLE), giving probability mass to sparsely observed target sequences. While MLE trained models assign high probability to plausible sequences given the context, the model probabilities often do not accurately rank-order generated sequences by quality. This has been empirically observed in beam search decoding as output quality degrading with large beam sizes, and decoding strategies benefiting from heuristics such as length normalization and repetition-blocking. In this work, we introduce sequence likelihood calibration (SLiC) where the likelihood of model generated sequences are calibrated to better align with reference sequences in the model's latent space. With SLiC, decoding heuristics become unnecessary and decoding candidates' quality significantly improves regardless of the decoding method. Furthermore, SLiC shows no sign of diminishing returns with model scale, and presents alternative ways to improve quality with limited training and inference budgets. With SLiC, we exceed or match SOTA results on a wide range of generation tasks spanning abstractive summarization, question generation, abstractive question answering and data-to-text generation, even with modest-sized models.

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

↑