Syntactic Perturbations Reveal Representational Correlates of Hierarchical Phrase Structure in Pretrained Language Models
Matteo Alleman, Jonathan Mamou, Miguel A Del Rio, Hanlin Tang, Yoon, Kim, SueYeon Chung

TL;DR
This paper investigates how pretrained language models encode hierarchical sentence structure by using input perturbations to analyze their sensitivity to syntactic features across layers.
Contribution
It introduces a novel perturbation-based analysis method to probe the sensitivity of language model representations to hierarchical phrase structures.
Findings
Transformers build sensitivity to larger sentence parts along their layers.
Hierarchical phrase structure influences the representations in pretrained models.
Structured input perturbations expand analysis tools for interpreting deep learning models.
Abstract
While vector-based language representations from pretrained language models have set a new standard for many NLP tasks, there is not yet a complete accounting of their inner workings. In particular, it is not entirely clear what aspects of sentence-level syntax are captured by these representations, nor how (if at all) they are built along the stacked layers of the network. In this paper, we aim to address such questions with a general class of interventional, input perturbation-based analyses of representations from pretrained language models. Importing from computational and cognitive neuroscience the notion of representational invariance, we perform a series of probes designed to test the sensitivity of these representations to several kinds of structure in sentences. Each probe involves swapping words in a sentence and comparing the representations from perturbed sentences against…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
