LAGr: Label Aligned Graphs for Better Systematic Generalization in Semantic Parsing
Dora Jambor, Dzmitry Bahdanau
Abstract
Semantic parsing is the task of producing structured meaning representations for natural language sentences. Recent research has pointed out that the commonly-used sequenceto-sequence (seq2seq) semantic parsers struggle to generalize systematically, i.e. to handle examples that require recombining known knowledge in novel settings. In this work, we show that better systematic generalization can be achieved by producing the meaning representation directly as a graph and not as a sequence. To this end we propose LAGr (Label Aligned Graphs), a general framework to produce semantic parses by independently predicting node and edge labels for a complete multi-layer input-aligned graph. The strongly-supervised LAGr algorithm requires aligned graphs as inputs, whereas weaklysupervised LAGr infers alignments for originally unaligned target graphs using approximate maximum-a-posteriori inference. Experiments demonstrate that LAGr achieves significant improvements in systematic generalization upon the baseline seq2seq parsers in both strongly-and weakly-supervised settings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Making Transformers Solve Compositional Tasks cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Making Transformers Solve Compositional Tasks cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Making Transformers Solve Compositional Tasks cites The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites Making Transformers Solve Compositional Tasks
- Hierarchical Poset Decoding for Compositional Generalization in Language cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Compositional Generalization without Trees using Multiset Tagging and Latent Permutations cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Compositional Generalization without Trees using Multiset Tagging and Latent Permutations cites The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites Hierarchical Poset Decoding for Compositional Generalization in Language
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Structural generalization in COGS: Supertagging is (almost) all you need cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Structural generalization in COGS: Supertagging is (almost) all you need cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Structural generalization in COGS: Supertagging is (almost) all you need cites The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers
Cited by top-tier papers3
- Compositional Generalization without Trees using Multiset Tagging and Latent PermutationsMatthias Lindemann, Alexander Koller, Ivan TitovACL 2023
- Structural generalization in COGS: Supertagging is (almost) all you needAlban Petit, Caio F. Corro, François YvonEMNLP 2023
- Warmup Generations: A Task-Agnostic Approach for Guiding Sequence-to-Sequence Learning with Unsupervised Initial State GenerationSenyu Li, Zipeng Sun, Jiayi Wang, Xue Liu et al.ACL 2025
Builds on10
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman et al.ICLR 2020 · 401 citations
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 citations
- Making Transformers Solve Compositional TasksSantiago Ontañón, Joshua Ainslie, Zachary Fisher, Vaclav CvicekACL 2022 · 87 citations
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of TransformersRóbert Csordás, Kazuki Irie, Jürgen SchmidhuberEMNLP 2021 · 55 citations
- Hierarchical Poset Decoding for Compositional Generalization in LanguageYinuo Guo, Zeqi Lin, Jian-Guang Lou, Dongmei ZhangNeurIPS 2020 · 34 citations
Related papers
- Accurate Polyglot Semantic Parsing With DAG GrammarsFederico Fancellu, Ákos Kádár, Ran Zhang, Afsaneh FazlyEMNLP Findings 2020 · 2 citations
- Graph-Based Decoding for Task Oriented Semantic ParsingJeremy R. Cole, Nanjiang Jiang, Panupong Pasupat, Luheng He et al.EMNLP Findings 2021 · 1 citation
- Semi-Supervised Semantic Dependency Parsing Using CRF AutoencodersZixia Jia, Youmi Ma, Jiong Cai, Kewei TuACL 2020 · 10 citations
- Compositional Generalization via Semantic TaggingHao Zheng, Mirella LapataEMNLP Findings 2021 · 22 citations
- Learning Algebraic Recombination for Compositional GeneralizationChenyao Liu, Shengnan An, Zeqi Lin, Qian Liu et al.ACL Findings 2021 · 22 citations
