Back to search

McGill University

LAGr: Label Aligned Graphs for Better Compositional Generalization in Semantic Parsing

Abstract

dc:description.abstract

The goal of semantic parsing is to map natural language utterances or questions to structured meaning representations, such as executable programs or logical forms. The dominant approach for this task is sequence-to-sequence (seq2seq) methods that produce meaning representations sequentially, generating one word at a time. While these methods have led to great advances in semantic parsing, recent research in compositional generalization has pointed out that these methods struggle to generalize systematically, i.e. to handle examples that require recombining known knowledge in novel contexts.In this work, we show that better compositional generalization can be achieved by producing the meaning representation (MR) directly as a graph instead of modeling it as a sequence. To this end we propose LAGr, the Label Aligned Graphs algorithm that produces semantic parses by predicting node and edge labels for a complete multi-layer input-aligned graph. We present two variants of LAGr: The strongly-supervised LAGr algorithm which requires aligned graphs as inputs,and the weakly-supervised LAGr algorithm where alignments are inferred for originally unaligned target graphs using an approximate MAP inference procedure. Using two compositional generalization benchmarks, we demonstrate that both the strongly- and weakly-supervised LAGr algorithms achieve significant improvements upon the baseline seq2seq semantic parsers

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jambor, Dora
Advisors dc:contributor.advisor
  • Bahdanau, Dzmitry (Supervisor2)
  • Pineau, Joelle (Supervisor1)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1342593238
Dc Identifier Other
hyrax:8p58pk01h

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Jambor, Dora. LAGr: Label Aligned Graphs for Better Compositional Generalization in Semantic Parsing. McGill University, 2022. https://doi.org/10.82308/23776