paper-with-me

Papers

Efficient Beam Tree Recursion

2023-09-21 · NeurIPS 2023 11

Beam Tree Recursive Neural Network (BT-RvNN) was recently proposed as an 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 better than previous approaches in terms of memory usage, BT-RvNN can be still exorbitantly expensive. 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:\mathbb{R}^{n \times d} \rightarrow \mathbb{R}^{d}$ into a token contextualizer of the form $f:\mathbb{R}^{n \times d} \rightarrow \mathbb{R}^{n \times 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. Our code is available at the link: https://github.com/JRC1995/BeamRecursionFamily.

📄 PDF Abstract BibTeX

Code (1)

jrc1995/beamrecursionfamily 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability

2023-09-21 · NeurIPS 2023 11

Binary Balanced Tree Recursive Neural Networks (BBT-RvNNs) enforce sequence composition according to a preset balanced binary tree structure. Thus, their non-linear recursion depth (which is the tree depth) is just $\log…

A constrained recursion algorithm for batch normalization of tree-sturctured LSTM

2020-08-21 · Ruo Ando, Yoshiyasu Takefuji

Tree-structured LSTM is promising way to consider long-distance interaction over hierarchies. However, there have been few research efforts on the hyperparameter tuning of the construction and traversal of tree-structure…

Recursion Aware Modeling and Discovery For Hierarchical Software Event Log Analysis (Extended)

2017-10-17 · Maikel Leemans, Wil M. P. van der Aalst, Mark G. J. van den Brand

This extended paper presents 1) a novel hierarchy and recursion extension to the process tree model; and 2) the first, recursion aware process model discovery technique that leverages hierarchical information in event lo…

Model Discovery

An Exploration of Left-Corner Transformations

2023-11-27 · Andreas Opedal, Eleftheria Tsipidi, Tiago Pimentel, Ryan Cotterell 외

The left-corner transformation (Rosenkrantz and Lewis, 1970) is used to remove left recursion from context-free grammars, which is an important step towards making the grammar parsable top-down with simple techniques. Th…

Text Summarization as Tree Transduction by Top-Down TreeLSTM

2018-09-24 · Davide Bacciu, Antonio Bruno

Extractive compression is a challenging natural language processing problem. This work contributes by formulating neural extractive compression as a parse tree transduction problem, rather than a sequence transduction ta…

SentenceSentence CompressionText Summarization