Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TAPAS: Weakly Supervised Table Parsing via Pre-training

About

Answering natural language questions over tables is usually seen as a semantic parsing task. To alleviate the collection cost of full logical forms, one popular approach focuses on weak supervision consisting of denotations instead of logical forms. However, training semantic parsers from weak supervision poses difficulties, and in addition, the generated logical forms are only used as an intermediate step prior to retrieving the denotation. In this paper, we present TAPAS, an approach to question answering over tables without generating logical forms. TAPAS trains from weak supervision, and predicts the denotation by selecting table cells and optionally applying a corresponding aggregation operator to such selection. TAPAS extends BERT's architecture to encode tables as input, initializes from an effective joint pre-training of text segments and tables crawled from Wikipedia, and is trained end-to-end. We experiment with three different semantic parsing datasets, and find that TAPAS outperforms or rivals semantic parsing models by improving state-of-the-art accuracy on SQA from 55.1 to 67.2 and performing on par with the state-of-the-art on WIKISQL and WIKITQ, but with a simpler model architecture. We additionally find that transfer learning, which is trivial in our setting, from WIKISQL to WIKITQ, yields 48.7 accuracy, 4.2 points above the state-of-the-art.

Jonathan Herzig, Pawe{\l} Krzysztof Nowak, Thomas M\"uller, Francesco Piccinno, Julian Martin Eisenschlos• 2020

Related benchmarks

TaskDatasetResultRank
Table Fact VerificationTabFact (test)
Accuracy81
136
Table Question AnsweringWikiTQ (test)
Accuracy48.8
130
Table Fact VerificationTabFact
Accuracy0.801
104
Table Question AnsweringWikiTableQuestions (test)
Accuracy50.4
86
Visual Question AnsweringChartQA (test)
Accuracy51.8
86
Fact VerificationTabFact
Accuracy83.9
83
Table Question AnsweringWTQ (test)
Denotation Accuracy48.8
62
Table Fact VerificationTabFact small (test)
Accuracy0.839
57
Table Question AnsweringWikiSQL (test)
Accuracy86.4
55
Table Fact VerificationTABFACT simple (test)
Accuracy92.3
39
Showing 10 of 95 rows
...

Other info

Code

Follow for update