arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.14919cs.CL
收藏

基于置信度剪枝的更快的最小贝叶斯风险解码

Faster Minimum Bayes Risk Decoding with Confidence-based Pruning

University of Cambridge(剑桥大学)

Julius Cheng, Andreas Vlachos

AI总结:

本文提出一种基于置信度剪枝的MBR解码算法,通过逐步增加样本并剪枝低置信度假设,在保持准确率的同时大幅减少样本需求和效用函数调用次数。

摘要:

最小贝叶斯风险(MBR)解码针对某个效用函数,输出在模型分布上具有最高期望效用的假设。已有研究表明,在条件语言生成任务,尤其是神经机器翻译中,无论是在人工评估还是自动评估方面,MBR解码相比束搜索均能提升准确率。然而,标准的基于采样的MBR算法在计算开销上远大于束搜索,它需要大量样本以及二次方级别的效用函数调用次数,这限制了其适用性。我们提出了一种MBR算法,该算法在逐步增加用于估计效用的样本数量的同时,利用自助采样获得的置信度估计来剪枝那些不太可能具有最高效用的假设。与标准MBR相比,我们的方法所需样本更少,并大幅减少了效用函数的调用次数,同时在准确率上与标准MBR在统计上无显著差异。我们在三个语言对上进行了实验,使用chrF++和COMET作为效用/评估指标,验证了我们方法的有效性。

英文摘要:

Minimum Bayes risk (MBR) decoding outputs the hypothesis with the highest expected utility over the model distribution for some utility function. It has been shown to improve accuracy over beam search in conditional language generation problems and especially neural machine translation, in both human and automatic evaluations. However, the standard sampling-based algorithm for MBR is substantially more computationally expensive than beam search, requiring a large number of samples as well as a quadratic number of calls to the utility function, limiting its applicability. We describe an algorithm for MBR which gradually grows the number of samples used to estimate the utility while pruning hypotheses that are unlikely to have the highest utility according to confidence estimates obtained with bootstrap sampling. Our method requires fewer samples and drastically reduces the number of calls to the utility function compared to standard MBR while being statistically indistinguishable in terms of accuracy. We demonstrate the effectiveness of our approach in experiments on three language pairs, using chrF++ and COMET as utility/evaluation metrics.

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

↑