Simple Hardware-Efficient PCFGs with Independent Left and Right Productions
Not on the map. Why?
Abstract (arXiv)
Scaling dense PCFGs to thousands of nonterminals via a low-rank parameterization of the rule probability tensor has been shown to be beneficial for unsupervised parsing. However, PCFGs scaled this way still perform poorly as a language model, and even underperform similarly-sized HMMs. This work introduces SimplePCFG, a simple PCFG formalism with independent left and right productions. Despite imposing a stronger independence assumption than the low-rank approach, we find that this formalism scales more effectively both as a language model and as an unsupervised parser. As an unsupervised parser, our simple PCFG obtains an average F1 of 65.1 on the English PTB, and as a language model, it obtains a perplexity of 119.0, outperforming similarly-sized low-rank PCFGs. We further introduce FlashInside, a hardware IO-aware implementation of the inside algorithm for efficiently scaling simple PCFGs.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 25 of its 46 references that are in the map. First posted on arXiv 23 Oct 2023.
Builds on
25 of 46 references.
References · 25
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2020Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuitscited by 102
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
- 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
- 2017Neural Language Modeling by Jointly Learning Syntax and Lexiconcited by 57
- 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
- 2022Scaling Up Probabilistic Circuits by Latent Variable Distillationcited by 35
- 2020Visually Grounded Compound PCFGscited by 34
- 2020StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modelingcited by 33
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2020Unsupervised Parsing via Constituency Testscited by 23
13 more
- 2021PCFGs Can Do Better: Inducing Probabilistic Context-Free Grammars with Many Symbolscited by 22
- 2021Neural Bi-Lexicalized PCFG Inductioncited by 18
- 2021Video-aided Unsupervised Grammar Inductioncited by 17
- 2022Finding Dataset Shortcuts with Grammar Inductioncited by 15
- 2022Fast-R2D2: A Pretrained Recursive Neural Network based on Pruned CKY for Grammar Induction and Text Representationcited by 14
- 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGscited by 10
- 2022Low-Rank Constraints for Fast Inference in Structured Modelscited by 8
- 2022Hierarchical Phrase-based Sequence-to-Sequence Learningcited by 7
- 2022Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammarscited by 7
- 2023Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parserscited by 7
- 2021Improved Latent Tree Induction with Distant Supervision via Span Constraintscited by 6
- 2022Learning a Grammar Inducer from Massive Uncurated Instructional Videoscited by 3
- 2023Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraintscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.