Efficient Beam Tree Recursion
Not on the map. Why?
Abstract (arXiv)
Beam Tree Recursive Neural Network (BT-RvNN) was recently proposed as a simple extension of Gumbel Tree RvNN and it was shown to achieve state-of-the-art length generalization performance in ListOps while maintaining comparable performance on other tasks. However, although not the worst in its kind, BT-RvNN can be still exorbitantly expensive in memory usage. In this paper, we identify the main bottleneck in BT-RvNN's memory usage to be the entanglement of the scorer function and the recursive cell function. We propose strategies to remove this bottleneck and further simplify its memory usage. Overall, our strategies not only reduce the memory usage of BT-RvNN by 10-16 times but also create a new state-of-the-art in ListOps while maintaining similar performance in other tasks. In addition, we also propose a strategy to utilize the induced latent-tree node representations produced by BT-RvNN to turn BT-RvNN from a sentence encoder of the form f:ℝn × d rightarrow ℝd into a sequence contextualizer of the form f:ℝn × d rightarrow ℝn × d. Thus, our proposals not only open up a path for further scalability of RvNNs but also standardize a way to use BT-RvNNs as another building block in the deep learning toolkit that can be easily stacked or interfaced with other popular models such as Transformers and Structured State Space models.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 74 of its 101 references that are in the map. First posted on arXiv 20 Jul 2023.
Builds on
74 of 101 references.
References · 74
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Graph Attention Networkscited by 8,854
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
38 more
- 2018Annotation Artifacts in Natural Language Inference Datacited by 656
- 2021Transformer in Transformercited by 632
- 2018Universal Transformerscited by 613
- 2019Deep Equilibrium Modelscited by 603
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2018Stress Test Evaluation for Natural Language Inferencecited by 211
- 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
- 2022Transformer Quality in Linear Timecited by 189
- 2021PonderNet: Learning to Pondercited by 156
- 2018Breaking NLI Systems with Sentences that Require Simple Lexical Inferencescited by 134
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
- 2017Bilateral Multi-Perspective Matching for Natural Language Sentencescited by 120
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
- 2017Structured Attention Networkscited by 95
- 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
- 2021Directed Acyclic Graph Neural Networkscited by 70
- 2019Tree Transformer: Integrating Tree Structures into Self-Attentioncited by 68
- 2018SparseMAP: Differentiable Sparse Structured Inferencecited by 62
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2019Unsupervised Latent Tree Induction with Deep Inside-Outside Recursive Autoencoderscited by 60
- 2020Compositional Generalization by Learning Analytical Expressionscited by 53
- 2017Learning to Compose Task-Specific Tree Structurescited by 48
- 2018The Importance of Being Recurrent for Modeling Hierarchical Structurecited by 42
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2016A Fast Unified Model for Parsing and Sentence Understandingcited by 34
- 2020StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modelingcited by 33
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2016Learning to Compose Words into Sentences with Reinforcement Learningcited by 30
- 2020Tree-structured Attention with Hierarchical Accumulationcited by 30
- 2019Cooperative Learning of Disjoint Syntax and Semanticscited by 27
50 most cited of 74 All 74 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 0; 2026: 1.
4 papers.
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representationscited by 5
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformerscited by 0
- 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformers31 Aug 2026
- 2024Investigating Recurrent Transformers with Dynamic Halt1 Feb 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representations28 Sep 2023
Similar, not cited
Close in wording, no citation either way
- 2026Form Follows Function: Recursive Stem Model
- 2025TreeGPT: Pure TreeFFN Encoder-Decoder Architecture for Structured Reasoning Without Attention Mechanisms
- 2026Random Recursive Models
- 2025Less is More: Recursive Reasoning with Tiny Networks
- 2026Energy-guided Recursive Model
- 2025Accelerating Training Speed of Tiny Recursive Models with Curriculum Guided Adaptive Recursion
- 2025Efficient Beam Search for Large Language Models Using Trie-Based Decoding
- 2026What Limits Recursive Reasoning Models: Optimization, Architecture and Test-Time Scaling