Research map / Large language models / Language, safety and interpretability
CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editions
Hanchong Zhang, Ruisheng Cao, Hongshen Xu, Lu Chen, Kai Yu
Shanghai Jiao Tong University · Suzhou Laboratory
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.
This paper tried a common change: Chain-of-thought prompting
add simple CoT with question explanations · SParC dev · TS (QM): 59.5 -> 61.8 Improved
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add chain-of-editions prompting | GPT-3.5-turbo-16k baseline · SParC dev | TS (QM): 59.5 -> 63.3 | Improved |
| add chain-of-editions prompting | GPT-3.5-turbo-16k baseline · CoSQL dev | TS (IM): 27.6 -> 30.4 | Improved |
| rewrite multi-turn questions into single-turn (ACT-SQL) instead of using context directly | GPT-3.5-turbo-16k · SParC dev | TS (QM): 59.5 (baseline) vs 56.9 (ACT-SQL) | Hurt |
| add simple CoT with question explanations (ablation) | Baseline · SParC dev | TS (QM): 59.5 -> 61.8 | Improved |
| serialize edition chain as natural language instead of edit rules (ablation) | CoE-SQL · SParC dev | TS (QM): 61.2 -> 63.3 | Improved |
| serialize edition chain as natural language instead of Python code (ablation) | CoE-SQL · SParC dev | TS (QM): 58.6 -> 63.3 | Improved |
| add 'no change is needed' for unedited clauses (ablation) | CoE-SQL · SParC dev | TS (IM): 41.0 -> 41.9 | Improved |
| add analysis of differences between previous and current question (ablation) | CoE-SQL · SParC dev | TS (IM): 39.8 -> 41.9 | Improved |
| restrict unit edit rules to fewer clauses (ablation) | CoE-SQL · SParC dev | TS (QM): 59.9 / 60.0 / 60.3 across coverage levels | No clear effect |
| post-process python-code style using the dict or SQL instead of generated code (ablation) | CoE-SQL Python style · SParC dev | TS (QM): 51.8 (code) -> 58.6 (dict) | Improved |
| use CoE-SQL instead of fine-tuned RASAT+PICARD (EX) | GPT-3.5-turbo-16k · CoSQL test | EX (QM): 66.3 -> 71.1 | Improved |
| use CoE-SQL instead of fine-tuned RASAT+PICARD (EM) | GPT-3.5-turbo-16k · SParC dev | EM (QM): 67.7 -> 56.0 | Hurt |
Later papers that compared with this method
2 later accepted papers report CoE-SQL as a baseline in their results tables; 2 of them report a better number on most of the results they share with it.
- Rose-SQL: Role-State Evolution Guided Structured Reasoning for Multi-Turn Text-to-SQL (ACL 2026 · better on 2 of 2 shared results)
- Track-SQL: Enhancing Generative Language Models with Dual-Extractive Modules for Schema and Context Tracking in Multi-turn Text-to-SQL (NAACL 2025 · better on 4 of 4 shared results)
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.
- ACT-SQL — ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought (EMNLP 2023) · better on 8 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 in LLM unlearning and benchmarks
Do LLM unlearning and privacy results still hold on larger models, other languages and real use?
- Results stop at small or mid-size models and larger ones are untested. · 23 papers state it
- The method adds compute, latency or memory over a simple baseline. · 17 papers state it
- Most work is tested in English or a few high-resource languages. · 14 papers state it
Closest papers by meaning
- ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought (EMNLP 2023 · similarity 0.93)
- Enhancing Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategies (EMNLP 2023 · similarity 0.92)
- SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data (EMNLP 2023 · similarity 0.91)
- ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL (ICLR 2025 · similarity 0.89)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.88)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · 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.