mlsanityData to 14 Oct 2026

SQLCritic: Correcting Text-to-SQL Generation via Clause-wise Critic

arXiv 2503.07996 ↗First posted 11 Mar 2025cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Existing refinement methods in LLM-based Text-to-SQL systems exhibit limited effectiveness. They often introduce new errors during the self-correction process and fail to detect and correct semantic inaccuracies. To address these gaps, we first introduce a clause-wise critique generation task along with a benchmark, SQLCriticBench, which performs fine-grained error localization including both syntax and semantic errors at the clause level. Furthermore, we introduce a variant of DPO for training our SQLCritic model, where the β coefficient is adaptively changed according to the clause-level inconsistencies between the preferred and dispreferred critiques. We also propose an automatically training dataset curation pipeline which annotate clause-wise critique at scale in a cost-effective way. Experiments demonstrate that the SQLCritic model significantly improves SQL accuracy on the BIRD and Spider datasets, and the results on SQLCriticBench further reveals its superior critique capabilities compared to existing models.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 11 Mar 2025.

Builds on

24 of 38 references.

References · 24

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  5. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  6. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  7. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  8. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  9. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  10. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  11. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 398
  12. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
12 more
  1. 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 240
  2. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 187
  3. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 164
  4. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 120
  5. 2024CriticBench: Benchmarking LLMs for Critique-Correct Reasoningcited by 88
  6. 2023LLMs cannot find reasoning errors, but can correct them given the error locationcited by 85
  7. 2024Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedbackcited by 80
  8. 2023CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generationcited by 66
  9. 2023SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended)cited by 42
  10. 2024MAGIC: Generating Self-Correction Guideline for In-Context Text-to-SQLcited by 35
  11. 2024Large Language Model Enhanced Text-to-SQL Generation: A Surveycited by 24
  12. 2019A Deep Actor-Critic Reinforcement Learning Framework for Dynamic Multichannel Accesscited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ACTS-SQL: Agentic and Critic-Oriented Tree-Structured SQL Correctness with Large Language Models
  2. 2025RetrySQL: text-to-SQL training with retry data for self-correcting query generation
  3. 2026CAPER: Clause-Aligned Process Supervision for Text-to-SQL
  4. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  5. 2025SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correction
  6. 2025SHARE: An SLM-based Hierarchical Action CorREction Assistant for Text-to-SQL
  7. 2024An Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
  8. 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQL