paper-with-me

홈 › Papers

Improving Compositional Generalization in Semantic Parsing

2020-10-12 · Findings of the Association for Computational Linguistics 2020 · Inbar Oren, Jonathan Herzig, Nitish Gupta, Matt Gardner, Jonathan Berant

Generalization of models to out-of-distribution (OOD) data has captured tremendous attention recently. Specifically, compositional generalization, i.e., whether a model generalizes to new structures built of components observed during training, has sparked substantial interest. In this work, we investigate compositional generalization in semantic parsing, a natural test-bed for compositional generalization, as output programs are constructed from sub-components. We analyze a wide variety of models and propose multiple extensions to the attention module of the semantic parser, aiming to improve compositional generalization. We find that the following factors improve compositional generalization: (a) using contextual representations, such as ELMo and BERT, (b) informing the decoder what input tokens have previously been attended to, (c) training the decoder attention to agree with pre-computed token alignments, and (d) downsampling examples corresponding to frequent program templates. While we substantially reduce the gap between in-distribution and OOD generalization, performance on OOD compositions is still substantially lower.

📄 PDF Abstract BibTeX arXiv:2010.05647

Code (1)

inbaroren/improving-compgen-in-semparse 공식 구현 pytorch

Tasks

DecoderSemantic Parsing

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
WordPiece 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
BiLSTM A Bidirectional LSTM, or biLSTM, is a sequence processing model that consists of two LSTMs: one taking the input in a forward direction, and the other in a backwards…
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

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

Compositional Generalization via Semantic Tagging

2020-10-22 · Findings (EMNLP) 2021 11 · Hao Zheng, Mirella Lapata

Although neural sequence-to-sequence models have been successfully applied to semantic parsing, they fail at compositional generalization, i.e., they are unable to systematically generalize to unseen compositions of seen…

Semantic ParsingTAG