mlsanityData to 14 Oct 2026

Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsing

arXiv 2306.04480 ↗First posted 29 May 2023cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

In the context-dependent Text-to-SQL task, the generated SQL statements are refined iteratively based on the user input utterance from each interaction. The input text from each interaction can be viewed as component modifications to the previous SQL statements, which could be further extracted as the modification patterns. Since these modification patterns could also be combined with other SQL statements, the models are supposed to have the compositional generalization to these novel combinations. This work is the first exploration of compositional generalization in context-dependent Text-to-SQL scenarios. To facilitate related studies, we constructed two challenging benchmarks named textscCoSQL-CG and textscSParC-CG by recombining the modification patterns and existing SQL statements. The following experiments show that all current models struggle on our proposed benchmarks. Furthermore, we found that better aligning the previous SQL statements with the input utterance could give models better compositional generalization ability. Based on these observations, we propose a method named textttp-align to improve the compositional generalization of Text-to-SQL models. Further experiments validate the effectiveness of our method. Source code and data are available.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 33 of its 40 references that are in the map. First posted on arXiv 29 May 2023.

Builds on

33 of 40 references.

References · 33

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  4. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 424
  5. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
  6. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
  7. 2019Compositionality decomposed: how do neural networks generalise?cited by 265
  8. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 185
  9. 2019Good-Enough Compositional Data Augmentationcited by 158
  10. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  11. 2019SParC: Cross-Domain Semantic Parsing in Contextcited by 144
  12. 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
21 more
  1. 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 119
  2. 2016Data Recombination for Neural Semantic Parsingcited by 111
  3. 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
  4. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
  5. 2020How Far are We from Effective Context Modeling? An Exploratory Study on Semantic Parsing in Contextcited by 53
  6. 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
  7. 2020SelfORE: Self-supervised Relational Feature Learning for Open Relation Extractioncited by 43
  8. 2020Semi-supervised Relation Extraction via Incremental Meta Self-Trainingcited by 35
  9. 2022HiURE: Hierarchical Exemplar Contrastive Learning for Unsupervised Relation Extractioncited by 32
  10. 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
  11. 2020IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generationcited by 29
  12. 2022Character-level White-Box Adversarial Attacks against Transformers via Attachable Subwords Substitutioncited by 28
  13. 2020Hierarchical Poset Decoding for Compositional Generalization in Languagecited by 26
  14. 2022HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsingcited by 26
  15. 2022Semantic Enhanced Text-to-SQL Parsing via Iteratively Learning Schema Linking Graphcited by 22
  16. 2022STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsingcited by 19
  17. 2020Tracking Interaction States for Multi-Turn Text-to-SQL Semantic Parsingcited by 18
  18. 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
  19. 2021Decoupled Dialogue Modeling and Semantic Parsing for Multi-Turn Text-to-SQLcited by 13
  20. 2022CQR-SQL: Conversational Question Reformulation Enhanced Context-Dependent Text-to-SQL Parserscited by 11
  21. 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inferencecited by 8

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1.

2 papers.