Joint Source-Target Self Attention with Locality Constraints

José A. R. Fonollosa, Noe Casas, Marta R. Costa-jussà
5/16/2019
cs.CLcs.LG

Official code: mt-upc/joint (20 stars, last commit 2020-05-09).

Abstract

The dominant neural machine translation models are based on the encoder-decoder structure, and many of them rely on an unconstrained receptive field over source and target sequences. In this paper we study a new architecture that breaks with both conventions. Our simplified architecture consists in the decoder part of a transformer model, based on self-attention, but with locality constraints applied on the attention receptive field. As input for training, both source and target sentences are fed to the network, which is trained as a language model. At inference time, the target tokens are predicted autoregressively starting with the source sequence as previous tokens. The proposed model achieves a new state of the art of 35.7 BLEU on IWSLT'14 German-English and matches the best reported results in the literature on the WMT'14 English-German and WMT'14 English-French translation benchmarks.

View on arXivView PDF

Code Implementations(1)

mt-upc/jointOfficial100%

Joint Source-Target Self Attention with Locality Constraints

207Shell, PythonMar 8, 20196 years ago

Similar Papers

Cite this paper

@article{fonollosa2019joint,
  title  = {Joint Source-Target Self Attention with Locality Constraints},
  author = {José A. R. Fonollosa and Noe Casas and Marta R. Costa-jussà},
  year   = {2019},
  eprint = {1905.06596},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.06596}
}

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

Discussion