paper-with-me

홈 › Papers

Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignment

2021-10-16 · ACL ARR October 2021 10 · Anonymous

Recently, the challenge of compositional generalization in NLP has attracted more and more attention. Specifically, many prior works show that neural networks struggle with compositional generalization where training and testing distributions differ. However, most of these works are based on word-level synthetic data or a specific data split method to generate compositional biases. In this work, we propose a clause-level compositional example generation method, and we focus on text-to-SQL tasks. We start by splitting the sentences in the Spider text-to-SQL dataset into several sub-sentences, annotating each sub-sentence with its corresponding SQL clause, resulting in a new dataset, Spider-SS. Building upon Spider-SS, we further construct a new dataset named Spider-CG, by substituting and appending Spider-SS sub-sentences to test the ability of models to generalize compositionally. Experiments show that previous models suffer significant performance degradation when evaluated on Spider-CG, even though every sub-sentence has been seen during training. To deal with this problem, we modify the RATSQL+GAP model to fit the segmented data of Spider-SS, and results show that this method can improve generalization performance.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

SentenceText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignment

2022-05-04 · Findings (NAACL) 2022 7 · Yujian Gan, Xinyun Chen, Qiuping Huang, Matthew Purver

In text-to-SQL tasks -- as in much of NLP -- compositional generalization is a major challenge: neural networks struggle with compositional generalization where training and test distributions differ. However, most recen…

SentenceText to SQLText-To-SQL

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 외

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 o…

DecoderSemantic Parsing

The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Models

2023-10-04 · Chenwei Wu, Li Erran Li, Stefano Ermon, Patrick Haffner 외

Compositionality is a common property in many modalities including natural languages and images, but the compositional generalization of multi-modal models is not well-understood. In this paper, we identify two sources o…

Measuring the compositionality of NV expressions in Basque by means of distributional similarity techniques

2012-05-01 · LREC 2012 5 · Antton Gurrutxaga, I{\~n}aki Alegria

We present several experiments aiming at measuring the semantic compositionality of NV expressions in Basque. Our approach is based on the hypothesis that compositionality can be related to distributional similarity. The…

Local Success Does Not Compose: Benchmarking Large Language Models for Compositional Formal Verification

2025-09-27 · Xu Xu, Xin Li, Xingwei Qu, Jie Fu 외 arxiv

We introduce DafnyCOMP, a benchmark for evaluating large language models (LLMs) on compositional specification generation in Dafny. Unlike prior benchmarks that focus on single-function tasks, DafnyCOMP targets programs …

Code Generation