TL;DR
This paper introduces QFMTS, a new task and dataset for generating query-focused summaries that span multiple relational tables. The authors propose a "Reason-then-Summarize" framework that leverages Large Language Models (LLMs) to first extract query-relevant facts across tables before synthesizing them into a coherent summary, significantly outperforming end-to-end approaches in complex reasoning scenarios.
What Problem Does This Paper Address?
While table summarization isn't new, most existing research treats tables as isolated islands. In reality, data is often relational; answering a simple question like "Which teacher teaches the most courses?" might require joining a Teacher table with a Course Arrange table and performing arithmetic operations.
Traditional methods struggle with this because they typically focus on single-table inputs and produce generic summaries that ignore specific user information needs. The authors identify a significant gap: we lack both the methodologies and the benchmark datasets to handle query-focused multi-table summarization. This task requires a model to not only understand natural language queries but also perform cross-table reasoning (joins, unions) and arithmetic (counting, averaging) to produce a faithful textual summary.
Methods
The authors propose a framework consisting of three main parts:
- Table Serialization: Since LLMs process text, tables are "linearized" into a sequential format using special tokens (e.g.,
<table_name>,col:,row:) to preserve structure. - Summarization Controller: This is the core logic unit. The authors compared two strategies:
- Direct Summarization (DirectSumm): An end-to-end approach where the LLM is prompted to reason and summarize in one go.
- Reason-then-Summarize (Reason-then-Summ): A two-phase approach. Phase 1 forces the LLM to identify and extract specific query-relevant facts (entities and numbers) from the tables. Phase 2 then prompts the LLM to synthesize these extracted facts into the final summary.
- LLM Backbone: They tested various models, including fine-tuned encoder-decoder models (BART, TAPEX, MultiTab) and prompting-based LLMs (Llama-2, GPT-3.5, GPT-4).
Datasets
The authors introduced the QFMTS dataset, the first of its kind.
- Source: Built on top of the Spider dataset (a popular text-to-SQL benchmark).
- Scale: 4,909 query-summary pairs.
- Complexity: Unlike previous datasets that are 100% single-table, over 67% of QFMTS examples involve at least two tables, requiring operations like joins and unions.
- Annotation: They used a "silver-standard" approach where an LLM (GPT-3.5) generated initial summaries based on SQL execution results, followed by a rigorous human post-correction phase to ensure faithfulness and fluency.
Key Insights and Ideas
- Decoupling Reasoning from Writing: The "Reason-then-Summarize" approach consistently beat "Direct Summarization." By forcing the model to explicitly list facts first, the researchers reduced the cognitive load on the LLM, leading to fewer hallucinations and better coverage of query-relevant data.
- The Multi-Table Penalty: Performance drops significantly as the number of tables increases. For example, the PARENT score (a metric for table-to-text fidelity) for the OmniTab-FT model dropped by nearly 16 points when moving from single-table to multi-table scenarios.
- Metric Mismatch: There is a notable divergence between text-based metrics (like BLEU/ROUGE) and table-based metrics (like PARENT/STR-EM). Fine-tuned smaller models often score high on BLEU because they mimic the style of the training data, but human evaluation and table-based metrics reveal that larger LLMs (like GPT-4) are far superior at the actual reasoning required to get the facts right.
Key Results
- GPT-4 is the Reasoning King: Using the Reason-then-Summ strategy with GPT-4 achieved the highest table-based scores (STR-EM: 66.83, PARENT: 32.37), nearly doubling the performance of smaller fine-tuned models like BART-base on these metrics.
- Fine-tuning vs. Prompting: While fine-tuned Llama-2-7B achieved the best ROUGE-L scores (71.82), it lagged behind GPT-4 in human-rated faithfulness. This suggests that for complex data tasks, reasoning capability is more important than stylistic alignment.
- Human Evaluation: In human trials, Reason-then-Summ with GPT-4 achieved a faithfulness score of 0.56, significantly higher than the fine-tuned OmniTab-FT (0.19), confirming that the two-stage approach is much more reliable for data-heavy summaries.
Limitations and Future Work
The authors acknowledge that even with GPT-4, complex operations like INTERSECT or deeply nested joins remain challenging. The current serialization method (linearization) might also be suboptimal for very large databases that exceed token limits.
Future work includes developing specialized prompting strategies for specific relational operations and creating unified evaluation metrics that better capture the balance between linguistic fluency and data accuracy. The authors also suggest exploring how to handle scenarios where the relevant data exceeds the context window of the LLM.
Summary updated