AI Paper Atlas

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

SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQL

Jimin Lee, Ingeol Baek, Byeongjeong Kim, Hyunkyung Bae, Hwanhee Lee

EMNLP 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 11 citations (OpenAlex) · New York University, Chung-Ang University

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 self-generated reasoning path to examples (ablation)SAFE-SQL (GPT-4o) · Spider devEX: 84.4 -> 87.9Improved
add relevance filtering of generated examples (ablation)SAFE-SQL (GPT-4o) · Spider devEX: 82.1 -> 87.9Improved
add schema linking (ablation)SAFE-SQL (GPT-4o) · Spider devEX: 80.4 -> 87.9Improved
add similar example generation (ablation)SAFE-SQL (GPT-4o) · Spider devEX: 77.1 -> 87.9Improved
use SAFE-SQL instead of zero-shot promptingGPT-4o · Spider devEX: 73.4 -> 87.9Improved
use SAFE-SQL instead of zero-shot promptingGPT-4o · BIRD devEX: 51.8 -> 63.5Improved
use balanced relevance weights instead of a single component (ablation)SAFE-SQL (GPT-4o) · Spider devEX: 82.8-86.1 -> 87.9Improved
use SAFE-SQL instead of few-shot methods on Easy/MediumSAFE-SQL (GPT-4) · Spider devEasy/Medium EX: Easy 94.8 (PTD) vs 93.2Mixed
set relevance threshold to >=8 rather than >=10 (ablation)SAFE-SQL · Spider devEXImproved
apply SAFE-SQL with Qwen2.5-72BQwen2.5-72B · Spider devEX: 74.5 vs GPT-4o baseline 73.4No clear effect
run three LLM calls (SAFE-SQL) instead of zero-shotGPT-4 · Spider devinference time (s): 1.28 -> 21.41Hurt

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.

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