AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction

Mohammadreza Pourreza, Davood Rafiei

NeurIPS 2023 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 131 citations (OpenAlex)

Read the paperCheck your idea against 137,217 papers

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 changedWhereMeasuredEffect
Apply DIN-SQL decomposition and self-correction instead of few-shot promptingGPT-4 · Spider devexecution accuracy: 67.4 -> 74.2Improved
Apply DIN-SQL decomposition and self-correction instead of few-shot promptingCodeX Davinci · Spider devexecution accuracy: 61.5 -> 69.9Improved
Apply DIN-SQL decomposition and self-correction instead of GPT-4 aloneGPT-4 · BIRD devexecution accuracy: 46.35 -> 50.72Improved
Add schema linking (ablation)DIN-SQL with CodeX Davinci · Spider devexecution accuracy: 65.9 -> 69.9Improved
Add self-correction (ablation)DIN-SQL with CodeX Davinci · Spider devexecution accuracy: 67.3 -> 69.9Improved
Add classification to select prompting complexity (ablation)DIN-SQL with CodeX Davinci · Spider devexecution accuracy: 63.1 -> 69.9Improved
Add classification to select prompting complexity (ablation)DIN-SQL with CodeX Davinci · Spider devexecution accuracy: 68.2 -> 69.9Improved
Use gentle rather than generic self-correction (ablation)DIN-SQL with GPT-4 · Spider devexecution accuracy: 70.0 -> 74.2Improved
Use generic rather than gentle self-correction (ablation)DIN-SQL with CodeX Davinci · Spider devexecution accuracy: 68.7 -> 69.9Improved
Add gentle self-correction (ablation)DIN-SQL with GPT-4 · Spider devexecution accuracy: 73.3 -> 74.2Improved

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