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

Abstract

TAT-QA introduces a large-scale benchmark for Question Answering (QA) designed to test reasoning across hybrid tabular and textual data found in financial reports. To address this challenge, the authors propose TAGOP (TAgging and Generative OPerators), a model that integrates sequence tagging for evidence extraction with symbolic reasoning for numerical calculations. TAGOP significantly outperforms existing baselines, though a substantial performance gap remains between current AI capabilities and human expert performance in complex financial reasoning.

Introduction: The Challenge of Hybrid Financial Data

Traditional QA research often treats unstructured text and structured tables as separate domains. However, professional documents—particularly in finance—are inherently hybrid. Financial analysts must synthesize information from tables, footnotes, and surrounding commentary to derive meaningful insights.

Existing datasets often lack the "tight coupling" required for such deep integration. TAT-QA addresses this by providing a benchmark where answers frequently depend on both tabular data and textual context, requiring sophisticated numerical reasoning and an understanding of scale (e.g., millions vs. billions).

Example of a hybrid context in TAT-QA, showing how questions require reasoning across both tables and text.

Methodology: The TAGOP Model

The authors introduce TAGOP (TAgging and Generative OPerators), a two-stage architecture designed for hybrid QA.

  1. Evidence Extraction: Using a RoBERTa-based encoder, the model processes the question, flattened table, and paragraphs as a single sequence. It employs "Inside-Outside" (IO) tagging to identify relevant table cells or text spans.
  2. Symbolic Reasoning: Extracted evidence is passed to an Operator Classifier, which selects from ten operations, including direct extraction (e.g., Span-in-text, Cell-in-table) and arithmetic functions (e.g., Sum, Division, Change ratio).

Additionally, TAGOP features a dedicated Scale Predictor to handle financial shorthand, ensuring that numerical answers are correctly scaled (e.g., identifying "38.1" as "38.1 billion").

The TAGOP architecture, illustrating the pipeline from evidence extraction via sequence tagging to symbolic reasoning via operator classification.

The TAT-QA Dataset

The TAT-QA benchmark consists of 16,552 question-answer pairs derived from 182 real-world financial reports. Each context includes at least one table and at least two associated paragraphs. Questions are categorized by the reasoning required, with "Word Matching" (direct extraction) and "Composition" (multi-step math) being the most common types. Unlike previous datasets based on Wikipedia, TAT-QA focuses on the dense, professional numerical reasoning found in the financial sector.

Results and Key Insights

TAGOP achieved a state-of-the-art 58.0% F1 score and an Exact Match (EM) of 50.1% on the test set, representing an 11.1% improvement over previous baselines. For comparison, text-focused models like NumNet+ V2 (46.9% F1) and table-focused models like TaPas (22.8% F1) struggle with the hybrid nature of the task.

Key insights from the research include:

  • Retrieval is the Bottleneck: Error analysis revealed that 84% of errors were caused by the model failing to extract the correct supporting evidence. If the model selects the wrong numbers, the subsequent math is inevitably incorrect.
  • Table vs. Text Bias: TAGOP performs significantly better on table-reliant questions (58.3% F1) than text-reliant ones (43.3% F1), suggesting that structured table cells are easier for current tagging models to navigate than fluid prose.
  • The Human-AI Gap: While TAGOP is a significant step forward, human experts achieve 90.8% F1, highlighting the benchmark's difficulty and the long road ahead for AI in professional financial analysis.

Conclusion and Future Directions

TAT-QA reveals that robust cross-modal retrieval and alignment between text and tabular data are critical for future progress. Furthermore, models may need to incorporate external financial knowledge bases to handle implicit formulas (e.g., "gross profit margin") that are not always explicitly defined in the text. As models evolve, TAT-QA will serve as a rigorous testbed for bridging the gap between automated systems and human financial expertise.

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