LAGr: Labeling Aligned Graphs for Improving Systematic Generalization in Semantic Parsing

10/14/2021
by   Dora Jambor, et al.
0

Semantic parsing is the task of producing a structured meaning representation for natural language utterances or questions. Recent research has pointed out that the commonly-used sequence-to-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 (MR) directly as a graph and not as a sequence. To this end we propose LAGr, the Labeling Aligned Graphs algorithm that produces semantic parses by predicting node and edge labels for a complete multi-layer input-aligned graph. The strongly-supervised LAGr algorithm requires aligned graphs as inputs, whereas weakly-supervised LAGr infers alignments for originally unaligned target graphs using an approximate MAP inference procedure. On the COGS and CFQ compositional generalization benchmarks the strongly- and weakly- supervised LAGr algorithms achieve significant improvements upon the baseline seq2seq parsers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/19/2022

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

Semantic parsing is the task of producing structured meaning representat...
research
05/17/2022

Measuring Alignment Bias in Neural Seq2Seq Semantic Parsers

Prior to deep learning the semantic parsing community has been intereste...
research
02/15/2023

On graph-based reentrancy-free semantic parsing

We propose a novel graph-based approach for semantic parsing that resolv...
research
09/09/2019

Learning Semantic Parsers from Denotations with Latent Structured Alignments and Abstract Programs

Semantic parsing aims to map natural language utterances onto machine in...
research
06/08/2021

One Semantic Parser to Parse Them All: Sequence to Sequence Multi-Task Learning on Semantic Parsing Datasets

Semantic parsers map natural language utterances to meaning representati...
research
07/06/2019

Weakly-supervised Knowledge Graph Alignment with Adversarial Learning

This paper studies aligning knowledge graphs from different sources or l...
research
07/13/2021

Enforcing Consistency in Weakly Supervised Semantic Parsing

The predominant challenge in weakly supervised semantic parsing is that ...

Please sign up or login with your details

Forgot password? Click here to reset