Skip to content
简体中文

切换主题

arXiv 2611.17780 · cs.CL · 2026-11-13

LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent

Ibrahim Memon, Armin Karamzade, M. Hanif Jhaveri, Roy Fox

机构待核实

在最新榜 #624 本站收录于 2026-11-17

一句话要点

LuthorSQL 是一种轻量级文本到 SQL 模型,作为系统1快速处理查询,仅在不确定时将复杂请求转交慢速大语言模型,实现本地化推理并降低 API 成本33.3%。

LuthorSQL is a lightweight text-to-SQL model that acts as System 1 for rapid query handling, offloading queries to a slower LLM only when uncertain, reducing API costs by 33.3%.

要点

  • 现有大语言模型代理在数据库查询中存在响应慢、成本高且隐私风险大的问题,需要更高效的本地化处理方案。
  • LuthorSQL 采用非自回归结构,在单次前向传播中预测查询计划槽位得分,生成最多32个候选计划并由训练好的验证器选择最终答案。
  • 在BIRD隐藏测试集上达到68.03%的执行准确率,推理速度为每题0.84秒,支持8位量化并在9GB显存下运行,可零样本迁移至多种主流数据库。
  • 与Claude Opus 5.5结合使用,在227个新数据库查询中约一半由LuthorSQL本地完成,整体准确率持平,API成本降低33.3%。
English overview

LuthorSQL is a non-autoregressive 7B text-to-SQL model designed as a fast, local System 1 component for database querying. It performs a single forward pass to score query plans over a bounded grammar, evaluates up to 32 candidates, and uses a trained validator to select answers. It achieves 68.03% accuracy on BIRD's hidden test set with 0.84 seconds per query and supports zero-shot transfer across major SQL databases. When integrated with Claude Opus 5.5 in a confidence cascade, it handles nearly half of queries locally, reducing API costs by 33.3% without sacrificing accuracy.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

4HF 点赞
1GitHub stars
0引用(Semantic Scholar)
19.9热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)