mlsanityData to 7 Oct 2026

SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning

arXiv 1711.04436 ↗First posted 13 Nov 2017cs.CL cs.AI cs.DBcited by 135

Not on the map. Why?

Abstract (arXiv)

Synthesizing SQL queries from natural language is a long-standing open problem and has been attracting considerable interest recently. Toward solving the problem, the de facto approach is to employ a sequence-to-sequence-style model. Such an approach will necessarily require the SQL queries to be serialized. Since the same SQL query may have multiple equivalent serializations, training a sequence-to-sequence-style model is sensitive to the choice from one of them. This phenomenon is documented as the "order-matters" problem. Existing state-of-the-art approaches rely on reinforcement learning to reward the decoder when it generates any of the equivalent serializations. However, we observe that the improvement from reinforcement learning is limited. In this paper, we propose a novel approach, i.e., SQLNet, to fundamentally solve this problem by avoiding the sequence-to-sequence structure when the order does not matter. In particular, we employ a sketch-based approach where the sketch contains a dependency graph so that one prediction can be done by taking into consideration only the previous predictions that it depends on. In addition, we propose a sequence-to-set model as well as the column attention mechanism to synthesize the query based on the sketch. By combining all these novel techniques, we show that SQLNet can outperform the prior art by 9% to 13% on the WikiSQL task.

Key facts. Cited by 135 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Nov 2017.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 19; 2022: 13; 2023: 22; 2024: 29; 2025: 29; 2026: 23.

135 papers.

Sort:

By area:

  1. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  2. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  3. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  4. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 158
  5. 2024Large Language Models(LLMs) on Tabular Data: Prediction, Generation, and Understanding -- A Surveycited by 157
  6. 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
  7. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
  8. 2023Graphix-T5: Mixing Pre-Trained Transformers with Graph-Aware Layers for Text-to-SQL Parsingcited by 93
  9. 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
  10. 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
  11. 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
  12. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
38 more
  1. 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thoughtcited by 65
  2. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  3. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  4. 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
  5. 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
  6. 2025OpenSearch-SQL: Enhancing Text-to-SQL with Dynamic Few-shot and Consistency Alignmentcited by 51
  7. 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
  8. 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
  9. 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
  10. 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 42
  11. 2022A Survey on Table Question Answering: Recent Advancescited by 41
  12. 2024E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQLcited by 35
  13. 2024SQLBench: A Comprehensive Evaluation for Text-to-SQL Capabilities of Large Language Modelscited by 32
  14. 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoisingcited by 27
  15. 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
  16. 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistencycited by 26
  17. 2021Improving Text-to-SQL with Schema Dependency Learningcited by 25
  18. 2021Dual Reader-Parser on Hybrid Textual and Tabular Evidence for Open Domain Question Answeringcited by 25
  19. 2021Retrieving Complex Tables with Multi-Granular Graph Representation Learningcited by 24
  20. 2023Xpert: Empowering Incident Management with Query Recommendations via Large Language Modelscited by 22
  21. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
  22. 2024Investigating the Impact of Data Contamination of Large Language Models in Text-to-SQL Translationcited by 21
  23. 2022UniSAr: A Unified Structure-Aware Autoregressive Language Model for Text-to-SQLcited by 20
  24. 2024SyntheT2C: Generating Synthetic Data for Fine-Tuning Large Language Models on the Text2Cypher Taskcited by 19
  25. 2025Reliable Text-to-SQL with Adaptive Abstentioncited by 19
  26. 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translationcited by 17
  27. 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQLcited by 16
  28. 2021mRAT-SQL+GAP:A Portuguese Text-to-SQL Transformercited by 15
  29. 2025MapQA: Open-domain Geospatial Question Answering on Map Datacited by 15
  30. 2025ELT-Bench: An End-to-End Benchmark for Evaluating AI Agents on ELT Pipelinescited by 15
  31. 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
  32. 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editionscited by 13
  33. 2022End-to-End Table Question Answering via Retrieval-Augmented Generationcited by 12
  34. 2022Deep Learning Driven Natural Languages Text to SQL Query Conversion: A Surveycited by 11
  35. 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQLcited by 11
  36. 2021A Survey on Deep Reinforcement Learning for Data Processing and Analyticscited by 10
  37. 2024Vi(E)va LLM! A Conceptual Stack for Evaluating and Interpreting Generative AI-based Visualizationscited by 10
  38. 2024SQLucid: Grounding Natural Language Database Queries with Interactive Explanationscited by 10

50 most cited of 135 All 135 (JSON)