Sequence-to-Sequence Learning with Latent Neural Grammars
Not on the map. Why?
Abstract (arXiv)
Sequence-to-sequence learning with neural networks has become the de facto standard for sequence prediction tasks. This approach typically models the local distribution over the next word with a powerful neural network that can condition on arbitrary context. While flexible and performant, these models often require large datasets for training and can fail spectacularly on benchmarks designed to test for compositional generalization. This work explores an alternative, hierarchical approach to sequence-to-sequence learning with quasi-synchronous grammars, where each node in the target tree is transduced by a node in the source tree. Both the source and target trees are treated as latent and induced during training. We develop a neural parameterization of the grammar which enables parameter sharing over the combinatorial space of derivation rules without the need for manual feature engineering. We apply this latent neural grammar to various domains -- a diagnostic language navigation task designed to test for compositional generalization (SCAN), style transfer, and small-scale machine translation -- and find that it performs respectably compared to standard baselines.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 80 of its 135 references that are in the map. First posted on arXiv 2 Sep 2021.
Builds on
80 of 135 references.
References · 80
- 2017Attention Is All You Needcited by 59,932
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2016Self-critical Sequence Training for Image Captioningcited by 544
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
38 more
- 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
- 2019Topic Modeling in Embedding Spacescited by 224
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
- 2019Good-Enough Compositional Data Augmentationcited by 158
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2016Data Recombination for Neural Semantic Parsingcited by 111
- 2016Recurrent Neural Network Grammarscited by 109
- 2019Compositional generalization through meta sequence-to-sequence learningcited by 98
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
- 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
- 2017Online and Linear-Time Attention by Enforcing Monotonic Alignmentscited by 85
- 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
- 2017Discovering Discrete Latent Topics with Neural Variational Inferencecited by 79
- 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
- 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
- 2020Learning Compositional Rules via Neural Program Synthesiscited by 74
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2018A Retrieve-and-Edit Framework for Predicting Structured Outputscited by 73
- 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
- 2020Sequence-Level Mixed Sample Data Augmentationcited by 71
- 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
- 2021Meta-Learning to Compositionally Generalizecited by 62
- 2018Learning Neural Templates for Text Generationcited by 61
- 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
- 2020Limitations of Autoregressive Models and Their Alternativescited by 54
- 2020Compositional Generalization by Learning Analytical Expressionscited by 53
- 2019Visually Grounded Neural Syntax Acquisitioncited by 48
- 2019Compositional Generalization for Primitive Substitutionscited by 48
- 2020Applying the Transformer to Character-level Transductioncited by 43
- 2016Pointing the Unknown Wordscited by 42
- 2020Improving Compositional Generalization in Semantic Parsingcited by 42
- 2019The Dynamic Embedded Topic Modelcited by 41
- 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
- 2018Latent Alignment and Variational Attentioncited by 36
- 2020Visually Grounded Compound PCFGscited by 34
- 2021StylePTB: A Compositional Benchmark for Fine-grained Controllable Text Style Transfercited by 34
50 most cited of 80 All 80 (JSON)
Built on by
Citing papers per year: 2021: 1; 2022: 9; 2023: 17; 2024: 3.
30 papers.
Sort:
By area:
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2023Learning Transformer Programscited by 40
- 2023Explainable Claim Verification via Knowledge-Grounded Reasoning with Large Language Modelscited by 37
- 2023Sparse Universal Transformercited by 28
- 2023Improved Logical Reasoning of Language Models via Differentiable Symbolic Programmingcited by 18
- 2022Finding Dataset Shortcuts with Grammar Inductioncited by 15
- 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
18 more
- 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGscited by 10
- 2023Activity Grammars for Temporal Action Segmentationcited by 8
- 2022Hierarchical Phrase-based Sequence-to-Sequence Learningcited by 7
- 2022Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammarscited by 7
- 2023Fine-grained Text Style Transfer with Diffusion-Based Language Modelscited by 7
- 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulationcited by 7
- 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
- 2023Compositional Generalization without Trees using Multiset Tagging and Latent Permutationscited by 5
- 2023Data Factors for Better Compositional Generalizationcited by 5
- 2023Non-autoregressive Machine Translation with Probabilistic Context-free Grammarcited by 4
- 2024Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformationscited by 4
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionalitycited by 3
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productionscited by 3
- 2024Tree Transformers are an Ineffective Model of Syntactic Constituencycited by 3
- 2023Neural-Symbolic Inference for Robust Autoregressive Graph Parsing via Compositional Uncertainty Quantificationcited by 2
- 2023Out-of-Distribution Generalization in Text Classification: Past, Present, and Futurecited by 1
- 2023Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraintscited by 1
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1
- 2024Tree Transformers are an Ineffective Model of Syntactic Constituency25 Nov 2024
- 2024Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations5 Jul 2024
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Activity Grammars for Temporal Action Segmentation7 Dec 2023
- 2023Non-autoregressive Machine Translation with Probabilistic Context-free Grammar14 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productions23 Oct 2023
- 2023Sparse Universal Transformer11 Oct 2023
- 2023Explainable Claim Verification via Knowledge-Grounded Reasoning with Large Language Models8 Oct 2023
- 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulation1 Oct 2023
- 2023Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraints5 Jun 2023
18 more
- 2023Learning Transformer Programs1 Jun 2023
- 2023Fine-grained Text Style Transfer with Diffusion-Based Language Models31 May 2023
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Models30 May 2023
- 2023Compositional Generalization without Trees using Multiset Tagging and Latent Permutations26 May 2023
- 2023Out-of-Distribution Generalization in Text Classification: Past, Present, and Future23 May 2023
- 2023Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming5 May 2023
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionality31 Jan 2023
- 2023Neural-Symbolic Inference for Robust Autoregressive Graph Parsing via Compositional Uncertainty Quantification26 Jan 2023
- 2022Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammars18 Dec 2022
- 2022Hierarchical Phrase-based Sequence-to-Sequence Learning15 Nov 2022
- 2022Finding Dataset Shortcuts with Grammar Induction20 Oct 2022
- 2022Compositional Generalisation with Structured Reordering and Fertility Layers6 Oct 2022
- 2022Neural-Symbolic Recursive Machine for Systematic Generalization4 Oct 2022
- 2022Compositional Semantic Parsing with Large Language Models29 Sep 2022
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May 2022
- 2022Extracting Latent Steering Vectors from Pretrained Language Models10 May 2022
- 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGs1 May 2022
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentation14 Dec 2021
- 2023Sparse Universal Transformercited by 28
- 2023Sparse Universal Transformer11 Oct 2023
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2023Learning Transformer Programscited by 40
- 2022Finding Dataset Shortcuts with Grammar Inductioncited by 15
- 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
- 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGscited by 10
- 2023Activity Grammars for Temporal Action Segmentationcited by 8
- 2022Hierarchical Phrase-based Sequence-to-Sequence Learningcited by 7
- 2022Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammarscited by 7
12 most cited of 25 All 25 (JSON)
- 2024Tree Transformers are an Ineffective Model of Syntactic Constituency25 Nov 2024
- 2024Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations5 Jul 2024
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Activity Grammars for Temporal Action Segmentation7 Dec 2023
- 2023Non-autoregressive Machine Translation with Probabilistic Context-free Grammar14 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productions23 Oct 2023
- 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulation1 Oct 2023
- 2023Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraints5 Jun 2023
- 2023Learning Transformer Programs1 Jun 2023
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Models30 May 2023
12 newest of 25 All 25 (JSON)