跳到正文
arXiv cs.AI· Jiale Lao, Immanuel Trummer·· 1 天前精选AI 评分62

GenDB-V:AI 合成并经形式化验证的数据库系统

GenDB-V: AI-Generated and Formally Verified Database Systems

AI 导读

Jiale Lao 与 Immanuel Trummer 发布 GenDB-V 论文,让 AI 智能体合成针对硬件与负载定制、且经形式化验证正确性的数据库引擎。

推荐理由

论文给出 AI 合成数据库引擎并用形式化验证保证正确性的完整方法与实测对比,读者可以据此了解验证式代码合成的可行路径。

正文 · 原文

View PDF HTML (experimental)

Abstract:For over 50 years, the database community has developed many successful engines to answer two questions: how can database systems run faster, and how to ensure their correctness? Our experience shows that performance depends on hardware and workloads. As both change over time, we repeatedly redesign and rebuild database systems, a time-consuming and expensive process. Correctness remains another challenge: recent studies continue to uncover wrong-answer bugs even in mature engines, despite years of development and testing. We present GenDB-V, a system that enables AI agents to synthesize database engines specialized to hardware and workloads for performance, and formally verified for correctness. It supports specialized implementations of SQL templates and general-purpose engines. First, we develop SQLSpec to formalize SQL semantics and deterministically construct fixed, implementation-agnostic synthesis targets. Second, we enable joint synthesis of fast code and formal proofs through storage-execution co-optimization, performance-first exploration, three-layer modular proofs that bridge low-level execution to SQLSpec semantics, and robust code synthesis that generalizes verified code beyond the given database state. Third, we verify the synthesized code and proofs against the fixed synthesis targets in an isolated pipeline, proving SQL correctness and program safety. We evaluate GenDB-V on TPC-H and SEC-EDGAR. On TPC-H SF100, the robust verified code is 5.69x faster than DuckDB and 2.22x faster than Umbra, and it remains the fastest system on attack databases built by the agents and on held-out databases built independently. Joint storage and query optimization raises the speedups to 22.0-61.3x, and a verified general-purpose engine outperforms both systems by 1.09-5.02x. Our experiments expose incorrect answers in both a human-built engine and a testing-based LLM synthesis method.
Subjects: Databases (cs.DB); Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG)
Cite as: arXiv:2611.02779 [cs.DB]
  (or arXiv:2611.02779v2 [cs.DB] for this version)
  https://doi.org/10.48550/arXiv.2611.02779

arXiv-issued DOI via DataCite

Submission history

From: Jiale Lao [view email]
[v1] Mon, 2 Nov 2026 08:56:44 UTC (155 KB)
[v2] Wed, 2 Dec 2026 16:08:56 UTC (167 KB)

来源:arXiv cs.AI · arxiv.org