Papers › ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples

ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples

22 Oct 2022arXiv:2210.12374archive 2025-07-28

Yilun Zhao, Linyong Nan, Zhenting Qi, Rui Zhang, Dragomir Radev

Reasoning over tabular data requires both table structure understanding and a broad set of table reasoning skills. Current models with table-specific architectures and pre-training methods perform well on understanding table structures, but they still struggle with tasks that require various table reasoning skills. In this work, we develop ReasTAP to show that high-level table reasoning skills can be injected into models during pre-training without a complex table-specific architecture design. We define 7 table reasoning skills, such as numerical operation, temporal comparison, and conjunction. Each reasoning skill is associated with one example generator, which synthesizes questions over semi-structured tables according to the sampled templates. We model the table pre-training task as a sequence generation task and pre-train ReasTAP to generate precise answers to the synthetic examples. ReasTAP is evaluated on four benchmarks covering three downstream tasks including: 1) WikiSQL and WTQ for Table Question Answering; 2) TabFact for Table Fact Verification; and 3) LogicNLG for Faithful Table-to-Text Generation. Experimental results demonstrate that ReasTAP achieves new state-of-the-art performance on all benchmarks and delivers a significant improvement on low-resource setting. Our code is publicly available at https://github.com/Yale-LILY/ReasTAP.

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="2210.12374")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yale-lily/reastap officialmentioned in paperMIT report

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

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 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.

8ran
3unverified

Licence: 0 of the 11 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 Yale-LILY/ReasTAP. “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.

convert_to_float Yale-LILY/ReasTAP/utils/wikisql_utils.py official repository ran MIT (permissive) · cad927e3d44915d5 · report
prepare_sythetic_qa_data Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_pretrain_data.py official repository ran MIT (permissive) · 1c0945f96ed4ee2f · report
prepare_tapex_sql_data Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_pretrain_data.py official repository ran MIT (permissive) · a2d8a8405daff36c · report
process_cell Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_table_data.py official repository ran fingerprinted MIT (permissive) · f6d30e2b3dac8f72 · report
process_one_line Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_tapex_pretrain_data.py official repository ran MIT (permissive) · 2f1deef06584aa82 · report
process_single_table_data Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_table_data.py official repository ran MIT (permissive) · fdf0b1b48289cf6e · report
process_tapex_data Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_tapex_pretrain_data.py official repository ran MIT (permissive) · cbd5a5ec1c792d33 · report
read_json_file Yale-LILY/ReasTAP/synthetic_tableqa_generation/prepare_table_data.py official repository ran MIT (permissive) · 7c1e19fabfcb24da · report
func_compute_bleu Yale-LILY/ReasTAP/utils/logicnlg_evaluate.py official repository unverified MIT (permissive) · 05d2e21fa4a83b9c · report
get_reference Yale-LILY/ReasTAP/utils/logicnlg_evaluate.py official repository unverified MIT (permissive) · e90042e475d5b366 · report
retrieve_wikisql_query_answer_tapas Yale-LILY/ReasTAP/utils/wikisql_utils.py official repository unverified MIT (permissive) · e58fd367888694ce · report

Tasks

Fact VerificationQuestion AnsweringSemantic ParsingTable-based Fact VerificationTable-to-Text GenerationText Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semantic Parsing WikiSQL ReasTAP-Large (weak supervision) Denotation accuracy (test) 89.2 #4 of 5 Archive leaderboard report
Semantic Parsing WikiTableQuestions ReasTAP-Large Accuracy (Dev) 59.7 #16 of 22 Archive leaderboard report
Semantic Parsing WikiTableQuestions ReasTAP-Large Accuracy (Test) 58.7 #16 of 22 Archive leaderboard report
Table-based Fact Verification TabFact ReasTAP-Large Test 84.9 #7 of 15 Archive leaderboard report
Table-based Fact Verification TabFact ReasTAP-Large Val 84.6 #7 of 15 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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