CLOct 21, 2020

Analyzing the Source and Target Contributions to Predictions in Neural Machine Translation

arXiv:2010.10907v3736 citations
Originality Incremental advance
AI Analysis

This work provides incremental insights into model interpretability for researchers in machine translation, helping to understand how training data and objectives affect prediction dynamics.

The paper tackles the problem of quantifying the relative contributions of source and target contexts in Neural Machine Translation predictions by extending Layerwise Relevance Propagation to Transformers, finding that models trained with more data rely more on source information and exhibit sharper token contributions.

In Neural Machine Translation (and, more generally, conditional language modeling), the generation of a target token is influenced by two types of context: the source and the prefix of the target sequence. While many attempts to understand the internal workings of NMT models have been made, none of them explicitly evaluates relative source and target contributions to a generation decision. We argue that this relative contribution can be evaluated by adopting a variant of Layerwise Relevance Propagation (LRP). Its underlying 'conservation principle' makes relevance propagation unique: differently from other methods, it evaluates not an abstract quantity reflecting token importance, but the proportion of each token's influence. We extend LRP to the Transformer and conduct an analysis of NMT models which explicitly evaluates the source and target relative contributions to the generation process. We analyze changes in these contributions when conditioning on different types of prefixes, when varying the training objective or the amount of training data, and during the training process. We find that models trained with more data tend to rely on source information more and to have more sharp token contributions; the training process is non-monotonic with several stages of different nature.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes