{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-10911","title":"The Nuts and Bolts of Natural Language to SQL Translation: A Systematic Analysis of Model Pipeline Optimisation Approaches and their Interactions","arxiv_id":"2607.10911","date":"2026-07-12","proceeding":null,"authors":["Filip Klubicka","Vasudevan Nedumpozhimana","Sneha Rautmare","Bora Caglayan","Mingxue Wang","John D. Kelleher"],"abstract":"In the age of large language models, Natural Language to SQL (NL2SQL) translation remains an open problem with many useful applications. We explore interactions between several NL2SQL pipeline extensions to inspire development of more lightweight models. Specifically, we integrate the NatSQL intermediate representation, include a preprocessing step and a fine-tuning step based on synthetic data, and develop a novel reranker model to improve SQL selection in the final beam. We perform an ablation study supplemented by a Shapley analysis of these different components integrated with two backbone architectures, SmBoP and RASAT. We find that simply combining all of them does not lead to best results, but that their impact depends on their interactions with the baseline system, as well as each other.","url_abs":"https://arxiv.org/abs/2607.10911","url_pdf":"https://arxiv.org/pdf/2607.10911","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2607.10911","atlas_url":"https://app.syntology.ai/?focus=2607.10911","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.10911"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/taoyds/spider","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ygan/NatSQL","reach":{"status":"ok"}}],"summary":{"ran":12,"ran_honours":2,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":20,"ran":14,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":20,"samples":[{"code_sha256_prefix":"4afe995f7b1ddf57","entry":"before_or_after","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"pattern_generation.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/pattern_generation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4afe995f7b1ddf57"}},{"code_sha256_prefix":"96702b7e3c7a6a21","entry":"col_match_not_in_table","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/preprocess/col_match.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/preprocess/col_match.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96702b7e3c7a6a21"}},{"code_sha256_prefix":"870f513d8cee4cab","entry":"col_unit_back","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/utils.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"870f513d8cee4cab"}},{"code_sha256_prefix":"9e81d6c0dbfbb852","entry":"get_next_table","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"table_transform.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/table_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9e81d6c0dbfbb852"}},{"code_sha256_prefix":"58c07f808a94f086","entry":"get_schema","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/process_sql.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/process_sql.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"58c07f808a94f086"}},{"code_sha256_prefix":"c4dcaf29b663a364","entry":"get_schema_from_json","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/process_sql.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/process_sql.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c4dcaf29b663a364"}},{"code_sha256_prefix":"a2266df86cae8784","entry":"jjs_not_order","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"pattern_generation.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/pattern_generation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a2266df86cae8784"}},{"code_sha256_prefix":"b0825d653a089615","entry":"natsql_idx_to_table2_idx","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/natsql2sql.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/natsql2sql.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b0825d653a089615"}},{"code_sha256_prefix":"4a745be5f30afaae","entry":"not_in_all_q","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"pattern_generation.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/pattern_generation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4a745be5f30afaae"}},{"code_sha256_prefix":"ef3dbdae33ca2c48","entry":"of_for_structure_in_col","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/preprocess/col_match.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/preprocess/col_match.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ef3dbdae33ca2c48"}},{"code_sha256_prefix":"0e25e2e0733db4c8","entry":"return_result","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/preprocess/db_match.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/preprocess/db_match.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0e25e2e0733db4c8"}},{"code_sha256_prefix":"48b57e02e3f2c83d","entry":"reversed_link_back_col","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"table_transform.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/table_transform.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"48b57e02e3f2c83d"}},{"code_sha256_prefix":"8833c58230d6386e","entry":"special_replace","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"setence_split.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/setence_split.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8833c58230d6386e"}},{"code_sha256_prefix":"815b613db137fa80","entry":"val_unit_back","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/utils.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"815b613db137fa80"}},{"code_sha256_prefix":"14ad4335d565ea1d","entry":"check_relation","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/natsql2sql.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/natsql2sql.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"14ad4335d565ea1d"}},{"code_sha256_prefix":"ec17bb9f6919d410","entry":"col_match_main","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/preprocess/col_match.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/preprocess/col_match.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ec17bb9f6919d410"}},{"code_sha256_prefix":"afc0b5023361df91","entry":"lemmatization","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/preprocess/TokenString.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/preprocess/TokenString.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"afc0b5023361df91"}},{"code_sha256_prefix":"972a58657cfed15c","entry":"parse_col","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/natsql_parser.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/natsql_parser.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"972a58657cfed15c"}},{"code_sha256_prefix":"bfc0a46be80f851a","entry":"select_unit_back","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"natsql2sql/utils.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/natsql2sql/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bfc0a46be80f851a"}},{"code_sha256_prefix":"7a8b99916d022ef1","entry":"table_transform","repo":"ygan/NatSQL","repo_kind":"found_in_text","path":"table_transform.py","file_url":"https://github.com/ygan/NatSQL/blob/HEAD/table_transform.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7a8b99916d022ef1"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}