mlsanityData to 7 Oct 2026

Sequence-to-Sequence Learning with Latent Neural Grammars

arXiv 2109.01135 ↗First posted 2 Sep 2021cs.CL cs.LGcited by 30

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  5. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  6. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  7. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  8. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
  9. 2017Convolutional Sequence to Sequence Learningcited by 550
  10. 2016Self-critical Sequence Training for Image Captioningcited by 544
  11. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
  12. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
38 more
  1. 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
  2. 2019Topic Modeling in Embedding Spacescited by 224
  3. 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
  4. 2019Good-Enough Compositional Data Augmentationcited by 158
  5. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  6. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  7. 2016Data Recombination for Neural Semantic Parsingcited by 111
  8. 2016Recurrent Neural Network Grammarscited by 109
  9. 2019Compositional generalization through meta sequence-to-sequence learningcited by 98
  10. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  11. 2018Tree-to-tree Neural Networks for Program Translationcited by 93
  12. 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
  13. 2017Online and Linear-Time Attention by Enforcing Monotonic Alignmentscited by 85
  14. 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
  15. 2017Discovering Discrete Latent Topics with Neural Variational Inferencecited by 79
  16. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
  17. 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
  18. 2020Learning Compositional Rules via Neural Program Synthesiscited by 74
  19. 2016Latent Predictor Networks for Code Generationcited by 73
  20. 2018A Retrieve-and-Edit Framework for Predicting Structured Outputscited by 73
  21. 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
  22. 2020Sequence-Level Mixed Sample Data Augmentationcited by 71
  23. 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
  24. 2021Meta-Learning to Compositionally Generalizecited by 62
  25. 2018Learning Neural Templates for Text Generationcited by 61
  26. 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
  27. 2020Limitations of Autoregressive Models and Their Alternativescited by 54
  28. 2020Compositional Generalization by Learning Analytical Expressionscited by 53
  29. 2019Visually Grounded Neural Syntax Acquisitioncited by 48
  30. 2019Compositional Generalization for Primitive Substitutionscited by 48
  31. 2020Applying the Transformer to Character-level Transductioncited by 43
  32. 2016Pointing the Unknown Wordscited by 42
  33. 2020Improving Compositional Generalization in Semantic Parsingcited by 42
  34. 2019The Dynamic Embedded Topic Modelcited by 41
  35. 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
  36. 2018Latent Alignment and Variational Attentioncited by 36
  37. 2020Visually Grounded Compound PCFGscited by 34
  38. 2021StylePTB: A Compositional Benchmark for Fine-grained Controllable Text Style Transfercited by 34

50 most cited of 80 All 80 (JSON)

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 9; 2023: 17; 2024: 3.

30 papers.

Sort:

By area:

  1. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  2. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
  3. 2022Compositional Semantic Parsing with Large Language Modelscited by 95
  4. 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
  5. 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
  6. 2023Learning Transformer Programscited by 40
  7. 2023Explainable Claim Verification via Knowledge-Grounded Reasoning with Large Language Modelscited by 37
  8. 2023Sparse Universal Transformercited by 28
  9. 2023Improved Logical Reasoning of Language Models via Differentiable Symbolic Programmingcited by 18
  10. 2022Finding Dataset Shortcuts with Grammar Inductioncited by 15
  11. 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
  12. 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
18 more
  1. 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGscited by 10
  2. 2023Activity Grammars for Temporal Action Segmentationcited by 8
  3. 2022Hierarchical Phrase-based Sequence-to-Sequence Learningcited by 7
  4. 2022Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammarscited by 7
  5. 2023Fine-grained Text Style Transfer with Diffusion-Based Language Modelscited by 7
  6. 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulationcited by 7
  7. 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
  8. 2023Compositional Generalization without Trees using Multiset Tagging and Latent Permutationscited by 5
  9. 2023Data Factors for Better Compositional Generalizationcited by 5
  10. 2023Non-autoregressive Machine Translation with Probabilistic Context-free Grammarcited by 4
  11. 2024Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformationscited by 4
  12. 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionalitycited by 3
  13. 2023Simple Hardware-Efficient PCFGs with Independent Left and Right Productionscited by 3
  14. 2024Tree Transformers are an Ineffective Model of Syntactic Constituencycited by 3
  15. 2023Neural-Symbolic Inference for Robust Autoregressive Graph Parsing via Compositional Uncertainty Quantificationcited by 2
  16. 2023Out-of-Distribution Generalization in Text Classification: Past, Present, and Futurecited by 1
  17. 2023Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraintscited by 1
  18. 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1