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

神经机器翻译中的频率感知对比学习

Frequency-Aware Contrastive Learning for Neural Machine Translation

National Engineering Research Center for Software Engineering, Peking University(北京大学国家软件工程研究中心);Alibaba Group(阿里巴巴集团)

Tong Zhang, Wei Ye, Baosong Yang, Long Zhang, Xingzhang Ren, Dayiheng Liu, Jinan Sun, Shikun Zhang, Haibo Zhang, Wen Zhao

摘要:

低频词预测仍然是现代神经机器翻译(NMT)系统中的一个挑战。最近的自适应训练方法通过强调其在总体训练目标中的权重来促进不频繁词的输出。尽管低频词的召回率有所提高,但其预测精度却意外地受到自适应目标的阻碍。受到低频词形成更紧凑的嵌入空间的观察的启发,我们从表示学习的角度来解决这个挑战。具体来说,我们提出了一种基于词频的标记级对比学习方法,该方法根据对应的词频,以软对比的方式将每个解码步骤的隐藏状态从其他目标词的对应部分中推开。我们在广泛使用的NIST汉英和WMT14英德翻译任务上进行了实验。实验结果表明,我们提出的方法不仅可以显着提高翻译质量,而且还增强了词汇多样性和优化词的表示空间。进一步的研究表明,与相关的自适应训练策略相比,该方法在低频词预测上的优势在于在不牺牲准确率的前提下,能够在不同频率范围内保持词级召回的鲁棒性。

英文摘要:

Low-frequency word prediction remains a challenge in modern neural machine translation (NMT) systems. Recent adaptive training methods promote the output of infrequent words by emphasizing their weights in the overall training objectives. Despite the improved recall of low-frequency words, their prediction precision is unexpectedly hindered by the adaptive objectives. Inspired by the observation that low-frequency words form a more compact embedding space, we tackle this challenge from a representation learning perspective. Specifically, we propose a frequency-aware token-level contrastive learning method, in which the hidden state of each decoding step is pushed away from the counterparts of other target words, in a soft contrastive way based on the corresponding word frequencies. We conduct experiments on widely used NIST Chinese-English and WMT14 English-German translation tasks. Empirical results show that our proposed methods can not only significantly improve the translation quality but also enhance lexical diversity and optimize word representation space. Further investigation reveals that, comparing with related adaptive training strategies, the superiority of our method on low-frequency word prediction lies in the robustness of token-level recall across different frequencies without sacrificing precision.

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

↑