NAACL 2022long6 citations

Using Paraphrases to Study Properties of Contextual Embeddings

Laura Burdick, Jonathan K. Kummerfeld, Rada Mihalcea

Abstract

We use paraphrases as a unique source of data to analyze contextualized embeddings, with a particular focus on BERT. Because paraphrases naturally encode consistent word and phrase semantics, they provide a unique lens for investigating properties of embeddings. Using the Paraphrase Database’s alignments, we study words within paraphrases as well as phrase representations. We find that contextual embeddings effectively handle polysemous words, but give synonyms surprisingly different representations in many cases. We confirm previous findings that BERT is sensitive to word order, but find slightly different patterns than prior work in terms of the level of contextualization across BERT’s layers.

BibTeX
@inproceedings{burdick-etal-2022-using,
    title = "Using Paraphrases to Study Properties of Contextual Embeddings",
    author = "Burdick, Laura  and
      Kummerfeld, Jonathan K.  and
      Mihalcea, Rada",
    editor = "Carpuat, Marine  and
      de Marneffe, Marie-Catherine  and
      Meza Ruiz, Ivan Vladimir",
    booktitle = "Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies",
    month = jul,
    year = "2022",
    address = "Seattle, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.naacl-main.338/",
    doi = "10.18653/v1/2022.naacl-main.338",
    pages = "4558--4568"
}
Using Paraphrases to Study Properties of Contextual Embeddings · NAACL 2022