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

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

20 May 2025arXiv:2505.14305archive 2025-07-28

Jinwang Song, Hongying Zan, Kunli Zhang, Lingling Mu, Yingjie Han, Haobo Hua, Min Peng

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.14305")

Code

Syntology Ran 16 of 18 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 3 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 16 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

3ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
9ran
2unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Songjw133/JOLT-SQL. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

acc Songjw133/JOLT-SQL/test_suite_sql_eval/evaluate_classical.py found in paper text by Syntology ran · fixture could not drive it Apache-2.0 (permissive) · bd001f76894a9867 · report
condition_has_like Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 8231e3fdffa9c8ee · report
condition_has_or Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py found in paper text by Syntology ran · violated contract fingerprinted Apache-2.0 (permissive) · f2d76234528d3b57 · report
condition_has_sql Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 954c76e256cc7220 · report
find_subsequence Songjw133/JOLT-SQL/JOLT_spider_v1.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 0e73074433136ad3 · report
get_cursor_from_path Songjw133/JOLT-SQL/test_suite_sql_eval/exec_subprocess.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 2f701949fb88a0d5 · report
get_schema Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 0992d2a47ae733fa · report
get_schema_from_json Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py found in paper text by Syntology ran Apache-2.0 (permissive) · c4dcaf29b663a364 · report
join_tokens Songjw133/JOLT-SQL/test_suite_sql_eval/parse.py found in paper text by Syntology ran Apache-2.0 (permissive) · 2178b95c919ae420 · report
load_predictions Songjw133/JOLT-SQL/test_suite_sql_eval/evaluate_classical.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · c64a2627f38e10a8 · report
permute_tuple Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py found in paper text by Syntology ran Apache-2.0 (permissive) · f23d6ff3772963bc · report
postprocess Songjw133/JOLT-SQL/test_suite_sql_eval/parse.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 58e472cff9780d63 · report
quick_rej Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py found in paper text by Syntology ran Apache-2.0 (permissive) · a40510ba6a37f798 · report
replace_cur_year Songjw133/JOLT-SQL/test_suite_sql_eval/exec_subprocess.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · d7bcb03a0faa63ed · report
save_pristine_base_model_state Songjw133/JOLT-SQL/utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · a79a9b45387beff9 · report
unorder_row Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py found in paper text by Syntology ran Apache-2.0 (permissive) · afc8ef89576ef2aa · report
getDataLoader Songjw133/JOLT-SQL/JOLT_spider_v1.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3426fdab59498b56 · report
tokenize Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a906f5de1f5971b0 · report

Tasks

Text to SQLText-To-SQL

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionSFTSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections