Abstract
Researchers from the University of Amsterdam have introduced QFMTS, a new framework and dataset for generating query-focused summaries from multiple related tables. By breaking the task into a two-step "Reason-then-Summarize" process, they demonstrate that Large Language Models (LLMs) can handle complex relational reasoning—such as joins and counts—to produce more accurate and faithful summaries than traditional end-to-end methods.
Introduction
Most existing table summarization tools are "generic" (summarizing an entire table) or limited to a single table. However, real-world questions are rarely that simple. If you ask, "Which teachers teach the most courses?", the answer might require joining a Teacher table with a Course_Assignment table and then performing a count.
Current models often fail at this "multi-table reasoning." They struggle to integrate information across different schemas and frequently "hallucinate" facts when the logic becomes too complex. This paper tackles the challenge of Query-Focused Multi-Table Summarization (QFMTS), where the goal is to produce a concise textual answer tailored to a specific user query using data spread across multiple tables.
Methodology
The authors propose a modular pipeline consisting of three main parts:
- Table Serialization: Since LLMs process text, tables must be converted into a string format. The authors use a standard "linearization" technique that represents headers and rows using special sentinel tokens (e.g.,
col:,row 1:). - Summarization Controller: This is the "brain" of the operation. The authors compared two strategies:
- Direct Summarization (DirectSumm): An end-to-end approach where the LLM is prompted to reason and summarize in a single step.
- Reason-then-Summarize (Reason-then-Summ): A two-phase approach. In Phase 1, the LLM identifies and extracts query-relevant facts (the "reasoning" step). In Phase 2, it synthesizes those facts into a final summary.
- LLM Backbone: They tested various models, including GPT-3.5, GPT-4, and fine-tuned versions of Llama-2.
The QFMTS Dataset
To train and evaluate these models, the team created the QFMTS dataset:
- Source: Built on top of the Spider dataset (a well-known text-to-SQL benchmark).
- Scale: 4,909 query-summary pairs.
- Complexity: Approximately 67% of the examples require information from two or more tables.
- Annotation: They used GPT-3.5 to generate initial summaries from SQL execution results, followed by a rigorous human post-correction process to ensure factual accuracy and fluency.
Key Insights and Results
The biggest challenge identified is the underlying logic rather than fluency. Models often fail at the "join" operation—connecting a foreign key in one table to a primary key in another. The "Reason-then-Summarize" approach significantly outperformed direct summarization. By forcing the model to list the "facts" first, the authors reduced the cognitive load on the LLM, leading to fewer hallucinations.
Performance Metrics
- GPT-4 Leadership: Using the Reason-then-Summ method with GPT-4 yielded the best results on table-based metrics, achieving a 66.83 STR-EM (String Exact Match) and 32.37 PARENT score.
- Multi-Table Penalty: Performance drops sharply as the number of tables increases. For example, the PARENT score for the OmniTab model dropped from 37.73 on single tables to just 21.56 on multi-table queries.
- Human Evaluation: In human trials, GPT-4 (Reason-then-Summ) achieved a faithfulness score of 0.56, vastly outperforming the fine-tuned OmniTab baseline, which scored 0.19.
Conclusion and Future Work
Despite the progress, hallucinations remain a hurdle, especially when the reasoning chain is long. Future work could involve specialized prompting for specific relational operations like UNION or INTERSECT. Additionally, the authors suggest a need for more unified metrics that integrate both text fluency and data grounding, as standard NLP metrics like ROUGE-L don't always capture factual accuracy in table tasks.
Summary updated