{"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/on-the-potential-of-lexico-logical-alignments","title":"On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries","arxiv_id":"2010.11246","date":"2020-10-21","proceeding":"Findings of the Association for Computational Linguistics 2020","authors":["Tianze Shi","Chen Zhao","Jordan Boyd-Graber","Hal Daumé III","Lillian Lee"],"abstract":"Large-scale semantic parsing datasets annotated with logical forms have enabled major advances in supervised approaches. But can richer supervision help even more? To explore the utility of fine-grained, lexical-level supervision, we introduce Squall, a dataset that enriches 11,276 WikiTableQuestions English-language questions with manually created SQL equivalents plus alignments between SQL and question fragments. Our annotation enables new training possibilities for encoder-decoder models, including approaches from machine translation previously precluded by the absence of alignments. We propose and test two methods: (1) supervised attention; (2) adopting an auxiliary objective of disambiguating references in the input queries to table columns. In 5-fold cross validation, these strategies improve over strong baselines by 4.4% execution accuracy. Oracle experiments suggest that annotated alignments can support further accuracy gains of up to 23.9%.","url_abs":"https://arxiv.org/abs/2010.11246v1","url_pdf":"https://arxiv.org/pdf/2010.11246v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"on-the-potential-of-lexico-logical-alignments","repo_url":"https://github.com/tzshi/squall","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"on-the-potential-of-lexico-logical-alignments","repo_url":"https://github.com/microsoft/Table-Pretraining","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"machine-translation","task_name":"Machine Translation"},{"task_slug":"semantic-parsing","task_name":"Semantic Parsing"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2010.11246","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.11246"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/Table-Pretraining","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/tzshi/squall","reach":null}],"summary":{"ran":3,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1},"listed":{"samples":3,"ran":3,"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":0,"samples":[{"code_sha256_prefix":"d816de85317c8f3e","entry":"RowDeleteTruncate","repo":"microsoft/Table-Pretraining","repo_kind":"listed","path":"tapex/processor/table_truncate.py","file_url":"https://github.com/microsoft/Table-Pretraining/blob/HEAD/tapex/processor/table_truncate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d816de85317c8f3e"}},{"code_sha256_prefix":"b1309c93486f799f","entry":"TableLinearize","repo":"microsoft/Table-Pretraining","repo_kind":"listed","path":"tapex/processor/table_truncate.py","file_url":"https://github.com/microsoft/Table-Pretraining/blob/HEAD/tapex/processor/table_truncate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b1309c93486f799f"}},{"code_sha256_prefix":"d49b92742c05beb7","entry":"TableTruncate","repo":"microsoft/Table-Pretraining","repo_kind":"listed","path":"tapex/processor/table_truncate.py","file_url":"https://github.com/microsoft/Table-Pretraining/blob/HEAD/tapex/processor/table_truncate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d49b92742c05beb7"}},{"code_sha256_prefix":"df5ba2f0e76b3eaf","entry":"attention_matrix_col","repo":"tzshi/squall","repo_kind":"official","path":"model/utils.py","file_url":"https://github.com/tzshi/squall/blob/HEAD/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"df5ba2f0e76b3eaf"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}