Research map / Reinforcement learning / RL from feedback
SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL
Harper Hua, Zhen Han, Zhengyuan Shen, Meng-Chieh Lee, Patrick Guan, Qi Zhu, Sullam Jeoung, Yueyan Chen, Yunfei Bai, Shuai Wang, Vassilis Ioannidis, Huzefa Rangwala
Stanford University · Amazon
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 |
|---|---|---|---|
| multi-turn RL instead of single-pass RL (ablation) | Qwen2.5-Coder-7B (no SFT) · BIRD dev (majority) | execution accuracy: 56.3 -> 59.3 | Improved |
| multi-turn RL instead of single-pass RL (ablation) | Qwen2.5-Coder-7B (no SFT) · Spider dev (majority) | execution accuracy: 82.8 -> 84.5 | Improved |
| add multi-turn RL on top of SFT (ablation) | SQL-Trail-7B · BIRD dev | execution accuracy: 58.7 -> 64.2 | Improved |
| add SFT cold start before RL (ablation) | SQL-Trail-7B · BIRD dev | execution accuracy: 61.7 -> 64.2 | Improved |
| add SFT cold start before RL (ablation) | SQL-Trail-3B · BIRD dev | execution accuracy: 55.7 (SFT) -> 55.2 (SFT+RL); Spider dev 83.1 -> 84.6 | Mixed |
| add n-gram similarity reward (ablation) | SQL-Trail-7B · BIRD dev (majority) | execution accuracy: 61.6 -> 64.2 | Improved |
| add schema reward (ablation) | SQL-Trail-7B · BIRD dev (majority) | execution accuracy: 62.6 -> 64.2 | Improved |
| add execution reward (ablation) | SQL-Trail-7B · BIRD dev (majority) | execution accuracy: 62.8 -> 64.2 | Improved |
| add format reward (ablation) | SQL-Trail-7B · BIRD dev (majority) | execution accuracy: 62.9 -> 64.2 | Improved |
| add turn-number reward (ablation) | SQL-Trail-7B · BIRD dev | conversation turns / EX: avg turns 3.19 -> 2.26; majority EX 63.2 -> 64.2 | Improved |
| include database schema in agent prompt (ablation) | Sonnet-3.7 agent · BIRD dev | execution accuracy: 28.4 -> 55.9 | Improved |
| add column headers in execution output and selection guiding (ablation) | Sonnet-3.7 agent · BIRD dev | execution accuracy: 55.9 -> 59.7 | Improved |
Later papers that compared with this method
1 later accepted paper reports SQL-Trail-7B as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards (EMNLP 2026 · better on 3 of 3 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in RL for LLM reasoning
Does RL for LLM reasoning work beyond math-like tasks with checkable answers, at larger scale and without a judge?
- Larger models than 7B to 14B were never checked. · 21 papers state it
- Evidence comes mostly from math, and code and other domains are untested. · 14 papers state it
- Only tasks with verifiable rewards were tried, not open-ended ones. · 10 papers state it
Closest papers by meaning
- MARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQL (ICML 2026 · similarity 0.94)
- Progress-SQL: Improving Reinforcement Learning for Text-to-SQL via Progressive Rewards (EMNLP 2026 · similarity 0.93)
- SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learning (NeurIPS 2025 · similarity 0.89)
- Beyond Static Pipelines: Learning Dynamic Workflows for Text-to-SQL (ICML 2026 · similarity 0.88)
- CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL (ICLR 2025 · similarity 0.87)
- ArCHer: Training Language Model Agents via Hierarchical Multi-Turn RL (ICML 2024 · similarity 0.87)
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.