AI Paper Atlas

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

Exploring Chain of Thought Style Prompting for Text-to-SQL

Chang-You Tai, Ziru Chen, Tianshu Zhang, Xiang Deng, Huan Sun

EMNLP 2023Large language models › Reasoning and chain of thoughtapproach: Chain-of-thought training and analysis146 citations (OpenAlex)

The Ohio State University

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

15measured effects
7improved
2no clear effect
6hurt

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

use chain-of-thought (detailed SQL-execution steps) instead of standard prompting · Spider dev (8-shot) · test-suite accuracy: 63.2 -> 56.8 Hurt

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
use chain-of-thought (detailed SQL-execution steps) instead of standard promptingCodex · Spider dev (8-shot)test-suite accuracy: 63.2 -> 56.8Hurt
replace SQL-execution reasoning steps with question decomposition in one pass (QDecomp + InterCOL)Codex · Spider dev (8-shot)test-suite accuracy: 63.2 -> 68.4Improved
QDecomp + InterCOL instead of standard promptingCodex · Spider Realistic (8-shot)test-suite accuracy: 51.0 -> 56.5Improved
one-pass QDecomp + InterCOL instead of iterative least-to-most promptingCodex · Spider dev / Spider Realistictest-suite accuracy: 66.0 -> 68.4 (dev), 55.0 -> 56.5 (Realistic)Improved
add InterCOL (table/column names per sub-question) to QDecompCodex · Spider dev (8-shot)test-suite accuracy: 67.4 -> 68.4Improved
add InterCOL to QDecompCodex · Spider dev (8-shot)execution accuracy: 70.7 -> 69.7No clear effect
use extra-hard (G3) in-context examples (ablation)QDecomp + InterCOL · Spider dev (8-shot)execution accuracy: 69.7 -> 78.2Improved
use extra-hard (G3) in-context examples (ablation)Least-to-Most · Spider dev (8-shot)test-suite accuracy: 66.0 -> 63.3Hurt
use G1 or G2 examples instead of random (ablation)Least-to-Most · Spider devtest-suite accuracy: 65.8 -> 62.6 (G1), 61.2 (G2)Hurt
use G1 (equal difficulty) examples instead of random (ablation)QDecomp + InterCOL · Spider dev (8-shot)test-suite accuracy: 68.4 -> 69.0Improved
use Create Table + Select 3 format instead of API docs (ablation)QDecomp + InterCOL · Spider dev (4-shot)test-suite accuracy: 66.5 -> 64.3Hurt
use Create Table + Select 3 format instead of API docs (ablation)Standard prompting · Spider dev (4-shot)test-suite accuracy: 63.9 -> 64.1No clear effect

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