Widening the Representation Bottleneck in Neural Machine Translation with Lexical Shortcuts

Denis Emelin, Ivan Titov, Rico Sennrich
6/28/2019
cs.CLcs.LG
transformer-attention

Official code: demelin/transformer_lexical_shortcuts (11 stars, Python, MIT, last commit 2023-02-14).

Abstract

The transformer is a state-of-the-art neural translation model that uses attention to iteratively refine lexical representations with information drawn from the surrounding context. Lexical features are fed into the first layer and propagated through a deep network of hidden layers.

Show full abstract

We argue that the need to represent and propagate lexical features in each layer limits the model's capacity for learning and representing other information relevant to the task. To alleviate this bottleneck, we introduce gated shortcut connections between the embedding layer and each subsequent layer within the encoder and decoder. This enables the model to access relevant lexical content dynamically, without expending limited resources on storing it within intermediate states. We show that the proposed modification yields consistent improvements over a baseline transformer on standard WMT translation tasks in 5 translation directions (0.9 BLEU on average) and reduces the amount of lexical information passed along the hidden layers. We furthermore evaluate different ways to integrate lexical connections into the transformer architecture and present ablation experiments exploring the effect of proposed shortcuts on model behavior.

View on arXivView PDF

Code Implementations(1)

MIT

Codebase accompanying the paper 'Widening the Representation Bottleneck in Neural Machine Translation with Lexical Shortcuts', (Emelin, Denis, Ivan Titov, and Rico Sennrich, Fourth Conference on Machine Translation, Florence, 2019.)

112Python, CudaJun 17, 20193 years agoMIT
machine-translationnmtresidual-networkstransformerwmt-19

Similar Papers

Cite this paper

@article{emelin2019widening,
  title  = {Widening the Representation Bottleneck in Neural Machine Translation with Lexical Shortcuts},
  author = {Denis Emelin and Ivan Titov and Rico Sennrich},
  year   = {2019},
  eprint = {1906.12284},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.12284}
}

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

Discussion