跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2608.09260 (cs)
[提交于 2026年8月10日]

标题:SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL

作者:Geonho Lee, Min-Soo Kim
查看论文《SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Large language models (LLMs) have advanced Text-to-SQL by enabling natural language interfaces to databases without task-specific fine-tuning. However, existing LLM-based systems remain unreliable, often generating SQL queries that are invalid under the database schema, referencing non-existent tables, attributes, functions, or values. Such errors persist because interactions with the database management system (DBMS) are typically limited to error messages, leaving it in a largely passive role during query refinement. This paper proposes SafeQL, \textit{a search-based refinement paradigm that redefines the role of the DBMS as an active guide in the refinement process}. Instead of regenerating entire queries after execution failure, SafeQL interprets DBMS feedback to incrementally repair only the erroneous components. Each refinement step is formulated as a guided search within a \textit{safe query space}, where candidate queries are progressively validated through DBMS execution, thereby converging to an executable query and preventing repeated regeneration of errors. Experiments on the Bird and Spider benchmarks show that SafeQL significantly improves execution accuracy and efficiency compared to regeneration-based methods.
评论: VLDB 2026
主题: 数据库 (cs.DB); 人工智能 (cs.AI)
引用方式: arXiv:2608.09260 [cs.DB]
  (或者 arXiv:2608.09260v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2608.09260
期刊参考: Proc. VLDB Endow. 19(9): 2210-2223, 2026
相关 DOI: https://doi.org/10.14778/3819518.3819545

提交历史

来自:Geonho Lee
[v1] 2026年8月10日 星期一 08:16:17 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DB
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-08
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站