From Balustrades to Pierre Vinken: Looking for Syntax in Transformer Self-Attentions

By David Marecek, Rudolf Rosa. 2019

57 citations recorded by the source corpus.

We inspect the multi-head self-attention in Transformer NMT encoders for three source languages, looking for patterns that could have a syntactic interpretation. In many of the attention heads, we frequently find sequences of consecutive states attending to the same position, which resemble syntactic phrases. We propose a transparent deterministic method of quantifying the amount of syntactic information present in the self-attentions, based on automatically building and evaluating phrase-structure trees from the phrase-like sequences. We compare the resulting trees to existing constituency treebanks, both manually and by computing precision and recall.

Subfields: Artificial Intelligence, Information Systems

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. Yonatan Belinkov
  2. Qun Liu
  3. Alessandro Raganato
  4. Zhiyong Wu
  5. Yun Chen
  6. Jörg Tiedemann
  7. B. Kao
  8. Yves Scherrer

In Information Systems

  1. Jörg Tiedemann
  2. Qun Liu
  3. Yonatan Belinkov
  4. Alessandro Raganato
  5. Yun Chen

Citations in the corpus