paper-with-me

홈 › Papers

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

2025-03-11 · Jikai Chen, Leilei Gan, Ziyu Zhao, Zechuan Wang, Dong Wang, Chenyi Zhuang

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 $\beta$ 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.

📄 PDF Abstract BibTeX arXiv:2503.07996

Code (0)

등록된 구현이 없습니다.

Tasks

Natural Language QueriesText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

DPO 설명 없음
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Clause-Wise and Recursive Decoding for Complex and Cross-Domain Text-to-SQL Generation

2019-04-18 · IJCNLP 2019 11 · Dongjun Lee

Most deep learning approaches for text-to-SQL generation are limited to the WikiSQL dataset, which only supports very simple queries over a single table. We focus on the Spider dataset, a complex and cross-domain text-to…

Text to SQLText-To-SQL

EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL

2026-04-29 · Jaehoon Lee, CheolWon Na, Suyoung Bae, Jin-Seop Lee 외 arxiv

Text-to-SQL enables users to query databases using natural language by generating executable SQL queries. Recent methods have increasingly adopted Large Language Models based reinforcement learning (RL) to leverage execu…

Reinforcement Learning

Investigating Strategies for Clause Recommendation

2023-01-21 · Sagar Joshi, Sumanth Balaji, Jerrin Thomas, Aparna Garimella 외

Clause recommendation is the problem of recommending a clause to a legal contract, given the context of the contract in question and the clause type to which the clause should belong. With not much prior work being done …

Text Generation

Graph-based Keyword Planning for Legal Clause Generation from Topics

2023-01-07 · Sagar Joshi, Sumanth Balaji, Aparna Garimella, Vasudeva Varma

Generating domain-specific content such as legal clauses based on minimal user-provided information can be of significant benefit in automating legal contract generation. In this paper, we propose a controllable graph-ba…

Text Generation

Robust clause boundary identification for corpus annotation

2012-05-01 · LREC 2012 5 · Heiki-Jaan Kaalep, Kadri Muischnek

The paper describes a rule-based system for tagging clause boundaries, implemented for annotating the Estonian Reference Corpus of the University of Tartu, a collection of written texts containing ca 245 million running …

Boundary DetectionSentence