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

Yilun Zhao, Linyong Nan, Zhenting Qi, Rui Zhang, Dragomir Radev
10/22/2022
cs.CL

Official code: Yale-LILY/ReasTAP (15 stars, Python, MIT, last commit 2023-06-04).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Yale-LILY/ReasTAPOfficial100%
MIT

Data and Code for EMNLP 2022 paper "ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples"

150Python, ShellOct 21, 20223 years agoMIT

Similar Papers

Cite this paper

@article{zhao2022reastap,
  title  = {ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples},
  author = {Yilun Zhao and Linyong Nan and Zhenting Qi and Rui Zhang and Dragomir Radev},
  year   = {2022},
  eprint = {2210.12374},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12374}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.12374.svg)](https://codeofpaper.com/paper/2210.12374)

Discussion