跳到正文
arXiv:cs.AI· Piyush Jha, Cruise Song, Zhengyu Li, Yatharth Sejpal·· 18 小时前

VeriPIE:面向 Text-to-SQL 的可检查查询计划与证据引导筛选

VeriPIE: Checkable Query Plans and Evidence-Guided Selection for Text-to-SQL

AI 导读

VeriPIE 是一个神经符号框架,将语言模型生成与符号检查结合,用经过 Lean 验证的查询计划语言 QuerySketch 诊断和修复错误计划,再借助执行一致性与区分性数据库搜索筛选候选查询。

正文

View PDF HTML (experimental)

Abstract:Financial Artificial Intelligence (AI) governance and model risk management (MRM) emphasize independent validation, transparency, and effective challenge of AI-generated computations. Text-to-SQL translates natural-language questions into Structured Query Language (SQL), but queries that agree on one database can still express different computations. We present VeriPIE, a neurosymbolic framework combining language-model generation with symbolic checks. It ensembles direct SQL generation with QuerySketch, a structured plan language checked by a backend implemented in Lean, a theorem prover and programming language. Plan diagnostics guide repair before SQL generation, while execution agreement and bounded searches for distinguishing databases inform candidate selection. These checks expose malformed plans and hidden disagreement without proving agreement with the user's intent. In single-run experiments on the complete Spider development set, VeriPIE achieves 72.05% test-suite accuracy (745/1,034), compared with DeepEye's 65.67% (679/1,034). Its two-query shortlist covers 78.43% (811 questions), compared with 74.66% for DIN-SQL (772) and 69.05% for DeepEye (714). On BIRD, VeriPIE reaches 68.90% execution accuracy and 73.73% two-query coverage. The central benefit is reviewable evidence about the generated computation: explicit plan checks, repair diagnostics, and concrete disagreements that support safer financial analysis.
Subjects: Logic in Computer Science (cs.LO); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.17493 [cs.LO]
  (or arXiv:2610.17493v1 [cs.LO] for this version)
  https://doi.org/10.48550/arXiv.2610.17493

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Zhengyu Li [view email]
[v1] Mon, 12 Oct 2026 23:31:04 UTC (58 KB)

来源:arXiv:cs.AI · arxiv.org