Quality-Aware Decoding for Neural Machine Translation

Patrick Fernandes, António Farinhas, Ricardo Rei, José G. C. de Souza, Perez Ogayo +2 more
5/2/2022
cs.CL

Official code: deep-spin/qaware-decode (18 stars, Python, last commit 2022-06-07).

Abstract

Despite the progress in machine translation quality estimation and evaluation in the last years, decoding in neural machine translation (NMT) is mostly oblivious to this and centers around finding the most probable translation according to the model (MAP decoding), approximated with beam search. In this paper, we bring together these two lines of research and propose quality-aware decoding for NMT, by leveraging recent breakthroughs in reference-free and reference-based MT evaluation through various inference methods like $N$-best reranking and minimum Bayes risk decoding.

Show full abstract

We perform an extensive comparison of various possible candidate generation and ranking methods across four datasets and two model classes and find that quality-aware decoding consistently outperforms MAP-based decoding according both to state-of-the-art automatic metrics (COMET and BLEURT) and to human assessments. Our code is available at https://github.com/deep-spin/qaware-decode.

View on arXivView PDF

Code Implementations(1)

A repository for experiments in quality-aware decoding

185Python, PerlOct 19, 20214 years ago

Similar Papers

Cite this paper

@article{fernandes2022qualityaware,
  title  = {Quality-Aware Decoding for Neural Machine Translation},
  author = {Patrick Fernandes and António Farinhas and Ricardo Rei and José G. C. de Souza and Perez Ogayo and Graham Neubig and André F. T. Martins},
  year   = {2022},
  eprint = {2205.00978},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.00978}
}

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/2205.00978.svg)](https://codeofpaper.com/paper/2205.00978)

Discussion