Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architectures

By Gongbo Tang, Mathias Müller, Annette Rios Gonzales, Rico Sennrich. 2018

276 citations recorded by the source corpus.

Recently, non-recurrent architectures (convolutional, self-attentional) have outperformed RNNs in neural machine translation. CNNs and self-attentional networks can connect distant words via shorter network paths than RNNs, and it has been speculated that this improves their ability to model long-range dependencies. However, this theoretical argument has not been tested empirically, nor have alternative explanations for their strong performance been explored in-depth. We hypothesize that the strong performance of CNNs and self-attentional networks could also be due to their ability to extract semantic features from the source text, and we evaluate RNNs, CNNs and self-attention networks on two tasks: subject-verb agreement (where capturing long-range dependencies is required) and word sense disambiguation (where semantic feature extraction is required). Our experimental results show that: 1) self-attentional networks and CNNs do not outperform RNNs in modeling subject-verb agreement over long distances; 2) self-attentional networks perform distinctly better than RNNs and CNNs on word sense disambiguation.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Graham Neubig
  2. Noah A. Smith
  3. Yonatan Belinkov
  4. Mohit Bansal
  5. Yoav Goldberg
  6. Percy Liang
  7. Luke S. Zettlemoyer
  8. Jianfeng Gao

In Natural Language Processing

  1. Graham Neubig
  2. Yonatan Belinkov
  3. Yoav Goldberg
  4. Noah A. Smith
  5. Mohit Bansal
  6. Luke S. Zettlemoyer
  7. Kyunghyun Cho
  8. Percy Liang

Citations in the corpus