Fast-R2D2: A Pretrained Recursive Neural Network based on Pruned CKY for Grammar Induction and Text Representation
Not on the map. Why?
Abstract (arXiv)
Recently CKY-based models show great potential in unsupervised grammar induction thanks to their human-like encoding paradigm, which runs recursively and hierarchically, but requires O(n3) time-complexity. Recursive Transformer based on Differentiable Trees (R2D2) makes it possible to scale to large language model pre-training even with complex tree encoder by introducing a heuristic pruning method. However, the rule-based pruning approach suffers from local optimum and slow inference issues. In this paper, we fix those issues in a unified method. We propose to use a top-down parser as a model-based pruning method, which also enables parallel encoding during inference. Typically, our parser casts parsing as a split point scoring task, which first scores all split points for a given sentence, and then recursively splits a span into two by picking a split point with the highest score in the current span. The reverse order of the splits is considered as the order of pruning in R2D2 encoder. Beside the bi-directional language model loss, we also optimize the parser by minimizing the KL distance between tree probabilities from parser and R2D2. Our experiments show that our Fast-R2D2 improves performance significantly in grammar induction and achieves competitive results in downstream classification tasks.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 21 of its 47 references that are in the map. First posted on arXiv 1 Mar 2022.
Builds on
21 of 47 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2014A* Samplingcited by 150
- 2016Recurrent Neural Network Grammarscited by 109
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
- 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
- 2019Unsupervised Latent Tree Induction with Deep Inside-Outside Recursive Autoencoderscited by 60
9 more
- 2017Learning to Compose Task-Specific Tree Structurescited by 48
- 2019Unsupervised Recurrent Neural Network Grammarscited by 47
- 2020StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modelingcited by 33
- 2018Straight to the Tree: Constituency Parsing with Neural Syntactic Distancecited by 32
- 2016Learning to Compose Words into Sentences with Reinforcement Learningcited by 30
- 2017Jointly Learning Sentence Embeddings and Syntax with Unsupervised Tree-LSTMscited by 23
- 2019Ordered Memorycited by 20
- 2021R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modelingcited by 19
- 2021Modeling Hierarchical Structures with Continuous Recursive Neural Networkscited by 15
Built on by
Citing papers per year: 2023: 6; 2024: 6; 2025: 1; 2026: 1.
14 papers.
Sort:
- 2024Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scalecited by 9
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modelingcited by 8
- 2023Beam Tree Recursive Cellscited by 6
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representationscited by 5
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2023A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classificationcited by 4
- 2023Efficient Beam Tree Recursioncited by 4
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productionscited by 3
- 2024Banyan: Improved Representation Learning with Explicit Structurecited by 3
- 2024Unsupervised Morphological Tree Tokenizercited by 0
- 2024Grammar Induction from Visual, Speech and Textcited by 0
- 2024On Eliciting Syntax from Language Models via Hashingcited by 0
2 more
- 2026Holographic Neural PCFG for Unsupervised Parsing9 Jul 2026
- 2025Understanding Syntactic Generalization in Structure-inducing Language Models11 Aug 2025
- 2024On Eliciting Syntax from Language Models via Hashing5 Oct 2024
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modeling2 Oct 2024
- 2024Grammar Induction from Visual, Speech and Text1 Oct 2024
- 2024Banyan: Improved Representation Learning with Explicit Structure25 Jul 2024
- 2024Unsupervised Morphological Tree Tokenizer21 Jun 2024
- 2024Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale13 Mar 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productions23 Oct 2023
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representations28 Sep 2023
- 2023Efficient Beam Tree Recursion20 Jul 2023
2 more
- 2024Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scalecited by 9
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modelingcited by 8
- 2023Beam Tree Recursive Cellscited by 6
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representationscited by 5
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2023A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classificationcited by 4
- 2023Efficient Beam Tree Recursioncited by 4
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productionscited by 3
- 2024Banyan: Improved Representation Learning with Explicit Structurecited by 3
- 2024Unsupervised Morphological Tree Tokenizercited by 0
- 2024Grammar Induction from Visual, Speech and Textcited by 0
- 2024On Eliciting Syntax from Language Models via Hashingcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Holographic Neural PCFG for Unsupervised Parsing9 Jul 2026
- 2025Understanding Syntactic Generalization in Structure-inducing Language Models11 Aug 2025
- 2024On Eliciting Syntax from Language Models via Hashing5 Oct 2024
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modeling2 Oct 2024
- 2024Grammar Induction from Visual, Speech and Text1 Oct 2024
- 2024Banyan: Improved Representation Learning with Explicit Structure25 Jul 2024
- 2024Unsupervised Morphological Tree Tokenizer21 Jun 2024
- 2024Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale13 Mar 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productions23 Oct 2023
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representations28 Sep 2023
- 2023Efficient Beam Tree Recursion20 Jul 2023
12 newest of 14 All 14 (JSON)