Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questions
Not on the map. Why?
Abstract (arXiv)
We focus on the cross-domain context-dependent text-to-SQL generation task. Based on the observation that adjacent natural language questions are often linguistically dependent and their corresponding SQL queries tend to overlap, we utilize the interaction history by editing the previous predicted query to improve the generation quality. Our editing mechanism views SQL as sequences and reuses generation results at the token level in a simple manner. It is flexible to change individual tokens and robust to error propagation. Furthermore, to deal with complex table structures in different domains, we employ an utterance-table encoder and a table-aware decoder to incorporate the context of the user utterance and the table schema. We evaluate our approach on the SParC dataset and demonstrate the benefit of editing compared with the state-of-the-art baselines which generate SQL from scratch. Our code is available at https://github.com/ryanzhumich/sparc_atis_pytorch.
Key facts. Cited by 80 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 26; 2022: 20; 2023: 17; 2024: 7; 2025: 5; 2026: 5.
80 papers.
Sort:
By area:
- 2021A Survey of Data Augmentation Approaches for NLPcited by 408
- 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
- 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answeringcited by 48
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
38 more
- 2021ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parsercited by 35
- 2021NL-EDIT: Correcting semantic parse errors through natural language interactioncited by 33
- 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsingcited by 30
- 2021Awakening Latent Grounding from Pretrained Language Models for Semantic Parsingcited by 28
- 2022Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbationcited by 28
- 2022Importance of Synthesizing High-quality Data for Text-to-SQL Parsingcited by 27
- 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
- 2022HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsingcited by 26
- 2021Dual Reader-Parser on Hybrid Textual and Tabular Evidence for Open Domain Question Answeringcited by 25
- 2023Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniquescited by 23
- 2022Semantic Enhanced Text-to-SQL Parsing via Iteratively Learning Schema Linking Graphcited by 22
- 2022UniSAr: A Unified Structure-Aware Autoregressive Language Model for Text-to-SQLcited by 20
- 2022STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsingcited by 19
- 2023Interactive Text-to-SQL Generation via Editable Step-by-Step Explanationscited by 19
- 2023Learning to Simulate Natural Language Feedback for Interactive Semantic Parsingcited by 19
- 2025Reliable Text-to-SQL with Adaptive Abstentioncited by 19
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translationcited by 17
- 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
- 2022Uni-Parser: Unified Semantic Parser for Question Answering on Knowledge Base and Databasecited by 16
- 2021Dynamic Hybrid Relation Network for Cross-Domain Context-Dependent Semantic Parsingcited by 15
- 2021Decoupled Dialogue Modeling and Semantic Parsing for Multi-Turn Text-to-SQLcited by 13
- 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editionscited by 13
- 2022CQR-SQL: Conversational Question Reformulation Enhanced Context-Dependent Text-to-SQL Parserscited by 11
- 2024SQLucid: Grounding Natural Language Database Queries with Interactive Explanationscited by 10
- 2022Augmenting Multi-Turn Text-to-SQL Datasets with Self-Playcited by 9
- 2023Text-to-OverpassQL: A Natural Language Interface for Complex Geodata Querying of OpenStreetMapcited by 9
- 2021Few-Shot Semantic Parsing for New Predicatescited by 7
- 2021SPARQLing Database Queries from Intermediate Question Decompositionscited by 7
- 2022Towards Generalizable and Robust Text-to-SQL Parsingcited by 7
- 2022Learn from Yesterday: A Semi-Supervised Continual Learning Method for Supervision-Limited Text-to-SQL Task Streamscited by 7
- 2024Evaluating Large Language Models in Semantic Parsing for Conversational Question Answering over Knowledge Graphscited by 7
- 2021Memory-Based Semantic Parsingcited by 6
- 2022Speech-to-SQL: Towards Speech-driven SQL Query Generation From Natural Language Questioncited by 6
- 2023Measuring and Mitigating Constraint Violations of In-Context Learning for Utterance-to-API Semantic Parsingcited by 6
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotationcited by 6
- 2021GP: Context-free Grammar Pre-training for Text-to-SQL Parserscited by 5
- 2021An Investigation Between Schema Linking and Text-to-SQL Performancecited by 5
- 2021A Chinese Multi-type Complex Questions Answering Dataset over Wikidatacited by 5
50 most cited of 80 All 80 (JSON)
- 2026SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL10 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026The Nuts and Bolts of Natural Language to SQL Translation: A Systematic Analysis of Model Pipeline Optimisation Approaches and their Interactions12 Jul 2026
- 2026An Efficient and Effective Evaluator for Text2SQL Models on Unseen and Unlabeled Data8 Mar 2026
- 2026Track-SQL: Enhancing Generative Language Models with Dual-Extractive Modules for Schema and Context Tracking in Multi-turn Text-to-SQL6 Mar 2026
- 2025MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via Agentic Training12 Oct 2025
- 2025FINCH: Financial Intelligence using Natural language for Contextualized SQL Handling2 Oct 2025
- 2025Towards a Barrier-free GeoQA Portal: Natural Language Interaction with Geospatial Data Using Multi-Agent LLMs and Semantic Search18 Mar 2025
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation21 Feb 2025
- 2025Reliable Text-to-SQL with Adaptive Abstention18 Jan 2025
- 2024Cooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agents8 Dec 2024
- 2024Understanding the Effect of Algorithm Transparency of Model Explanations in Text-to-SQL Semantic Parsing5 Oct 2024
38 more
- 2024SQLucid: Grounding Natural Language Database Queries with Interactive Explanations10 Sep 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editions4 May 2024
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translation27 Feb 2024
- 2024Evaluating Large Language Models in Semantic Parsing for Conversational Question Answering over Knowledge Graphs3 Jan 2024
- 2023Translating Natural Language Queries to SQL Using the T5 Model12 Dec 2023
- 2023ASTormer: An AST Structure-aware Transformer Decoder for Text-to-SQL28 Oct 2023
- 2023SQLformer: Deep Auto-Regressive Query Graph Generation for Text-to-SQL Translation27 Oct 2023
- 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Survey27 Oct 2023
- 2023Parameterizing Context: Unleashing the Power of Parameter-Efficient Fine-Tuning and In-Context Tuning for Continual Table Semantic Parsing7 Oct 2023
- 2023Few-Shot Adaptation for Parsing Contextual Utterances with LLMs18 Sep 2023
- 2023Semantic Parsing in Limited Resource Conditions14 Sep 2023
- 2023Text-to-OverpassQL: A Natural Language Interface for Complex Geodata Querying of OpenStreetMap30 Aug 2023
- 2023Correcting Semantic Parses with Natural Language through Dynamic Schema Encoding31 May 2023
- 2023Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniques27 May 2023
- 2023CSS: A Large-scale Cross-schema Chinese Text-to-SQL Medical Dataset25 May 2023
- 2023Measuring and Mitigating Constraint Violations of In-Context Learning for Utterance-to-API Semantic Parsing24 May 2023
- 2023Learning to Simulate Natural Language Feedback for Interactive Semantic Parsing14 May 2023
- 2023Interactive Text-to-SQL Generation via Editable Step-by-Step Explanations12 May 2023
- 2023QURG: Question Rewriting Guided Context-Dependent Text-to-SQL Semantic Parsing11 May 2023
- 2023Controllable Data Augmentation for Context-Dependent Text-to-SQL27 Apr 2023
- 2023Conversational Text-to-SQL: An Odyssey into State-of-the-Art and Challenges Ahead21 Feb 2023
- 2022Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation20 Dec 2022
- 2022MIGA: A Unified Multi-task Generation Framework for Conversational Text-to-SQL19 Dec 2022
- 2022Importance of Synthesizing High-quality Data for Text-to-SQL Parsing17 Dec 2022
- 2022Learn from Yesterday: A Semi-Supervised Continual Learning Method for Supervision-Limited Text-to-SQL Task Streams21 Nov 2022
- 2022Uni-Parser: Unified Semantic Parser for Question Answering on Knowledge Base and Database9 Nov 2022
- 2022Towards Generalizable and Robust Text-to-SQL Parsing23 Oct 2022
- 2022Augmenting Multi-Turn Text-to-SQL Datasets with Self-Play21 Oct 2022
- 2022STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsing21 Oct 2022
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directions29 Aug 2022
- 2022SeSQL: Yet Another Large-scale Session-level Chinese Text-to-SQL Dataset26 Aug 2022
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2022Semantic Enhanced Text-to-SQL Parsing via Iteratively Learning Schema Linking Graph8 Aug 2022
- 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsing28 Jun 2022
- 2022CQR-SQL: Conversational Question Reformulation Enhanced Context-Dependent Text-to-SQL Parsers16 May 2022
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL14 May 2022
- 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answering17 Apr 2022
50 newest of 80 All 80 (JSON)
- 2025MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via Agentic Trainingcited by 5
- 2025Towards a Barrier-free GeoQA Portal: Natural Language Interaction with Geospatial Data Using Multi-Agent LLMs and Semantic Searchcited by 3
- 2024Cooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agentscited by 1
- 2025MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via Agentic Training12 Oct 2025
- 2025Towards a Barrier-free GeoQA Portal: Natural Language Interaction with Geospatial Data Using Multi-Agent LLMs and Semantic Search18 Mar 2025
- 2024Cooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agents8 Dec 2024
- 2021A Survey of Data Augmentation Approaches for NLPcited by 408
- 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 105
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
- 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answeringcited by 48
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
12 most cited of 77 All 77 (JSON)
- 2026SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL10 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026The Nuts and Bolts of Natural Language to SQL Translation: A Systematic Analysis of Model Pipeline Optimisation Approaches and their Interactions12 Jul 2026
- 2026An Efficient and Effective Evaluator for Text2SQL Models on Unseen and Unlabeled Data8 Mar 2026
- 2026Track-SQL: Enhancing Generative Language Models with Dual-Extractive Modules for Schema and Context Tracking in Multi-turn Text-to-SQL6 Mar 2026
- 2025FINCH: Financial Intelligence using Natural language for Contextualized SQL Handling2 Oct 2025
- 2025Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation21 Feb 2025
- 2025Reliable Text-to-SQL with Adaptive Abstention18 Jan 2025
- 2024Understanding the Effect of Algorithm Transparency of Model Explanations in Text-to-SQL Semantic Parsing5 Oct 2024
- 2024SQLucid: Grounding Natural Language Database Queries with Interactive Explanations10 Sep 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editions4 May 2024
12 newest of 77 All 77 (JSON)