CLMay 20, 2025

JOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema Sampling

arXiv:2505.14305v33 citationsh-index: 10Has CodeEMNLP
Originality Incremental advance
AI Analysis

This work addresses efficiency and robustness issues in text-to-SQL systems for database query applications, representing an incremental improvement over existing methods.

The paper tackles the challenges of complex pipelines and poor robustness to noisy schema in text-to-SQL tasks by introducing JOLT-SQL, a single-stage supervised fine-tuning framework that achieves state-of-the-art execution accuracy on Spider and BIRD benchmarks among comparable-size open-source models.

Text-to-SQL, which maps natural language to SQL queries, has benefited greatly from recent advances in Large Language Models (LLMs). While LLMs offer various paradigms for this task, including prompting and supervised fine-tuning (SFT), SFT approaches still face challenges such as complex multi-stage pipelines and poor robustness to noisy schema information. To address these limitations, we present JOLT-SQL, a streamlined single-stage SFT framework that jointly optimizes schema linking and SQL generation via a unified loss. JOLT-SQL employs discriminative schema linking, enhanced by local bidirectional attention, alongside a confusion-aware noisy schema sampling strategy with selective attention to improve robustness under noisy schema conditions. Experiments on the Spider and BIRD benchmarks demonstrate that JOLT-SQL achieves state-of-the-art execution accuracy among comparable-size open-source models, while significantly improving both training and inference efficiency. Our code is available at https://github.com/Songjw133/JOLT-SQL.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes