arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.02832cs.CLcs.LG
收藏

使用低秩矩阵补全算法的高效最小贝叶斯风险解码

Efficient Minimum Bayes Risk Decoding using Low-Rank Matrix Completion Algorithms

Google(谷歌公司)

Firas Trabelsi, David Vilar, Mara Finkelstein, Markus Freitag

AI总结:

本文提出利用低秩矩阵补全技术近似最小贝叶斯风险(MBR)解码,通过交替最小二乘法恢复部分效用分数矩阵,在保持翻译质量的同时大幅减少计算量。

摘要:

最小贝叶斯风险(MBR)解码是一种广泛用于文本生成任务的强大解码策略,但其二次计算复杂度限制了其实际应用。本文提出了一种利用矩阵补全技术近似MBR解码的新方法,重点关注机器翻译任务。我们将MBR解码形式化为一个矩阵补全问题,其中候选假设与伪参考翻译之间的效用度量分数构成一个低秩矩阵。首先,我们通过实验证明这些分数矩阵确实具有低秩结构。然后,我们利用这一点,仅计算随机的一部分分数,并通过应用交替最小二乘法(ALS)算法高效地恢复矩阵中的缺失项,从而实现对MBR解码过程的快速近似。我们在机器翻译任务上的实验结果表明,与原始MBR解码相比,所提出的方法仅需1/16的效用度量计算,同时在WMT22数据集(en<>de和en<>ru)上达到由COMET22衡量的同等翻译质量。我们还将该方法与其他近似方法进行了基准比较,结果表明与之相比在质量上有所提升。

英文摘要:

Minimum Bayes Risk (MBR) decoding is a powerful decoding strategy widely used for text generation tasks, but its quadratic computational complexity limits its practical application. This paper presents a novel approach for approximating MBR decoding using matrix completion techniques, focusing on the task of machine translation. We formulate MBR decoding as a matrix completion problem, where the utility metric scores between candidate hypotheses and pseudo-reference translations form a low-rank matrix. First, we empirically show that the scores matrices indeed have a low-rank structure. Then, we exploit this by only computing a random subset of the scores and efficiently recover the missing entries in the matrix by applying the Alternating Least Squares (ALS) algorithm, thereby enabling a fast approximation of the MBR decoding process. Our experimental results on machine translation tasks demonstrate that the proposed method requires 1/16 utility metric computations compared to vanilla MBR decoding while achieving equal translation quality measured by COMET22 on the WMT22 dataset (en<>de and en<>ru). We also benchmark our method against other approximation methods and we show gains in quality when comparing to them.

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

↑