paper-with-me

Papers

Span-based Semantic Parsing for Compositional Generalization

2020-09-13 · ACL 2021 5 · Jonathan Herzig, Jonathan Berant

Despite the success of sequence-to-sequence (seq2seq) models in semantic parsing, recent work has shown that they fail in compositional generalization, i.e., the ability to generalize to new structures built of components observed during training. In this work, we posit that a span-based parser should lead to better compositional generalization. we propose SpanBasedSP, a parser that predicts a span tree over an input utterance, explicitly encoding how partial programs compose over spans in the input. SpanBasedSP extends Pasupat et al. (2019) to be comparable to seq2seq models by (i) training from programs, without access to gold trees, treating trees as latent variables, (ii) parsing a class of non-projective trees through an extension to standard CKY. On GeoQuery, SCAN and CLOSURE datasets, SpanBasedSP performs similarly to strong seq2seq baselines on random splits, but dramatically improves performance compared to baselines on splits that require compositional generalization: from $61.0 \rightarrow 88.9$ average accuracy.

📄 PDF Abstract BibTeX arXiv:2009.06040

Code (1)

jonathanherzig/span-based-sp 공식 구현 pytorch

Tasks

Semantic Parsing

Methods 이 논문이 사용한 방법론

Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

Compositional Generalization for Neural Semantic Parsing via Span-level Supervised Attention

2021-06-01 · NAACL 2021 4 · Pengcheng Yin, Hao Fang, Graham Neubig, Adam Pauls 외

We describe a span-level supervised attention loss that improves compositional generalization in semantic parsers. Our approach builds on existing losses that encourage attention maps in neural sequence-to-sequence model…

Machine TranslationSemantic ParsingTranslationWord Alignment

Towards Compositionally Generalizable Semantic Parsing in Large Language Models: A Survey

2024-04-15 · Amogh Mannekote

Compositional generalization is the ability of a model to generalize to complex, previously unseen types of combinations of entities from just having seen the primitives. This type of generalization is particularly relev…

Information RetrievalRetrievalSemantic ParsingSQL Parsing+2

Making Transformers Solve Compositional Tasks

2021-11-16 · ACL ARR September 2021 9 · Anonymous

Several studies have reported the inability of Transformer models to generalize compositionally, a key type of generalization in many NLP tasks such as semantic parsing. In this paper we explore the design space of Trans…

Semantic Parsing

Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniques

2023-05-27 · Daking Rai, Bailin Wang, Yilun Zhou, Ziyu Yao

Compositional and domain generalization present significant challenges in semantic parsing, even for state-of-the-art semantic parsers based on pre-trained language models (LMs). In this study, we empirically investigate…

Domain GeneralizationLanguage ModelingLanguage ModellingSemantic Parsing+2

Making Transformers Solve Compositional Tasks

2021-08-09 · ACL 2022 5 · Santiago Ontañón, Joshua Ainslie, Vaclav Cvicek, Zachary Fisher

Several studies have reported the inability of Transformer models to generalize compositionally, a key type of generalization in many NLP tasks such as semantic parsing. In this paper we explore the design space of Trans…

Semantic Parsing