Syntactic Perturbations Reveal Representational Correlates of Hierarchical Phrase Structure in Pretrained Language Models
Not on the map. Why?
Abstract (arXiv)
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 the original. We experiment with three different perturbations: (1) random permutations of n-grams of varying width, to test the scale at which a representation is sensitive to word position; (2) swapping of two spans which do or do not form a syntactic phrase, to test sensitivity to global phrase structure; and (3) swapping of two adjacent words which do or do not break apart a syntactic phrase, to test sensitivity to local phrase structure. Results from these probes collectively suggest that Transformers build sensitivity to larger parts of the sentence along their layers, and that hierarchical phrase structure plays a role in this process. More broadly, our results also indicate that structured input perturbations widens the scope of analyses that can be performed on often-opaque deep learning systems, and can serve as a complement to existing tools (such as supervised linear probes) for interpreting complex black-box models.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 36 of its 55 references that are in the map. First posted on arXiv 15 Apr 2021.
Builds on
36 of 55 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
24 more
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
- 2019What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language modelscited by 317
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2017Unsupervised Machine Translation Using Monolingual Corpora Onlycited by 272
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2019Assessing BERT's Syntactic Abilitiescited by 191
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2019Good-Enough Compositional Data Augmentationcited by 158
- 2017Unsupervised Neural Machine Translationcited by 148
- 2019Neural Language Models as Psycholinguistic Subjects: Representations of Syntactic Statecited by 137
- 2019StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understandingcited by 108
- 2016Learning Distributed Representations of Sentences from Unlabelled Datacited by 90
- 2018SwitchOut: an Efficient Data Augmentation Algorithm for Neural Machine Translationcited by 72
- 2020Out of Order: How Important Is The Sequential Order of Words in a Sentence in Natural Language Understanding Tasks?cited by 72
- 2017Classification and Geometry of General Perceptual Manifoldscited by 62
- 2020Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Inductioncited by 47
- 2021BERT & Family Eat Word Salad: Experiments with Text Understandingcited by 44
- 2020Emergence of Separable Manifolds in Deep Language Representationscited by 39
- 2017Analyzing Hidden Representations in End-to-End Automatic Speech Recognition Systemscited by 31
- 2018RNNs as psycholinguistic subjects: Syntactic state and grammatical dependencycited by 23
- 2019Syntax-Infused Transformer and BERT models for Machine Translation and Natural Language Understandingcited by 20
- 2019Visualizing the PHATE of Neural Networkscited by 18
- 2020Syntactic Structure Distillation Pretraining For Bidirectional Encoderscited by 18
- 2019Hierarchical Representation in Neural Language Models: Suppression and Recovery of Expectationscited by 8
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 1; 2024: 2; 2025: 3; 2026: 2.
14 papers.
Sort:
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
- 2024Mission: Impossible Language Modelscited by 31
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
- 2021Shaking Syntactic Trees on the Sesame Street: Multilingual Probing with Controllable Perturbationscited by 10
- 2022Hyperbolic Relevance Matching for Neural Keyphrase Extractioncited by 7
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parserscited by 7
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic reviewcited by 7
- 2022Corpus-Guided Contrast Sets for Morphosyntactic Feature Detection in Low-Resource English Varietiescited by 6
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
- 2025Geospatial Mechanistic Interpretability of Large Language Modelscited by 2
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2022Order-sensitive Shapley Values for Evaluating Conceptual Soundness of NLP Modelscited by 0
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection15 Dec 2025
- 2025Geospatial Mechanistic Interpretability of Large Language Models6 May 2025
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review9 Apr 2025
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetime2 Oct 2024
- 2024Mission: Impossible Language Models12 Jan 2024
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parsers1 Jun 2023
- 2022Corpus-Guided Contrast Sets for Morphosyntactic Feature Detection in Low-Resource English Varieties15 Sep 2022
- 2022Order-sensitive Shapley Values for Evaluating Conceptual Soundness of NLP Models1 Jun 2022
- 2022Hyperbolic Relevance Matching for Neural Keyphrase Extraction4 May 2022
- 2022Word Order Does Matter (And Shuffled Language Models Know It)21 Mar 2022
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
- 2024Mission: Impossible Language Modelscited by 31
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
- 2021Shaking Syntactic Trees on the Sesame Street: Multilingual Probing with Controllable Perturbationscited by 10
- 2022Hyperbolic Relevance Matching for Neural Keyphrase Extractioncited by 7
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parserscited by 7
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic reviewcited by 7
- 2022Corpus-Guided Contrast Sets for Morphosyntactic Feature Detection in Low-Resource English Varietiescited by 6
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
- 2025Geospatial Mechanistic Interpretability of Large Language Modelscited by 2
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2022Order-sensitive Shapley Values for Evaluating Conceptual Soundness of NLP Modelscited by 0
12 most cited of 14 All 14 (JSON)
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection15 Dec 2025
- 2025Geospatial Mechanistic Interpretability of Large Language Models6 May 2025
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review9 Apr 2025
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetime2 Oct 2024
- 2024Mission: Impossible Language Models12 Jan 2024
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parsers1 Jun 2023
- 2022Corpus-Guided Contrast Sets for Morphosyntactic Feature Detection in Low-Resource English Varieties15 Sep 2022
- 2022Order-sensitive Shapley Values for Evaluating Conceptual Soundness of NLP Models1 Jun 2022
- 2022Hyperbolic Relevance Matching for Neural Keyphrase Extraction4 May 2022
- 2022Word Order Does Matter (And Shuffled Language Models Know It)21 Mar 2022
12 newest of 14 All 14 (JSON)