{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/tapex-table-pre-training-via-learning-a","title":"TAPEX: Table Pre-training via Learning a Neural SQL Executor","arxiv_id":"2107.07653","date":"2021-07-16","proceeding":"ICLR 2022 4","authors":["Qian Liu","Bei Chen","Jiaqi Guo","Morteza Ziyadi","Zeqi Lin","Weizhu Chen","Jian-Guang Lou"],"abstract":"Recent progress in language model pre-training has achieved a great success via leveraging large-scale unstructured textual data. However, it is still a challenge to apply pre-training on structured tabular data due to the absence of large-scale high-quality tabular data. In this paper, we propose TAPEX to show that table pre-training can be achieved by learning a neural SQL executor over a synthetic corpus, which is obtained by automatically synthesizing executable SQL queries and their execution outputs. TAPEX addresses the data scarcity challenge via guiding the language model to mimic a SQL executor on the diverse, large-scale and high-quality synthetic corpus. We evaluate TAPEX on four benchmark datasets. Experimental results demonstrate that TAPEX outperforms previous table pre-training approaches by a large margin and achieves new state-of-the-art results on all of them. This includes the improvements on the weakly-supervised WikiSQL denotation accuracy to 89.5% (+2.3%), the WikiTableQuestions denotation accuracy to 57.5% (+4.8%), the SQA denotation accuracy to 74.5% (+3.5%), and the TabFact accuracy to 84.2% (+3.2%). To our knowledge, this is the first work to exploit table pre-training via synthetic executable programs and to achieve new state-of-the-art results on various downstream tasks. Our code can be found at https://github.com/microsoft/Table-Pretraining.","url_abs":"https://arxiv.org/abs/2107.07653v3","url_pdf":"https://arxiv.org/pdf/2107.07653v3.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":"tapex-table-pre-training-via-learning-a","repo_url":"https://github.com/microsoft/Table-Pretraining","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"tapex-table-pre-training-via-learning-a","repo_url":"https://github.com/sohanpatnaik106/cabinet_qa","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"tapex-table-pre-training-via-learning-a","repo_url":"https://github.com/MindCode-4/code-5/tree/main/tapex","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"tapex-table-pre-training-via-learning-a","repo_url":"https://github.com/pwc-1/Paper-9/tree/main/1/tapex","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"semantic-parsing","task_name":"Semantic Parsing"},{"task_slug":"table-based-fact-verification","task_name":"Table-based Fact Verification"}],"methods":[{"method_slug":"tapex","method_name":"TAPEX"}],"datasets_introduced":[],"methods_introduced":[{"slug":"tapex","name":"TAPEX","full_name":"Table Pre-training via Execution"}],"results":[{"leaderboard":"/sota/semantic-parsing-on-sqa","task":"Semantic Parsing","dataset":"SQA","model":"TAPEX-Large","rank_in_archive_order":1,"of":2,"metrics":{"Denotation Accuracy":"74.5"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-parsing-on-wikisql-1","task":"Semantic Parsing","dataset":"WikiSQL","model":"TAPEX-Large (weak supervision)","rank_in_archive_order":2,"of":5,"metrics":{"Denotation accuracy (test)":"89.5"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-parsing-on-wikitablequestions","task":"Semantic Parsing","dataset":"WikiTableQuestions","model":"TAPEX-Large","rank_in_archive_order":17,"of":22,"metrics":{"Accuracy (Dev)":"57.0","Accuracy (Test)":"57.5"},"uses_additional_data":false},{"leaderboard":"/sota/table-based-fact-verification-on-tabfact","task":"Table-based Fact Verification","dataset":"TabFact","model":"TAPEX-Large","rank_in_archive_order":8,"of":15,"metrics":{"Test":"84.2","Val":"84.6"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2107.07653","atlas_url":"https://app.syntology.ai/?focus=2107.07653","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2107.07653"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2107.07653\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2107.07653"},"call":"get_concepts_for_paper(arxiv_id=\"2107.07653\")"}],"by_repo":[{"repo":"microsoft/Table-Pretraining","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2010.11246"],"harvested_for_calls":[{"arxiv_id":"2010.11246","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2010.11246"},"call":"get_harvested_code_for_paper(arxiv_id=\"2010.11246\")"}]},{"repo":"sohanpatnaik106/cabinet_qa","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2402.01155"],"harvested_for_calls":[{"arxiv_id":"2402.01155","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2402.01155"},"call":"get_harvested_code_for_paper(arxiv_id=\"2402.01155\")"}]},{"repo":"MindCode-4/code-5","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2404.02132"],"harvested_for_calls":[{"arxiv_id":"2404.02132","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2404.02132"},"call":"get_harvested_code_for_paper(arxiv_id=\"2404.02132\")"}]},{"repo":"pwc-1/Paper-9","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["1909.13719"],"harvested_for_calls":[{"arxiv_id":"1909.13719","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1909.13719"},"call":"get_harvested_code_for_paper(arxiv_id=\"1909.13719\")"}]}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"f49c950105b064b748d6c11e13d9390608be8f12d097a89ce1895bb589db2907","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}