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

质量感知翻译模型:单一模型中的高效生成与质量评估

Quality-Aware Translation Models: Efficient Generation and Quality Estimation in a Single Model

Google(谷歌);Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心)

Christian Tomani, David Vilar, Markus Freitag, Colin Cherry, Subhajit Naskar, Mara Finkelstein, Xavier Garcia, Daniel Cremers

AI总结:

针对现有质量感知解码需额外模型计算效用函数、成本高的问题,提出训练NMT模型自身评估输出质量的方法,可大幅提升MBR解码速度,还能在单遍解码效率下实现媲美甚至优于质量重排序的质量增益。

摘要:

最大后验概率(Maximum-a-posteriori, MAP)解码是神经机器翻译(neural machine translation, NMT)模型中应用最广泛的解码策略。其底层假设是模型概率与人类判断高度相关,质量更好的译文会被模型赋予更高的分数。然而研究表明,这一假设并非始终成立,通过解码以优化由指标或质量评估信号支撑的效用函数(如最小贝叶斯风险(Minimum Bayes Risk, MBR)或质量感知解码的做法),可以提升生成质量。这类方法的主要缺点是解码过程中需要额外的模型来计算效用函数,大幅增加了计算成本。本文提出通过训练NMT模型评估自身输出的质量,让模型本身具备质量感知能力。将该方法用于MBR解码时,我们可以大幅缩减候选列表的规模,实现两个数量级的速度提升。将方法应用于MAP解码时,我们获得的质量增益与质量重排序方法相近甚至更优,同时具备单遍解码的效率。

英文摘要:

Maximum-a-posteriori (MAP) decoding is the most widely used decoding strategy for neural machine translation (NMT) models. The underlying assumption is that model probability correlates well with human judgment, with better translations getting assigned a higher score by the model. However, research has shown that this assumption does not always hold, and generation quality can be improved by decoding to optimize a utility function backed by a metric or quality-estimation signal, as is done by Minimum Bayes Risk (MBR) or quality-aware decoding. The main disadvantage of these approaches is that they require an additional model to calculate the utility function during decoding, significantly increasing the computational cost. In this paper, we propose to make the NMT models themselves quality-aware by training them to estimate the quality of their own output. Using this approach for MBR decoding we can drastically reduce the size of the candidate list, resulting in a speed-up of two-orders of magnitude. When applying our method to MAP decoding we obtain quality gains similar or even superior to quality reranking approaches, but with the efficiency of single pass decoding.

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

↑