Lune

EMNLP2022Top-tier venue

Fast-R2D2: A Pretrained Recursive Neural Network based on Pruned CKY for Grammar Induction and Text Representation

Xiang Hu, Haitao Mi, Liang Li, Gerard de Melo

Abstract

Chart-based models have shown great potential in unsupervised grammar induction, running recursively and hierarchically, but requiring O(n 3 ) time-complexity. The Recursive Transformer based on Differentiable Trees (R2D2) makes it possible to scale to large language model pretraining even with a complex tree encoder, by introducing a heuristic pruning method. However, its rule-based pruning process suffers from local optima and slow inference. In this paper, we propose a unified R2D2 method that overcomes these issues. We use a top-down unsupervised parser as a modelguided pruning method, which also enables parallel encoding during inference. Our parser casts parsing as a split point scoring task by first scoring all split points for a given sentence and then using the highest-scoring one to recursively split a span into two parts. The reverse order of the splits is considered as the order of pruning in the encoder. We optimize the unsupervised parser by minimizing the Kullback-Leibler distance between tree probabilities from the parser and the R2D2 model. Our experiments show that our Fast-R2D2 significantly improves the grammar induction quality and achieves competitive results in downstream tasks. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Beam Tree Recursion cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Efficient Beam Tree Recursion cites R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
  • Efficient Beam Tree Recursion cites Beam Tree Recursive Cells
  • Efficient Beam Tree Recursion cites StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
  • Efficient Beam Tree Recursion cites Modeling Hierarchical Structures with Continuous Recursive Neural Networks
  • R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Beam Tree Recursive Cells cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Beam Tree Recursive Cells cites R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
  • Beam Tree Recursive Cells cites StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
  • Beam Tree Recursive Cells cites Modeling Hierarchical Structures with Continuous Recursive Neural Networks
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites Efficient Beam Tree Recursion
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites Beam Tree Recursive Cells
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classification
  • Augmenting Transformers with Recursively Composed Multi-grained Representations cites Modeling Hierarchical Structures with Continuous Recursive Neural Networks
  • A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classification cites R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
  • A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classification cites StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
  • A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classification cites Modeling Hierarchical Structures with Continuous Recursive Neural Networks
  • Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability cites Efficient Beam Tree Recursion
  • Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability cites R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
  • Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability cites Beam Tree Recursive Cells
  • Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability cites Modeling Hierarchical Structures with Continuous Recursive Neural Networks
  • Modeling Hierarchical Structures with Continuous Recursive Neural Networks cites Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive Autoencoders
  • Modeling Hierarchical Structures with Continuous Recursive Neural Networks cites StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Beam Tree Recursive CellsJishnu Ray Chowdhury, Cornelia CarageaICML 2023 · 7 citations
  2. Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with ScalabilityJishnu Ray Chowdhury, Cornelia CarageaNeurIPS 2023 · 7 citations
  3. Augmenting Transformers with Recursively Composed Multi-grained RepresentationsXiang Hu, Qingyang Zhu, Kewei Tu, Wei WuICLR 2024 · 6 citations
  4. Efficient Beam Tree RecursionJishnu Ray Chowdhury, Cornelia CarageaNeurIPS 2023 · 4 citations
  5. A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text ClassificationXiang Hu, Xinyu Kong, Kewei TuICLR 2023 · 2 citations

Builds on5

  1. Don't Stop Pretraining: Adapt Language Models to Domains and TasksSuchin Gururangan, Ana Marasovic, Swabha Swayamdipta, Kyle Lo et al.ACL 2020 · 93 citations
  2. Unsupervised Parsing with S-DIORA: Single Tree Encoding for Deep Inside-Outside Recursive AutoencodersAndrew Drozdov, Subendhu Rongali, Yi-Pei Chen, Tim O'Gorman et al.EMNLP 2020 · 27 citations
  3. Modeling Hierarchical Structures with Continuous Recursive Neural NetworksJishnu Ray Chowdhury, Cornelia CarageaICML 2021 · 18 citations
  4. R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language ModelingXiang Hu, Haitao Mi, Zujie Wen, Yafang Wang et al.ACL 2021
  5. StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language ModelingYikang Shen, Yi Tay, Che Zheng, Dara Bahri et al.ACL 2021

Related papers

  1. Leveraging Grammar Induction for Language Understanding and GenerationJushi Kai, Shengyuan Hou, Yusheng Huang, Zhouhan LinEMNLP Findings 2024 · 1 citation
  2. Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at ScaleXiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu et al.ACL 2024 · 1 citation
  3. Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive GrammarsSonglin Yang, Roger Levy, Yoon KimACL 2023 · 1 citation
  4. On Eliciting Syntax from Language Models via HashingYiran Wang, Masao UtiyamaEMNLP 2024
  5. Graph-to-Graph Transformer for Transition-based Dependency ParsingAlireza Mohammadshahi, James HendersonEMNLP Findings 2020 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines