Heads-up! Unsupervised Constituency Parsing via Self-Attention Heads
Not on the map. Why?
Abstract (arXiv)
Transformer-based pre-trained language models (PLMs) have dramatically improved the state of the art in NLP across many tasks. This has led to substantial interest in analyzing the syntactic knowledge PLMs learn. Previous approaches to this question have been limited, mostly using test suites or probes. Here, we propose a novel fully unsupervised parsing approach that extracts constituency trees from PLM attention heads. We rank transformer attention heads based on their inherent properties, and create an ensemble of high-ranking heads to produce the final tree. Our method is adaptable to low-resource languages, as it does not rely on development sets, which can be expensive to annotate. Our experiments show that the proposed method often outperform existing approaches if there is no development set present. Our unsupervised parser can also be used as a tool to analyze the grammars PLMs learn implicitly. For this, we use the parse trees induced by our method to train a neural PCFG and compare it to a grammar derived from a human-annotated treebank.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 19 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 4; 2023: 2; 2024: 1; 2025: 1.
12 papers.
- 2021It's All in the Heads: Using Attention Heads as a Baseline for Cross-Lingual Transfer in Commonsense Reasoningcited by 69
- 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsingcited by 30
- 2021Neural Bi-Lexicalized PCFG Inductioncited by 18
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parserscited by 7
- 2021Co-training an Unsupervised Constituency Parser with Weak Supervisioncited by 3
- 2022Forming Trees with Treeformerscited by 3
- 2023Approximating CKY with Transformerscited by 3
- 2022Revisiting the Practical Effectiveness of Constituency Parse Extraction from Pre-trained Language Modelscited by 1
- 2021Focused Contrastive Training for Test-based Constituency Analysiscited by 0
- 2022Unsupervised and Few-shot Parsing from Pretrained Language Modelscited by 0
- 2024On Eliciting Syntax from Language Models via Hashingcited by 0
- 2025Understanding Syntactic Generalization in Structure-inducing Language Modelscited by 0
- 2025Understanding Syntactic Generalization in Structure-inducing Language Models11 Aug 2025
- 2024On Eliciting Syntax from Language Models via Hashing5 Oct 2024
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parsers1 Jun 2023
- 2023Approximating CKY with Transformers3 May 2023
- 2022Revisiting the Practical Effectiveness of Constituency Parse Extraction from Pre-trained Language Models15 Sep 2022
- 2022Forming Trees with Treeformers14 Jul 2022
- 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsing28 Jun 2022
- 2022Unsupervised and Few-shot Parsing from Pretrained Language Models10 Jun 2022
- 2021Co-training an Unsupervised Constituency Parser with Weak Supervision5 Oct 2021
- 2021Focused Contrastive Training for Test-based Constituency Analysis30 Sep 2021
- 2021It's All in the Heads: Using Attention Heads as a Baseline for Cross-Lingual Transfer in Commonsense Reasoning22 Jun 2021
- 2021Neural Bi-Lexicalized PCFG Induction31 May 2021