Reproduce “DeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Framework” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Boyan Li, Chong Chen, Zhujun Xue, Yinan Mei, Yuyu Luo
The DeepEye-SQL framework converts natural language questions into SQL queries by modeling the process as a software-engineering problem, incorporating a multi-stage pipeline with robust schema linking, N-version programming for diverse SQL generation, deterministic unit testing for revision, and confidence-aware selection. It achieved an execution accuracy of 75.07% on the BIRD-Test dataset using open-source models, outperforming several state-of-the-art methods while significantly reducing inference latency and token consumption.
Key insights
- Framing Text-to-SQL as a software-engineering problem enables a structured, verifiable approach that significantly improves system-level reliability and correctness.
- A principled orchestration of modular components, including robust schema linking and diverse N-version SQL generation, yields greater performance gains than solely relying on LLM scale.
- Deterministic external tools for syntax, logic, and quality checks, combined with execution-guided confidence estimation, provide robust verification and selection for SQL queries, mitigating LLM hallucination.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.