Research map / Large language models / Reasoning and chain of thought
Memo-SQL: Structured Decomposition and Experience-Driven Self-Correction for Training-Free NL2SQL
Zerui Yang, Weichuan Wang, Yanwei Xu, Linqi Song, Yudai Matsuda, Wei Han, Bo Bai
City University of Hong Kong · Huawei Technologies
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.
On benchmark leaderboards
- Spider leaderboard EX (dev) 86.5 · rank 14 of 24 papers
- BIRD leaderboard EX (dev) 67.6 · rank 7 of 24 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add memory-augmented SQL refinement (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 66.4 -> 68.5 | Improved |
| add structured question decomposition instead of random (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 67.2 -> 68.5 | Improved |
| add ReAct+Reflect SQL generation (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 67.3 -> 68.5 | Improved |
| add multi-style SQL generation (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 67.6 -> 68.5 | Improved |
| add schema linking (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 67.7 -> 68.5 | Improved |
| add ICL exemplars during final SQL generation (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · BIRD dev-new | EX (%): 68.5 -> 67.1 | Hurt |
| retrieve similar error-correction pairs with filtering instead of unfiltered top-4 RAG (ablation) | Memo-SQL correction · BIRD dev | EX (%): 67.5 -> 68.5 | Improved |
| retrieve similar entries instead of random memory entries (ablation) | Memo-SQL correction · BIRD dev | EX (%): 67.6 (random) vs 67.5 (similarity, unfiltered) | No clear effect |
| add direct prompt-based correction without examples (ablation) | Baseline pipeline · BIRD dev | EX (%): 66.4 -> 66.6 | No clear effect |
| disable SQL correction (ablation) | Memo-SQL (Qwen3-Coder-30B-A3B) · Spider dev | EX (%): 85.8 -> 86.5 | Improved |
| use Memo-SQL instead of Alpha-SQL | Qwen2.5-Coder-32B · CHESS-SDS tokens per query | tokens/time: 150344 -> 7925 tokens; 1839 -> 145 s | Improved |
| use Memo-SQL instead of Alpha-SQL | Qwen3-Coder-30B-A3B · BIRD dev | EX (%): 68.2 -> 67.6 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Alpha-SQL — Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025) · better on 5 of 8 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 this paper states
- “Multiple LLM calls and SQL executions per query may be too heavy for ultra-low-latency settings.” → The cost-saving method adds its own extra passes, calls or latency. (an open problem in routing, pruning and distillation for reasoning)
Open problems in routing, pruning and distillation for reasoning
Do routing, pruning and distillation savings hold on larger models, open-ended tasks and real deployments?
- The cost-saving method adds its own extra passes, calls or latency. · 14 papers state it
- Tested only on models of about 14B parameters or fewer. · 14 papers state it
- Building the supervision needs many rollouts, searches or samples offline. · 9 papers state it
Closest papers by meaning
- LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Models (ICLR 2026 · similarity 0.91)
- Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL (ACL 2026 · similarity 0.90)
- QBridge: Bridging Natural Language and SQL via Gold Query Rewriting with Agentic Refinement (ACL 2026 · similarity 0.89)
- SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learning (NeurIPS 2025 · similarity 0.88)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.88)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.88)
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.