mlsanityData to 7 Oct 2026

Semantic Decomposition of Question and SQL for Text-to-SQL Parsing

arXiv 2310.13575 ↗First posted 20 Oct 2023cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

Text-to-SQL semantic parsing faces challenges in generalizing to cross-domain and complex queries. Recent research has employed a question decomposition strategy to enhance the parsing of complex SQL queries. However, this strategy encounters two major obstacles: (1) existing datasets lack question decomposition; (2) due to the syntactic complexity of SQL, most complex queries cannot be disentangled into sub-queries that can be readily recomposed. To address these challenges, we propose a new modular Query Plan Language (QPL) that systematically decomposes SQL queries into simple and regular sub-queries. We develop a translator from SQL to QPL by leveraging analysis of SQL server query optimization plans, and we augment the Spider dataset with QPL programs. Experimental results demonstrate that the modular nature of QPL benefits existing semantic-parsing architectures, and training text-to-QPL parsers is more effective than text-to-SQL parsing for semantically equivalent queries. The QPL approach offers two additional advantages: (1) QPL programs can be paraphrased as simple questions, which allows us to create a dataset of (complex question, decomposed questions). Training on this dataset, we obtain a Question Decomposer for data retrieval that is sensitive to database schemas. (2) QPL is more accessible to non-experts for complex queries, leading to more interpretable output from the semantic parser.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 39 of its 60 references that are in the map. First posted on arXiv 20 Oct 2023.

Builds on

39 of 60 references.

References · 39

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  5. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  6. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  7. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  8. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  9. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  10. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  11. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  12. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
27 more
  1. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
  2. 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 177
  3. 2016Language to Logical Form with Neural Attentioncited by 158
  4. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  5. 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
  6. 2020Break It Down: A Question Understanding Benchmarkcited by 131
  7. 2019Multi-hop Reading Comprehension through Question Decomposition and Rescoringcited by 119
  8. 2020Unsupervised Question Decomposition for Question Answeringcited by 118
  9. 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
  10. 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
  11. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
  12. 2019Text-to-SQL Generation for Question Answering on Electronic Medical Recordscited by 76
  13. 2020KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Basecited by 76
  14. 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
  15. 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
  16. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
  17. 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 44
  18. 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
  19. 2021Decomposing Complex Questions Makes Multi-Hop QA Easier and More Interpretablecited by 35
  20. 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQLcited by 20
  21. 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
  22. 2023Question Decomposition Tree for Answering Complex Questions over Knowledge Basescited by 15
  23. 2023UNITE: A Unified Benchmark for Text-to-SQL Evaluationcited by 14
  24. 2022Interpretable AMR-Based Question Decomposition for Multi-hop Question Answeringcited by 12
  25. 2023Reasoning over Hierarchical Question Decomposition Tree for Explainable Question Answeringcited by 11
  26. 2022Compositional Task-Oriented Parsing as Abstractive Question Answeringcited by 10
  27. 2021SPARQLing Database Queries from Intermediate Question Decompositionscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 8; 2026: 4.

13 papers.

Sort:

By area: