TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Finance

Fengbin Zhu, Wenqiang Lei, Youcheng Huang, Chao Wang, Shuo Zhang, Jiancheng Lv, Fuli Feng, Tat-Seng Chua

Introduction

In the financial domain, critical information is rarely confined to a single format. Analysts must routinely synthesize data from semi-structured tables and unstructured text within complex financial reports. While existing Question Answering (QA) benchmarks have focused on either text (e.g., SQuAD) or tables (e.g., WikiTableQuestions) in isolation, they fail to capture the "hybrid" nature of real-world financial analysis. To bridge this gap, researchers from the National University of Singapore and Bloomberg have introduced TAT-QA (Tabular And Textual dataset for Question Answering), a benchmark designed to test a model's ability to reason across both data types simultaneously.

Examples of questions and reasoning types in the TAT-QA dataset, requiring integration of tabular data and textual context.

The TAT-QA Benchmark

The TAT-QA dataset consists of 16,552 question-answer pairs derived from 182 real-world financial reports. Each question is associated with a "hybrid context" comprising a table and at least two relevant paragraphs. The dataset is uniquely challenging because it requires deep integration: over 42% of the questions necessitate arithmetic reasoning, such as calculating percentage changes or aggregating values across different sections of a report.

A primary difficulty in financial QA is the concept of "scale." Financial tables often omit units for brevity (e.g., listing a value as "10" in a table where the header specifies "in millions"). A model must not only find the correct digits but also correctly identify the magnitude—thousands, millions, or billions—to provide a correct answer.

The TAGOP Model

To address these challenges, the authors propose TAGOP (TAGging and OPerators), a novel architecture that combines neural sequence tagging with symbolic reasoning. Unlike end-to-end neural models that attempt to "guess" mathematical results, TAGOP uses a structured three-stage pipeline:

  1. Sequence Tagging: Utilizing a RoBERTa-based encoder, the model flattens the table and concatenates it with the text. It then applies "Inside-Outside" (IO) tagging to identify relevant table cells and text spans.
  2. Operator Classification: The model predicts which symbolic operator to apply from a set of 10 predefined functions, including Sum, Count, Average, Difference, Division, and Change Ratio.
  3. Scale Prediction: A dedicated multi-class classifier determines the magnitude of the numerical answer (None, Thousand, Million, Billion, or Percent).
The TAGOP architecture, combining neural sequence tagging with symbolic operator classification for numerical reasoning.

By executing the predicted symbolic operator on the extracted evidence and applying the predicted scale, the model generates a final, human-readable answer.

Results and Analysis

TAGOP achieved a state-of-the-art 58.0% F1 score on the TAT-QA test set, significantly outperforming existing baselines like NumNet+ V2 (46.9% F1) and TaPas (22.8% F1). The results demonstrate that explicit modeling of scale and the use of symbolic operators are superior to pure neural arithmetic for financial data.

However, a significant "human gap" remains. Human experts score 90.8% F1 on the same dataset, outperforming TAGOP by over 32%. Error analysis reveals that 55% of the model's failures stem from "Evidence Extraction"—tagging the wrong cells or text spans. If the initial data points are incorrect, the subsequent mathematical operations cannot produce the right answer. Furthermore, many questions require implicit domain knowledge (e.g., the formula for "gross profit margin") that is not explicitly stated in the provided text.

Conclusion

TAT-QA serves as a rigorous new benchmark for the QA community, highlighting the limitations of current models in handling hybrid, numerically-dense data. While TAGOP represents a significant step forward by integrating symbolic reasoning, future work must focus on improving evidence extraction accuracy and incorporating financial domain knowledge to close the gap with human experts.

Summary updated

BibTeX
@inproceedings{zhu2021tat,
  author = {Fengbin Zhu and Wenqiang Lei and Youcheng Huang and Chao Wang and Shuo Zhang and Jiancheng Lv and Fuli Feng and Tat-Seng Chua},
  title = {{TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Finance}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.254},
}
Figure