paper-with-me

Papers

Compositional Generalization with Tree Stack Memory Units

2019-11-05 · Forough Arabshahi, Zhichu Lu, Pranay Mundra, Sameer Singh, Animashree Anandkumar

We study compositional generalization, viz., the problem of zero-shot generalization to novel compositions of concepts in a domain. Standard neural networks fail to a large extent on compositional learning. We propose Tree Stack Memory Units (Tree-SMU) to enable strong compositional generalization. Tree-SMU is a recursive neural network with Stack Memory Units (\SMU s), a novel memory augmented neural network whose memory has a differentiable stack structure. Each SMU in the tree architecture learns to read from its stack and to write to it by combining the stacks and states of its children through gating. The stack helps capture long-range dependencies in the problem domain, thereby enabling compositional generalization. Additionally, the stack also preserves the ordering of each node's descendants, thereby retaining locality on the tree. We demonstrate strong empirical results on two mathematical reasoning benchmarks. We use four compositionality tests to assess the generalization performance of Tree-SMU and show that it enables accurate compositional generalization compared to strong baselines such as Transformers and Tree-LSTMs.

📄 PDF Abstract BibTeX arXiv:1911.01545

Code (3)

ForoughA/recursiveMemNet 공식 구현 pytorch
ForoughA/neuralMath mxnet
maxwells-daemons/compositional-learning-experiments pytorch

Tasks

Mathematical ReasoningZero-shot Generalization

Similar Papers 제목 키워드 기반

Compositional Generalization via Neural-Symbolic Stack Machines

2020-08-15 · NeurIPS 2020 12 · Xinyun Chen, Chen Liang, Adams Wei Yu, Dawn Song 외

Despite achieving tremendous success, existing deep learning models have exposed limitations in compositional generalization, the capability to learn compositional rules and apply them to unseen cases in a systematic man…

Few-Shot LearningMachine TranslationTranslation

Differentiable Tree Operations Promote Compositional Generalization

2023-06-01 · Paul Soulos, Edward Hu, Kate McCurdy, Yunmo Chen 외

In the context of structure-to-structure transformation tasks, learning sequences of discrete symbolic operations poses significant challenges due to their non-differentiability. To facilitate the learning of these symbo…

Semantic ParsingText Generation

Memory Architectures in Recurrent Neural Network Language Models

2018-01-01 · ICLR 2018 1 · Dani Yogatama, Yishu Miao, Gabor Melis, Wang Ling 외

We compare and analyze sequential, random access, and stack memory architectures for recurrent neural network language models. Our experiments on the Penn Treebank and Wikitext-2 datasets show that stack-based memory arc…

Inducing Grammar from Long Short-Term Memory Networks by Shapley Decomposition

2020-07-01 · ACL 2020 6 · Yuhui Zhang, Allen Nie

The principle of compositionality has deep roots in linguistics: the meaning of an expression is determined by its structure and the meanings of its constituents. However, modern neural network models such as long short-…

Span-based Semantic Parsing for Compositional Generalization

2020-09-13 · ACL 2021 5 · Jonathan Herzig, Jonathan Berant

Despite the success of sequence-to-sequence (seq2seq) models in semantic parsing, recent work has shown that they fail in compositional generalization, i.e., the ability to generalize to new structures built of component…

Semantic Parsing