Accurate Word Alignment Induction from Neural Machine Translation
Abstract
Despite its original goal to jointly learn to align and translate, prior researches suggest that Transformer captures poor word alignments through its attention mechanism. In this paper, we show that attention weights DO capture accurate word alignments and propose two novel word alignment induction methods SHIFT-ATT and SHIFT-AET. The main idea is to induce alignments at the step when the to-be-aligned target token is the decoder input rather than the decoder output as in previous work. SHIFT-ATT is an interpretation method that induces alignments from the attention weights of Transformer and does not require parameter update or architecture change. SHIFT-AET extracts alignments from an additional alignment module which is tightly integrated into Transformer and trained in isolation with supervision from symmetrized SHIFT-ATT alignments. Experiments on three publicly available datasets demonstrate that both methods perform better than their corresponding neural baselines and SHIFT-AET significantly outperforms GIZA++ by 1.4-4.8 AER points. 1 1 Code can be found at https://github.com/ sufe-nlp/transformer-alignment . das weiß ich . das weiß ich . das weiß ich .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Lexically Constrained Neural Machine Translation with Explicit Alignment Guidance cites Alignment-Enhanced Transformer for Constraining NMT with Pre-Specified Translations
- Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer cites On Identifiability in Transformers
- Generative Retrieval as Multi-Vector Dense Retrieval cites Lexically Constrained Neural Machine Translation with Explicit Alignment Guidance
Cited by top-tier papers15
- Sparse Attention with Linear UnitsBiao Zhang, Ivan Titov, Rico SennrichEMNLP 2021 · 32 citations
- Lexically Constrained Neural Machine Translation with Explicit Alignment GuidanceGuanhua Chen, Yun Chen, Victor O. K. LiAAAI 2021 · 29 citations
- Information-Transport-based Policy for Simultaneous TranslationShaolei Zhang, Yang FengEMNLP 2022 · 25 citations
- Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the TransformerJavier Ferrando, Gerard I. Gállego, Belen Alastruey, Carlos Escolano et al.EMNLP 2022 · 18 citations
- Generative Retrieval as Multi-Vector Dense RetrievalShiguang Wu, Wenda Wei, Mengqi Zhang, Zhumin Chen et al.SIGIR 2024 · 14 citations
Builds on3
- On Identifiability in TransformersGino Brunner, Yang Liu, Damian Pascual, Oliver Richter et al.ICLR 2020 · 210 citations
- Alignment-Enhanced Transformer for Constraining NMT with Pre-Specified TranslationsKai Song, Kun Wang, Heng Yu, Yue Zhang et al.AAAI 2020 · 49 citations
- End-to-End Neural Word Alignment Outperforms GIZA++Thomas Zenkel, Joern Wuebker, John DeNeroACL 2020 · 2 citations
Related papers
- Attention Weights in Transformer NMT Fail Aligning Words Between Sequences but Largely Explain Model PredictionsJavier Ferrando, Marta R. Costa-jussàEMNLP Findings 2021 · 14 citations
- A Bidirectional Transformer Based Alignment Model for Unsupervised Word AlignmentJingyi Zhang, Josef van GenabithACL 2021
- Mask-Align: Self-Supervised Neural Word AlignmentChi Chen, Maosong Sun, Yang LiuACL 2021
- Attention is Not Only a Weight: Analyzing Transformers with Vector NormsGoro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro InuiEMNLP 2020 · 138 citations
- Cross-Align: Modeling Deep Cross-lingual Interactions for Word AlignmentSiyu Lai, Zhen Yang, Fandong Meng, Yufeng Chen et al.EMNLP 2022 · 6 citations
