Saliency-driven Word Alignment Interpretation for Neural Machine Translation

Shuoyang Ding, Hainan Xu, Philipp Koehn
6/25/2019
cs.CL

Official code: shuoyangd/meerkat (9 stars, Python, MIT, last commit 2019-09-26).

Abstract

Despite their original goal to jointly learn to align and translate, Neural Machine Translation (NMT) models, especially Transformer, are often perceived as not learning interpretable word alignments. In this paper, we show that NMT models do learn interpretable word alignments, which could only be revealed with proper interpretation methods.

Show full abstract

We propose a series of such methods that are model-agnostic, are able to be applied either offline or online, and do not require parameter update or architectural change. We show that under the force decoding setup, the alignments induced by our interpretation method are of better quality than fast-align for some systems, and when performing free decoding, they agree well with the alignments induced by automatic alignment tools.

View on arXivView PDF

Code Implementations(1)

shuoyangd/meerkatOfficial100%
MIT
91Python, ShellMar 19, 20197 years agoMIT

Similar Papers

Cite this paper

@article{ding2019saliencydriven,
  title  = {Saliency-driven Word Alignment Interpretation for Neural Machine Translation},
  author = {Shuoyang Ding and Hainan Xu and Philipp Koehn},
  year   = {2019},
  eprint = {1906.10282},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.10282}
}

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

Discussion