Visualizing and Measuring the Geometry of BERT

By Andy Coenen, Emily Reif, Ann Yuan, Been Kim, Adam Pearce, Fernanda B. Viégas, Martin Wattenberg. 2019

480 citations recorded by the source corpus.

Transformer architectures show significant promise for natural language processing. Given that a single pretrained model can be fine-tuned to perform well on many different tasks, these networks appear to extract generally useful linguistic features. A natural question is how such networks represent this information internally. This paper describes qualitative and quantitative investigations of one particularly effective model, BERT. At a high level, linguistic features seem to be represented in separate semantic and syntactic subspaces. We find evidence of a fine-grained geometric representation of word senses. We also present empirical descriptions of syntactic representations in both attention matrices and individual word embeddings, as well as a mathematical argument to explain the geometry of these representations.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability

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. Mohit Bansal
  3. Percy Liang
  4. Jianfeng Gao
  5. Yoav Goldberg
  6. Luke S. Zettlemoyer
  7. Yejin Choi
  8. Noah A. Smith

In Natural Language Processing

  1. Yonatan Belinkov
  2. Mohit Bansal
  3. Yoav Goldberg
  4. Jianfeng Gao
  5. Luke S. Zettlemoyer
  6. Yejin Choi
  7. Samuel R. Bowman
  8. Percy Liang

In Safety, Robustness & Interpretability

  1. Adina Williams
  2. Eduard H. Hovy
  3. Marta Ruiz Costa-jussà
  4. Ivan Vulic
  5. Yoav Goldberg
  6. Yanai Elazar
  7. Christine Basta
  8. Yonatan Belinkov

Citations in the corpus