Transactions of the Association for Computational Linguistics (Jan 2023)

Naturalistic Causal Probing for Morpho-Syntax

  • Afra Amini,
  • Tiago Pimentel,
  • Clara Meister,
  • Ryan Cotterell

DOI
https://doi.org/10.1162/tacl_a_00554
Journal volume & issue
Vol. 11
pp. 384 – 403

Abstract

Read online

AbstractProbing has become a go-to methodology for interpreting and analyzing deep neural models in natural language processing. However, there is still a lack of understanding of the limitations and weaknesses of various types of probes. In this work, we suggest a strategy for input-level intervention on naturalistic sentences. Using our approach, we intervene on the morpho-syntactic features of a sentence, while keeping the rest of the sentence unchanged. Such an intervention allows us to causally probe pre-trained models. We apply our naturalistic causal probing framework to analyze the effects of grammatical gender and number on contextualized representations extracted from three pre-trained models in Spanish, the multilingual versions of BERT, RoBERTa, and GPT-2. Our experiments suggest that naturalistic interventions lead to stable estimates of the causal effects of various linguistic properties. Moreover, our experiments demonstrate the importance of naturalistic causal probing when analyzing pre-trained models.https://github.com/rycolab/naturalistic-causal-probing