Research map / Large language models / Agents, code and math
Rethinking Text-to-SQL: Dynamic Multi-turn SQL Interaction for Real-world Database Exploration
Linzhuang Sun, Tianyu Guo, Hao Liang, Ruitong Liu, Yuying Li, Qifeng Cai, Jingxuan Wei, Yuchen Wu, Bihui Yu, Xiangxiang Zhang, Wentao Zhang, Bin Cui
University of Chinese Academy of Sciences · Peking University · Zhongguancun Academy · Tsinghua University · New York University · Beijing Key Laboratory of Software and Hardware Cooperative Artificial Intelligence Systems
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add 3 few-shot exemplars to system prompt (ablation) | GPT-4o · DySQL-Bench car | accuracy: 51.85 -> 53.84 | Improved |
| add 3 few-shot exemplars (ablation) | Qwen2.5-72B-Instruct · DySQL-Bench car | accuracy: 55.56 -> 57.52 | Improved |
| add 3 few-shot exemplars (ablation) | GPT-4o · DySQL-Bench (average of 3 databases) | accuracy: 62.60 -> 64.68 | Improved |
| increase number of few-shot exemplars beyond 2 (ablation) | GPT-4o and Qwen2.5-72B · DySQL-Bench | accuracy | No clear effect |
| increase evaluation trials k from 1 to 5 | all models · DySQL-Bench eu_soccer | accuracy: GPT-4o 62.79 -> 19.53 (Pass^1 to Pass^5) | Hurt |
| scale model beyond about 70B parameters | LLMs · DySQL-Bench | Pass^1 | No clear effect |
| scale model up to about 70B parameters | LLMs · DySQL-Bench | Pass^1 | Improved |
| SQL-specialized post-training (OmniSQL-32B) | OmniSQL-32B · DySQL-Bench | dialogue behavior | Hurt |
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- BIRD-INTERACT: Re-imagining Text-to-SQL Evaluation via Lens of Dynamic Interactions (ICLR 2026 · similarity 0.93)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.91)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.90)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.89)
- Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows (ICLR 2025 · similarity 0.89)
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL (NeurIPS 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.