Frequency-Aware Contrastive Learning for Neural Machine Translation

Authors

  • Tong Zhang Peking University
  • Wei Ye Peking University
  • Baosong Yang Alibaba Group
  • Long Zhang Peking University
  • Xingzhang Ren Alibaba Group
  • Dayiheng Liu Alibaba Group
  • Jinan Sun Peking University
  • Shikun Zhang Peking University
  • Haibo Zhang Alibaba Group
  • Wen Zhao Peking University

DOI:

https://doi.org/10.1609/aaai.v36i10.21426

Keywords:

Speech & Natural Language Processing (SNLP)

Abstract

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.

Downloads

Published

2022-06-28

How to Cite

Zhang, T., Ye, W., Yang, B., Zhang, L., Ren, X., Liu, D., Sun, J., Zhang, S., Zhang, H., & Zhao, W. (2022). Frequency-Aware Contrastive Learning for Neural Machine Translation. Proceedings of the AAAI Conference on Artificial Intelligence, 36(10), 11712-11720. https://doi.org/10.1609/aaai.v36i10.21426

Issue

Section

AAAI Technical Track on Speech and Natural Language Processing