SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL
원문 초록
Text-to-SQL systems translate natural language (NL) questions into SQL queries, enabling non-technical users to interact with structured data. While large language models (LLMs) have shown promising results on the text-to-SQL task, they often produce semantically incorrect yet syntactically valid queries, with limited insight into their reliability. We propose SQLens, an end-to-end framework for fine-grained detection and correction of semantic errors in LLM-generated SQL. SQLens integrates error signals from both the underlying database and the LLM to identify potential semantic errors within SQL clauses. It further leverages these signals to guide query correction. Empirical results on two public benchmarks show that SQLens outperforms the best LLM-based self-evaluation method by 25.78% in F1 for error detection, and improves execution accuracy of out-of-the-box text-to-SQL systems by up to 20%.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Valid Text-to-SQL Generation with Unification-based DeepStochLog
Pi-SQL: Enhancing Text-to-SQL with Fine-Grained Guidance from Pivot Programming Languages
SQL-o1: Automatic Text-to-SQL Program Synthesis via Self-Reward Heuristic Search
XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQL
Schema-R1: A reasoning training approach for schema linking in Text-to-SQL Task
Bridging the Gap Between Open-Source and Proprietary LLMs in Table QA
토론
이 논문과 연결된 포럼 글이 아직 없습니다.