The Limitations of Limited Context for Constituency Parsing
Not on the map. Why?
Abstract (arXiv)
Incorporating syntax into neural approaches in NLP has a multitude of practical and scientific benefits. For instance, a language model that is syntax-aware is likely to be able to produce better samples; even a discriminative model like BERT with a syntax module could be used for core NLP tasks like unsupervised syntactic parsing. Rapid progress in recent years was arguably spurred on by the empirical success of the Parsing-Reading-Predict architecture of (Shen et al., 2018a), later simplified by the Order Neuron LSTM of (Shen et al., 2019). Most notably, this is the first time neural approaches were able to successfully perform unsupervised syntactic parsing (evaluated by various metrics like F-1 score). However, even heuristic (much less fully mathematical) understanding of why and when these architectures work is lagging severely behind. In this work, we answer representational questions raised by the architectures in (Shen et al., 2018a, 2019), as well as some transition-based syntax-aware language models (Dyer et al., 2016): what kind of syntactic structure can current neural approaches to syntax represent? Concretely, we ground this question in the sandbox of probabilistic context-free-grammars (PCFGs), and identify a key aspect of the representational power of these approaches: the amount and directionality of context that the predictor has access to when forced to make parsing decision. We show that with limited context (either bounded, or unidirectional), there are PCFGs, for which these approaches cannot represent the max-likelihood parse; conversely, if the context is unlimited, they can represent the max-likelihood parse of any PCFG.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 37 references that are in the map. First posted on arXiv 3 Jun 2021.
Builds on
18 of 37 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2016Enhanced LSTM for Natural Language Inferencecited by 199
- 2019Assessing BERT's Syntactic Abilitiescited by 191
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2016Recurrent Neural Network Grammarscited by 109
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
- 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 87
- 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
- 2014Grammar as a Foreign Languagecited by 70
- 2020RNNs can generate bounded hierarchical languages with optimal memorycited by 59
6 more
- 2017Neural Language Modeling by Jointly Learning Syntax and Lexiconcited by 57
- 2019Sequential Neural Networks as Automatacited by 54
- 2019Unsupervised Recurrent Neural Network Grammarscited by 47
- 2019LSTM Networks Can Perform Dynamic Countingcited by 45
- 2018Straight to the Tree: Constituency Parsing with Neural Syntactic Distancecited by 32
- 2019Improving Natural Language Inference with a Pretrained Parsercited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 1.
5 papers.
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2025On the Query Complexity of Verifier-Assisted Language Generationcited by 10
- 2024Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelinescited by 6
- 2022Learning with Latent Structures in Natural Language Processing: A Surveycited by 2
- 2025On the Query Complexity of Verifier-Assisted Language Generation17 Feb 2025
- 2024Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines22 Jul 2024
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammars3 Dec 2023
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understanding7 Mar 2023
- 2022Learning with Latent Structures in Natural Language Processing: A Survey3 Jan 2022