Skip to main content
QUICK REVIEW

[Paper Review] Saliency-driven Word Alignment Interpretation for Neural Machine Translation

Shuoyang Ding, Hainan Xu|arXiv (Cornell University)|Jun 25, 2019
Natural Language Processing TechniquesComputer Science41 references9 citations
TL;DR

This paper proposes a model-agnostic, parameter-free method using saliency and SmoothGrad to interpret word alignments in Neural Machine Translation (NMT) models, demonstrating that attention weights alone yield suboptimal alignments. The approach achieves 10–20 lower Alignment Error Rate (AER) than attention-based baselines and outperforms fast-align by up to 8.7 points, revealing that NMT models like FConv and Transformer implicitly learn interpretable alignments without architectural or training modifications.

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. 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.

Motivation & Objective

  • To address the lack of interpretable word alignment interpretation in NMT models, especially Transformers, which are often perceived as opaque despite attention mechanisms.
  • To develop a method that extracts high-quality word alignments without modifying model architecture or requiring retraining.
  • To evaluate whether NMT models implicitly learn interpretable alignments, challenging the assumption that attention weights alone yield reliable alignment interpretations.
  • To provide a scalable, online-capable interpretation method applicable in constrained decoding and computer-aided translation settings.

Proposed method

  • The method uses gradient-based saliency, specifically SmoothGrad, to compute word-level importance scores between encoder and decoder hidden states.
  • Saliency scores are computed by adding Gaussian noise to the input and averaging gradients over multiple forward passes to reduce noise and improve stability.
  • The final alignment is derived by selecting the source word with the highest saliency score for each target word, producing a hard alignment map.
  • The approach is applied both offline (after full translation) and online (during decoding), enabling use in real-time systems.
  • The method is model-agnostic and does not require any parameter updates or architectural changes to the NMT model.
  • Evaluation is conducted under both force decoding (fixed generation order) and free decoding (dynamic generation), comparing alignment quality to attention and fast-align.

Experimental results

Research questions

  • RQ1Can saliency-based interpretation methods produce higher-quality word alignments than attention weights in NMT models?
  • RQ2Do NMT models like FConv and Transformer implicitly learn interpretable word alignments, even without explicit alignment training?
  • RQ3Can a model-agnostic, parameter-free interpretation method outperform external tools like fast-align in alignment quality?
  • RQ4How does the quality of saliency-based alignment vary under force vs. free decoding settings?
  • RQ5To what extent do noise variance and smoothing in SmoothGrad affect alignment dispersion and interpretability?

Key findings

  • The saliency-based method reduces Alignment Error Rate (AER) by 10–20 points compared to attention-based alignment interpretation across multiple NMT models.
  • The method outperforms fast-align by up to 8.7 AER points, especially in the free decoding setting.
  • Even without architectural or training modifications, FConv and Transformer models implicitly learn alignments of quality comparable to fast-align.
  • Alignment dispersion, measured by entropy, is lower for saliency than for attention, indicating more focused and stable alignments.
  • The force decoding setting introduces slightly more noise than free decoding, but the difference in alignment quality is minimal.
  • SmoothGrad with increasing noise variance (σ) increases alignment dispersion, confirming the method's sensitivity to smoothing parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.