QTSumm: Query-Focused Summarization over Tabular Data

Yilun Zhao, Zhenting Qi, Linyong Nan, Boyu Mi, Yixin Liu, Weijin Zou, Simeng Han, Ruizhe Chen, Xiangru Tang, Yumo Xu, Dragomir Radev, Arman Cohan

Abstract

Extracting cohesive narratives from tabular data remains a significant challenge for AI. While existing table-to-text tasks focus on row description or generic summaries, real-world users often require analytical answers to specific queries. This paper introduces QTSUMM, a large-scale benchmark for query-focused summarization over tabular data, and REFACTOR, a framework that enhances model performance by explicitly retrieving and reasoning over table facts. Our results demonstrate that providing models with explicit intermediate facts significantly reduces hallucinations and improves the faithfulness of generated summaries.

Introduction

Tables are ubiquitous in data analysis, yet current AI models struggle to synthesize their contents into fluent, query-specific narratives. Existing benchmarks like ToTTo or RotoWire focus on narrow tasks—either describing single rows or providing broad overviews. However, practical applications demand "human-like reasoning" to answer complex questions such as identifying winners by specific margins or comparing multi-row statistics. We identify a critical gap in "implicit reasoning" where models fail to transform raw numerical data into tailored insights.

Example of query-focused table summarization in the QTSUMM benchmark.

Methods

To address these challenges, we propose a two-pronged approach: a new benchmark and a novel reasoning framework.

1. QTSUMM Benchmark

We present a dataset comprising 7,111 human-annotated query-summary pairs across nearly 3,000 Wikipedia tables. These summaries are significantly longer (averaging 68 words) and more analytical than those in previous datasets like FeTaQA. The tables are sourced from LogicNLG and ToTTo, ensuring structural soundness.

2. REFACTOR (Retrieve and Reason over Facts)

Instead of generating a summary directly from raw table data, the REFACTOR framework decomposes the process into three distinct stages:

  • Fact Generation: Candidate facts (e.g., "The difference between X and Y is Z") are generated using templates.
  • Fact Ranking: A specialized encoder selects the facts most relevant to the user's query.
  • Augmented Input: These explicit facts are concatenated with the original query and table data to guide the generation model (e.g., BART, T5, or LLMs).
The REFACTOR framework: Fact generation and ranking provide explicit reasoning paths to improve summary faithfulness.

Key Insights and Reasoning Types

Analysis of the QTSUMM benchmark reveals that table structure is vital; models pre-trained on grid layouts (like TAPEX or OmniTab) significantly outperform general text models. Furthermore, we identify six critical reasoning operations required for effective summarization: Conjunction, Counting, Ordering, Comparison, Numerical Operations (Sum/Avg), and Differences.

Results

The REFACTOR framework consistently improved the A3CU content accuracy metric across various models. For instance, it boosted the OmniTab model from 53.1 to 54.0. While GPT-4 emerged as the strongest zero-shot performer (57.5 A3CU), it still benefited from REFACTOR augmentation in specific settings. Human evaluations confirmed that summaries generated with REFACTOR are more faithful and comprehensive than those produced by baseline models.

Conclusion and Future Work

QTSUMM and REFACTOR represent a significant step toward more analytical table-to-text systems. Future research should address context window limitations through table pruning and explore more flexible fact-generation methods beyond predefined templates. Additionally, decomposing multi-part queries via Chain-of-Thought or external tool-use remains a promising avenue for further improvement.

Summary updated

BibTeX
@inproceedings{zhao2023qtsumm,
  author = {Yilun Zhao and Zhenting Qi and Linyong Nan and Boyu Mi and Yixin Liu and Weijin Zou and Simeng Han and Ruizhe Chen and Xiangru Tang and Yumo Xu and Dragomir Radev and Arman Cohan},
  title = {{QTSumm: Query-Focused Summarization over Tabular Data}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.74},
}
Figure