Skip to main content
QUICK REVIEW

[Paper Review] HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generation

Zhoujun Cheng, Haoyu Dong|arXiv (Cornell University)|Aug 15, 2021
Advanced Text Analysis TechniquesComputer Science11 citations
TL;DR

HiTab introduces a large-scale, cross-domain dataset of hierarchical tables from statistical reports and Wikipedia, designed for question answering (QA) and natural language generation (NLG). It features fine-grained entity and quantity alignment annotations, a hierarchy-aware logical form, and partially supervised training, significantly improving QA accuracy to 45.1% and reducing spurious predictions and meaningless NLG outputs.

ABSTRACT

Tables are often created with hierarchies, but existing works on table reasoning mainly focus on flat tables and neglect hierarchical tables. Hierarchical tables challenge existing methods by hierarchical indexing, as well as implicit relationships of calculation and semantics. This work presents HiTab, a free and open dataset to study question answering (QA) and natural language generation (NLG) over hierarchical tables. HiTab is a cross-domain dataset constructed from a wealth of statistical reports (analyses) and Wikipedia pages, and has unique characteristics: (1) nearly all tables are hierarchical, and (2) both target sentences for NLG and questions for QA are revised from original, meaningful, and diverse descriptive sentences authored by analysts and professions of reports. (3) to reveal complex numerical reasoning in statistical analyses, we provide fine-grained annotations of entity and quantity alignment. HiTab provides 10,686 QA pairs and descriptive sentences with well-annotated quantity and entity alignment on 3,597 tables with broad coverage of table hierarchies and numerical reasoning types. Targeting hierarchical structure, we devise a novel hierarchy-aware logical form for symbolic reasoning over tables, which shows high effectiveness. Targeting complex numerical reasoning, we propose partially supervised training given annotations of entity and quantity alignment, which helps models to largely reduce spurious predictions in the QA task. In the NLG task, we find that entity and quantity alignment also helps NLG models to generate better results in a conditional generation setting. Experiment results of state-of-the-art baselines suggest that this dataset presents a strong challenge and a valuable benchmark for future research.

Motivation & Objective

  • To address the lack of benchmark datasets for question answering and natural language generation over hierarchical tables, which are prevalent in statistical reports and research papers.
  • To create a realistic, diverse, and high-quality dataset by extracting and revising real sentences from expert-authored reports, rather than relying on synthetic or manually generated questions.
  • To improve table reasoning by introducing fine-grained annotations of entity and quantity alignment between natural language text and table cells.
  • To develop a hierarchy-aware logical form and partially supervised training strategy that reduce spurious predictions in QA and improve factual consistency in NLG.
  • To establish a challenging benchmark that reflects real-world complexity in numerical reasoning, hierarchical indexing, and implicit semantic relationships in tables.

Proposed method

  • Construct HiTab by extracting hierarchical tables and their accompanying descriptive sentences from public sources: Statistics Canada (StatCan), National Science Foundation (NSF), and Wikipedia (via ToTTo dataset).
  • Revise real analyst-authored sentences into QA pairs instead of asking annotators to generate questions from scratch, ensuring naturalness and domain relevance.
  • Introduce fine-grained annotations for entity alignment (linking mentions in text to table cells) and quantity alignment (linking numerical expressions to table cells and their computational relationships).
  • Design a hierarchy-aware logical form for symbolic reasoning that supports multi-level, bi-dimensional indexing of table cells using top and left headers.
  • Implement partially supervised training using aligned entities and quantities to guide models, reducing spurious predictions in QA and improving factual consistency in NLG.
  • Condition NLG generation on both aligned cells and calculation types (e.g., total, proportion), enabling more meaningful and contextually accurate text generation.

Experimental results

Research questions

  • RQ1Can a dataset constructed from real expert-authored sentences in statistical reports serve as a more natural and diverse benchmark for hierarchical table QA and NLG compared to synthetic or manually created data?
  • RQ2To what extent do fine-grained entity and quantity alignment annotations improve the performance and factual consistency of QA and NLG models on hierarchical tables?
  • RQ3How does the depth of table hierarchy affect the difficulty of QA and NLG, and can models generalize across different hierarchical depths?
  • RQ4Can a hierarchy-aware logical form and partially supervised training significantly reduce spurious predictions in QA and meaningless outputs in NLG?
  • RQ5How does cross-domain generalization affect model performance on hierarchical table reasoning tasks?

Key findings

  • HiTab presents a strong challenge to existing baselines, with MAPO achieving only 29.2% accuracy on QA when using a flat-table-optimized logical form.
  • The proposed hierarchy-aware logical form combined with partially supervised training improves QA accuracy to 45.1%, significantly reducing spurious predictions.
  • BLEU and PARENT scores decrease with increasing hierarchical depth—21.3 and 31.6 at depth 4+—indicating that deeper hierarchies pose greater challenges for NLG models.
  • T5 fine-tuned with cell and calculation type conditioning achieves 16.9 BLEU and 28.8 PARENT, outperforming BART and showing the benefit of structured conditioning.
  • Cross-domain evaluation shows consistent performance drops across all metrics, highlighting the challenge of generalization across domains.
  • The dataset is ethically collected from public reports with no privacy concerns, and includes 3,597 tables and 10,672 annotated sentences after rigorous human annotation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.