AI Paper Atlas

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

SQLPrompt: In-Context Text-to-SQL with Minimal Labeled Data

Ruoxi Sun, Sercan Ö. Arik, Rajarishi Sinha, Hootan Nakhost, Hanjun Dai, Pengcheng Yin, Tomas Pfister

EMNLP 2023 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 40 citations (OpenAlex) · Google DeepMind

Read the 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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add execution-based consistency decoding (ablation)SQLPrompt (no MixLLMs) · Spider DevTS: 49.6 -> 63.2Improved
add execution error filtering (ablation)SQLPrompt (no MixLLMs) · Spider DevTS: 48.7 -> 63.2Improved
add primary keys, foreign keys and DB content to the prompt (ablation)SQLPrompt (no MixLLMs) · Spider DevTS: 57.3 -> 63.2Improved
add MixPrompt (concise + verbose prompts) (ablation)SQLPrompt, PaLM FLAN 62B qntz 0-shot · Spider DevTS: 61.3 -> 63.2Improved
MixPrompt vs best single prompt (ablation)PaLM FLAN 62B qntz, 0-shot · Spider DevTS: 62.9 -> 63.2Improved
MixPrompt vs best single prompt (ablation)PaLM FLAN 540B qntz, 0-shot · Spider DevTS: 64.1 -> 65.5Improved
MixPrompt vs best single prompt (ablation)PaLM FLAN 62B qntz, 4-shot · Spider DevTS: 63.8 -> 66.6Improved
MixPrompt vs best single prompt (ablation)PaLM FLAN 540B qntz, 4-shot · Spider DevTS: 63.2 -> 65.2Improved
mix more LLM and prompt configurations (MixLLMs) (ablation)SQLPrompt · Spider DevTS: 65.5 (2) -> 68.0 (4) -> 68.3 (6) -> 68.6 (16)Improved
increase mixture from 6 to 16 (ablation)SQLPrompt MixLLMs · Spider DevEX: 77.3 -> 77.1No clear effect
add 4-shot examples to SQLPrompt (vs 0-shot)SQLPrompt · Spider DevTS: 68.0 -> 68.6Improved
use SQLPrompt instead of ChatGPT prompts0-shot in-context learning · Spider DevEX: 70.1 -> 76.6Improved

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