A Structural Probe for Finding Syntax in Word Representations

Hewitt & Manning, 2019, A Structural Probe for Finding Syntax in Word Representations (Proceedings of the 2019 Conference of the North American Chapter of ACL: Human Language Technologies (NAACL-HLT 2019))

Subscriber deck — free during early access

3 cards in “1 Introduction” · whole deck

1 Introduction

  1. What question does the structural probe answer that earlier syntactic probes didn’t?
    Whether entire syntax trees are embedded in a model’s word representations: earlier probes tested pieces of syntactic knowledge (like POS or labels of given structures) but not whether whole parse trees are represented.
  2. What is the structural probe hypothesis?
    That there is a linear transformation of the representation space under which squared L2 distance between two words’ vectors equals the number of edges between them in the parse tree, and squared L2 norm equals a word’s depth in the tree, even though the model was never trained on trees.
  3. What did the structural probe find for ELMo and BERT?
    Such transformations exist for ELMo and BERT but not for baselines, and in a low-rank space: entire dependency trees are embedded implicitly in deep models’ vector geometry, analogous to word analogies being encoded as vector offsets.

Source

  • John Hewitt and Christopher D. Manning. 2019. A Structural Probe for Finding Syntax in Word Representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT 2019), pp. 4129–4138. License: CC BY 4.0. Flashcards adapted from this work. doi:10.18653/v1/N19-1419 https://aclanthology.org/N19-1419/