AI Paper Atlas

Research map / Large language models / Reasoning and chain of thought

ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought

Hanchong Zhang, Ruisheng Cao, Lu Chen, Hongshen Xu, Kai Yu

EMNLP 2023Large language models › Reasoning and chain of thoughtapproach: Search and self-correction in reasoning143 citations (OpenAlex)

Shanghai Jiao Tong University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
5no clear effect

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 automatically generated chain-of-thought exemplars (ACT-SQL) · Spider dev (Create(EoT), 2+2) · TS: 69.0 -> 71.4 (EM 61.4 -> 62.7, EX 79.4 -> 80.4) Improved

What 1,817 accepted papers report for this change

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 changedWhereMeasuredEffect
add automatically generated chain-of-thought exemplars (ACT-SQL)few-shot GPT-3.5-turbo · Spider dev (Create(EoT), 2+2)TS: 69.0 -> 71.4 (EM 61.4 -> 62.7, EX 79.4 -> 80.4)Improved
add auto-CoTfew-shot GPT-3.5-turbo · Spider-Syn devEX: 63.7 -> 67.9Improved
add auto-CoTfew-shot GPT-3.5-turbo · Spider-DK devEX: 68.8 -> 68.2No clear effect
add auto-CoTfew-shot GPT-3.5-turbo · Spider-Realistic devEX: 76.4 -> 75.8No clear effect
add auto-CoT with question rewritingfew-shot GPT-3.5-turbo · SParC dev (QM EX)EX: 64.0 -> 63.8No clear effect
add auto-CoT with question rewritingfew-shot GPT-3.5-turbo · CoSQL dev (QM EX)EX: 63.9 -> 63.7No clear effect
use GPT-4 instead of GPT-3.5-turboACT-SQL · Spider devTS: 71.4 -> 74.5Improved
add primary and foreign keys to Create-style schema (EoT instead of NoPF) (ablation)zero-shot GPT-3.5-turbo · Spider devTS: 66.1 -> 67.9Improved
provide 3 rows of database contents instead of none (ablation)zero-shot GPT-3.5-turbo, Table(Column) · Spider devEXImproved
provide more than 3 rows of database contents (ablation)zero-shot GPT-3.5-turbo · Spider devEXNo clear effect
hybrid exemplars (2 static + 2 dynamic) instead of 4 static (ablation)ACT-SQL, Create(EoT) · Spider devEM: 55.5 -> 62.7Improved
add few-shot exemplars to zero-shot promptingGPT-3.5-turbo, Table(Column) · Spider devEM: 45.3 -> 59.7Improved

Later papers that compared with this method

2 later accepted papers report ACT-SQL as a baseline in their results tables; 2 of them report a better number on most of the results they share with it.

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.

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy