FeTaQA: Free-form Table Question Answering

Linyong Nan, Chiachun Hsieh, Ziming Mao, Xi Victoria Lin, Neha Verma, Rui Zhang, Wojciech Kryscinski, Hailey Schoelkopf, Riley Kong, Xiangru Tang, Mutethia Mutuma, Ben Rosand, Isabel Trindade, Renusree Bandaru, Jacob Cunningham, Caiming Xiong, Dragomir R. Radev

Abstract

FeTaQA introduces a new benchmark for Table Question Answering (TableQA) that moves beyond simple fact-retrieval to "free-form" answer generation. By providing a dataset of 10,000 Wikipedia-based pairs, the researchers challenge AI to not only find the right data in a table but to reason across multiple cells and synthesize a coherent, natural language explanation.

The Challenge of Free-form TableQA

Most existing TableQA datasets, such as WikiTableQuestions or Spider, treat tables as structured databases where the goal is to retrieve a single entity or number—essentially acting as a natural language interface for a SQL query. While useful, this paradigm does not fully reflect human data interaction.

In real-world scenarios, users often ask "how" or "why" questions that require integrating multiple pieces of information. For instance, instead of asking "Who won the 1940 election?", a user might ask "How close was the election between Candidate A and Candidate B?" Answering the latter requires retrieving multiple values, performing a comparison or calculation, and framing the result in a fluent sentence. FeTaQA addresses the lack of datasets that evaluate this high-level reasoning and the ability to generate faithful text from structured data.

Examples of free-form table question answering in the FeTaQA dataset, showing questions that require synthesizing multiple data points.

Methods and Architectures

The authors evaluate two primary modeling architectures to tackle the FeTaQA challenge:

  1. The Pipeline Model: This approach decomposes the task into two steps. First, a Table Semantic Parser (using a fine-tuned TAPAS model) identifies relevant cells (denotations). Second, a Data-to-Text Model (a fine-tuned T5) translates these cells into a natural language answer.
  2. The End-to-End Model: This approach treats the problem as a pure Sequence-to-Sequence (Seq2Seq) task. The table is "linearized" into a text string with special separators, prepended with the question, and fed into a large pre-trained transformer (T5). The model learns both retrieval and generation simultaneously.
Comparison of Pipeline (supervised and weakly supervised) and End-to-End architectures for TableQA.

The FeTaQA Dataset

The core contribution is the FeTaQA dataset, consisting of 10,330 unique {table, question, answer, supporting cells} pairs derived from the ToTTo table-to-text dataset. Human annotators wrote questions that would naturally elicit existing table descriptions as answers. Notably, FeTaQA answers average 18.9 words in length, significantly more complex than the 1.2 to 3.2-word averages in traditional benchmarks.

Key Insights

  • Retrieval as a Bottleneck: In the pipeline model, the semantic parser struggled to identify all necessary cells. While humans identified a median of 6 supporting cells, the automated parser often found only two or three.
  • End-to-End Superiority: Surprisingly, the end-to-end T5 model significantly outperformed the pipeline approach. This suggests that large language models are better at "latent reasoning"—connecting data points internally—than following a rigid "find then tell" workflow.
  • Text Planning: Generating answers involves "surface realization," where the model must decide the information order and use correct linguistic connectors to remain faithful to the table.

Results and Performance Gap

The researchers employed automated metrics (sacreBLEU, ROUGE, METEOR) and human evaluation to assess model performance:

  • Top Performer: The End-to-End T5-Large model achieved a sacreBLEU score of 30.54.
  • The Human-AI Gap: Human evaluation revealed a significant performance gap. While T5-Large was judged "correct" 54.8% of the time, human-written reference answers were correct 92.4% of the time.
  • Faithfulness vs. Fluency: Models were fluent but struggled with "faithfulness," often hallucinating or missing key data points from the table.

Limitations and Future Directions

Current models face challenges with large tables, as linearization does not scale well. Additionally, complex aggregations (like calculating averages) and grounding—avoiding hallucinations—remain critical hurdles for production-ready TableQA systems. Future work will need to address more efficient table processing and improved factual grounding.

Summary updated

BibTeX
@article{nan2022fetaqa,
  author = {Linyong Nan and Chiachun Hsieh and Ziming Mao and Xi Victoria Lin and Neha Verma and Rui Zhang and Wojciech Kryscinski and Hailey Schoelkopf and Riley Kong and Xiangru Tang and Mutethia Mutuma and Ben Rosand and Isabel Trindade and Renusree Bandaru and Jacob Cunningham and Caiming Xiong and Dragomir R. Radev},
  title = {{FeTaQA: Free-form Table Question Answering}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2022},
  doi = {10.1162/tacl\_a\_00446},
}
Figure