Probing for Constituency Structure in Neural Language Models
Not on the map. Why?
Abstract (arXiv)
In this paper, we investigate to which extent contextual neural language models (LMs) implicitly learn syntactic structure. More concretely, we focus on constituent structure as represented in the Penn Treebank (PTB). Using standard probing techniques based on diagnostic classifiers, we assess the accuracy of representing constituents of different categories within the neuron activations of a LM such as RoBERTa. In order to make sure that our probe focuses on syntactic knowledge and not on implicit semantic generalizations, we also experiment on a PTB version that is obtained by randomly replacing constituents with each other while keeping syntactic structure, i.e., a semantically ill-formed but syntactically well-formed version of the PTB. We find that 4 pretrained transfomer LMs obtain high performance on our probing tasks even on manipulated data, suggesting that semantic and syntactic knowledge in their representations can be separated and that constituency information is in fact learned by the LM. Moreover, we show that a complete constituency tree can be linearly separated from LM representations.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 31 of its 46 references that are in the map. First posted on arXiv 13 Apr 2022.
Builds on
31 of 46 references.
References · 31
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
19 more
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2018Colorless green recurrent networks dream hierarchicallycited by 210
- 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 146
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
- 2020Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERTcited by 109
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2021Conditional probing: measuring usable information beyond a baselinecited by 61
- 2021Probing BERT in Hyperbolic Spacescited by 50
- 2021Refining Targeted Syntactic Evaluation of Language Modelscited by 41
- 2020A Tale of a Probe and a Parsercited by 40
- 2018Deep RNNs Encode Soft Hierarchical Syntaxcited by 34
- 2019On the Linguistic Representational Power of Neural Machine Translation Modelscited by 34
- 2018NeuroX: A Toolkit for Analyzing Individual Neurons in Neural Networkscited by 31
- 2021Do Syntactic Probes Probe Syntax? Experiments with Jabberwocky Probingcited by 28
- 2020Parsing as Pretrainingcited by 19
- 2020On the Branching Bias of Syntax Extracted from Pre-trained Language Modelscited by 3
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 3; 2025: 3; 2026: 1.
13 papers.
Sort:
By area:
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2023Evaluating Neuron Interpretation Methods of NLP Modelscited by 8
- 2023Morphosyntactic probing of multilingual BERT modelscited by 8
- 2022Probing with Noise: Unpicking the Warp and Weft of Embeddingscited by 3
- 2024Metric Learning Encoding Models: A Multivariate Framework for Interpreting Neural Representationscited by 3
- 2025The Compositional Architecture of Regret in Large Language Modelscited by 3
- 2026Context-Free Recognition with Transformerscited by 3
- 2022Reconstruction Probingcited by 2
- 2024Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic?cited by 2
- 2025Geospatial Mechanistic Interpretability of Large Language Modelscited by 2
- 2024What Makes Two Language Models Think Alike?cited by 1
1 more
- 2026Context-Free Recognition with Transformers5 Jan 2026
- 2025Cross-Layer Discrete Concept Discovery for Interpreting Language Models24 Jun 2025
- 2025The Compositional Architecture of Regret in Large Language Models18 Jun 2025
- 2025Geospatial Mechanistic Interpretability of Large Language Models6 May 2025
- 2024What Makes Two Language Models Think Alike?18 Jun 2024
- 2024Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic?4 Mar 2024
- 2024Metric Learning Encoding Models: A Multivariate Framework for Interpreting Neural Representations18 Feb 2024
- 2023Morphosyntactic probing of multilingual BERT models9 Jun 2023
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structures23 May 2023
- 2023Do Transformers Parse while Predicting the Masked Word?14 Mar 2023
- 2023Evaluating Neuron Interpretation Methods of NLP Models30 Jan 2023
- 2022Reconstruction Probing21 Dec 2022
1 more
- 2024What Makes Two Language Models Think Alike?cited by 1
- 2024What Makes Two Language Models Think Alike?18 Jun 2024
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2023Evaluating Neuron Interpretation Methods of NLP Modelscited by 8
- 2023Morphosyntactic probing of multilingual BERT modelscited by 8
- 2022Probing with Noise: Unpicking the Warp and Weft of Embeddingscited by 3
- 2024Metric Learning Encoding Models: A Multivariate Framework for Interpreting Neural Representationscited by 3
- 2025The Compositional Architecture of Regret in Large Language Modelscited by 3
- 2026Context-Free Recognition with Transformerscited by 3
- 2022Reconstruction Probingcited by 2
- 2024Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic?cited by 2
- 2025Geospatial Mechanistic Interpretability of Large Language Modelscited by 2
- 2025Cross-Layer Discrete Concept Discovery for Interpreting Language Modelscited by 1
- 2026Context-Free Recognition with Transformers5 Jan 2026
- 2025Cross-Layer Discrete Concept Discovery for Interpreting Language Models24 Jun 2025
- 2025The Compositional Architecture of Regret in Large Language Models18 Jun 2025
- 2025Geospatial Mechanistic Interpretability of Large Language Models6 May 2025
- 2024Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic?4 Mar 2024
- 2024Metric Learning Encoding Models: A Multivariate Framework for Interpreting Neural Representations18 Feb 2024
- 2023Morphosyntactic probing of multilingual BERT models9 Jun 2023
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structures23 May 2023
- 2023Do Transformers Parse while Predicting the Masked Word?14 Mar 2023
- 2023Evaluating Neuron Interpretation Methods of NLP Models30 Jan 2023
- 2022Reconstruction Probing21 Dec 2022
- 2022Probing with Noise: Unpicking the Warp and Weft of Embeddings21 Oct 2022