Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL
Not on the map. Why?
Abstract (arXiv)
Currently, the in-context learning method based on large language models (LLMs) has become the mainstream of text-to-SQL research. Previous works have discussed how to select demonstrations related to the user question from a human-labeled demonstration pool. However, human labeling suffers from the limitations of insufficient diversity and high labeling overhead. Therefore, in this paper, we discuss how to measure and improve the diversity of the demonstrations for text-to-SQL. We present a metric to measure the diversity of the demonstrations and analyze the insufficient of the existing labeled data by experiments. Based on the above discovery, we propose fusing iteratively for demonstrations (Fused) to build a high-diversity demonstration pool through human-free multiple-iteration synthesis, improving diversity and lowering label cost. Our method achieves an average improvement of 3.2% and 5.0% with and without human labeling on several mainstream datasets, which proves the effectiveness of Fused.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 16 Feb 2024.
Builds on
25 of 39 references.
References · 25
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
- 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
13 more
- 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
- 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thoughtcited by 65
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 44
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2024Effects of diversity incentives on sample diversity and downstream model performance in LLM-based text augmentationcited by 17
- 2024Using LLM to select the right SQL Query from candidatescited by 12
- 2021Less is more: Selecting informative and diverse subsets with balancing constraintscited by 5
- 2023The Re-Label Method For Data-Centric Machine Learningcited by 1
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 1.
10 papers.
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2025Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunitiescited by 4
- 2024In-Context Transfer Learning: Demonstration Synthesis by Transferring Similar Taskscited by 3
- 2024Filling Memory Gaps: Enhancing Continual Semantic Parsing via SQL Syntax Variance-Guided LLMs without Real Data Replaycited by 3
- 2025Abacus-SQL: A Text-to-SQL System Empowering Cross-Domain and Open-Domain Database Retrievalcited by 3
- 2025Learning-to-Context Slope: Evaluating In-Context Learning Effectiveness Beyond Performance Illusionscited by 1
- 2025ORANGE: An Online Reflection ANd GEneration framework with Domain Knowledge for Text-to-SQLcited by 1
- 2026PExA: Parallel Exploration Agent for Complex Text-to-SQLcited by 1
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Querycited by 0
- 2026PExA: Parallel Exploration Agent for Complex Text-to-SQL24 Apr 2026
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025ORANGE: An Online Reflection ANd GEneration framework with Domain Knowledge for Text-to-SQL2 Nov 2025
- 2025Learning-to-Context Slope: Evaluating In-Context Learning Effectiveness Beyond Performance Illusions29 Jun 2025
- 2025Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunities28 May 2025
- 2025Abacus-SQL: A Text-to-SQL System Empowering Cross-Domain and Open-Domain Database Retrieval14 Apr 2025
- 2024Filling Memory Gaps: Enhancing Continual Semantic Parsing via SQL Syntax Variance-Guided LLMs without Real Data Replay10 Dec 2024
- 2024In-Context Transfer Learning: Demonstration Synthesis by Transferring Similar Tasks2 Oct 2024
- 2024A Survey on Employing Large Language Models for Text-to-SQL Tasks21 Jul 2024
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL12 Jun 2024