Adding Interpretable Attention to Neural Translation Models Improves Word Alignment
Thomas Zenkel, Joern Wuebker, John DeNero

TL;DR
This paper introduces an interpretable attention mechanism in neural translation models that improves word alignment accuracy by leveraging hidden representations and a novel inference method, achieving results comparable to traditional alignment tools.
Contribution
The authors propose a simple extension to the Transformer model that enables high-accuracy word alignment without requiring alignment supervision, using a new inference procedure based on stochastic gradient descent.
Findings
Alignments outperform naive attention interpretation methods.
Alignments are comparable to Giza++ on benchmark datasets.
The method works without explicit alignment training data.
Abstract
Multi-layer models with multiple attention heads per layer provide superior translation quality compared to simpler and shallower models, but determining what source context is most relevant to each target word is more challenging as a result. Therefore, deriving high-accuracy word alignments from the activations of a state-of-the-art neural machine translation model is an open challenge. We propose a simple model extension to the Transformer architecture that makes use of its hidden representations and is restricted to attend solely on encoder information to predict the next word. It can be trained on bilingual data without word-alignment information. We further introduce a novel alignment inference procedure which applies stochastic gradient descent to directly optimize the attention activations towards a given target word. The resulting alignments dramatically outperform the naive…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Text Readability and Simplification
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Residual Connection · Byte Pair Encoding · Dense Connections · Label Smoothing · *Communicated@Fast*How Do I Communicate to Expedia? · Adam · Softmax
