Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translation

Chenze Shao, Yang Feng
10/8/2022
27 citations
cs.CL

Official code: ictnlp/NMLA-NAT (20 stars, Python, MIT, last commit 2022-11-16).

Abstract

Non-autoregressive translation (NAT) models are typically trained with the cross-entropy loss, which forces the model outputs to be aligned verbatim with the target sentence and will highly penalize small shifts in word positions. Latent alignment models relax the explicit alignment by marginalizing out all monotonic latent alignments with the CTC loss.

Show full abstract

However, they cannot handle non-monotonic alignments, which is non-negligible as there is typically global word reordering in machine translation. In this work, we explore non-monotonic latent alignments for NAT. We extend the alignment space to non-monotonic alignments to allow for the global word reordering and further consider all alignments that overlap with the target sentence. We non-monotonically match the alignments to the target sentence and train the latent alignment model to maximize the F1 score of non-monotonic matching. Extensive experiments on major WMT benchmarks show that our method substantially improves the translation performance of CTC-based models. Our best model achieves 30.06 BLEU on WMT14 En-De with only one-iteration decoding, closing the gap between non-autoregressive and autoregressive models.

View on arXivView PDF

Code Implementations(1)

ictnlp/NMLA-NATOfficial100%
MIT

Code for NeurIPS 2022 Spotlight paper " Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translation"

202Python, CudaSep 22, 20224 years agoMIT

Similar Papers

Cite this paper

@article{shao2022nonmonotonic,
  title  = {Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translation},
  author = {Chenze Shao and Yang Feng},
  year   = {2022},
  eprint = {2210.03953},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03953}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.03953.svg)](https://codeofpaper.com/paper/2210.03953)

Discussion