Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction

Zheye Deng, Chunkit Chan, Weiqi Wang, Yuxi Sun, Tianshi Zheng, Yauwai Yim, Yangqiu Song

Abstract

While Large Language Models (LLMs) excel at local text transformations, they frequently struggle with "information integration"—the synthesis of scattered facts into a cohesive structured summary. This paper addresses this limitation by introducing LIVESUM, a challenging benchmark based on long-form football commentaries, and $T^3$ (Text-Tuple-Table), a modular pipeline designed to handle complex data aggregation. By decomposing the task into extraction, code-based integration, and formatting, $T^3$ bypasses the reasoning bottlenecks of standard autoregressive models.

The Information Integration Challenge

Current text-to-table benchmarks often focus on "copy-paste" tasks where there is a direct correspondence between a sentence and a table row. However, real-world scenarios like sports reporting require models to identify events across thousands of words, categorize them, and perform arithmetic aggregation. Standard LLMs often fail here, exhibiting high error rates due to hallucinations and an inability to maintain a running tally over long contexts.

The $T^3$ Pipeline: Text-to-Tuple-to-Table

To solve the integration problem, the authors propose the $T^3$ pipeline. This approach moves away from single-pass table generation in favor of a three-step modular process:

  1. Text-to-Tuple (Extraction): The LLM acts as a high-recall extractor, identifying every relevant event (e.g., goals, shots, fouls) and representing them as raw tuples.
  2. Information Integration (Aggregation): Instead of counting in-context, the LLM generates a Python script. This script programmatically consolidates the tuples, ensuring deterministic accuracy for counting and sorting.
  3. Tuple-to-Table (Formatting): The aggregated data is fed back into the LLM to be formatted into the final structured output.
The $T^3$ pipeline introduces an intermediate tuple extraction and code-based integration step to improve accuracy over traditional direct generation.

LIVESUM: A Benchmark for Synthesis

The researchers introduced LIVESUM, a dataset of 3,771 pairs of long-form football commentaries (averaging 1,256 words) and manually annotated summary tables. Unlike previous datasets, LIVESUM requires tracking eight distinct event types across the entire match duration, making it a rigorous test of a model's ability to synthesize information without losing track of the global context.

Results and the "Arithmetic Gap"

Experiments reveal a significant "Arithmetic Gap" in state-of-the-art models. Even GPT-4 and Claude 3 Opus show error rates near 50% when using standard prompting on LIVESUM. The $T^3$ pipeline provides a dramatic performance boost by offloading the reasoning to code.

Comparison of Root Mean Squared Error (RMSE) and Error Rates across various models. The $T^3$ pipeline significantly reduces errors, especially for top-tier models like Claude 3 Opus and GPT-4.

Key findings include:

  • Massive Error Reduction: $T^3$ reduced GPT-4’s error rate from 46.32% to 25.27%.
  • Claude 3 Opus Excellence: Claude 3 Opus achieved the most significant gains, with its error rate dropping from 48.33% to 14.04% using the $T^3$ method.
  • Code as Reasoning: The results confirm that LLMs are far more reliable at writing counting algorithms than at performing the counting themselves.

Conclusion and Future Directions

The $T^3$ pipeline demonstrates that modularizing the text-to-table task and leveraging code for deterministic logic is a superior strategy for complex information integration. While the approach is limited by the initial extraction recall and higher latency, it sets a new standard for structured summarization of long-form content. Future work will focus on improving extraction recall and exploring more lossless ways to transition from raw tuples to final tables.

Summary updated

BibTeX
@inproceedings{deng2024text,
  author = {Zheye Deng and Chunkit Chan and Weiqi Wang and Yuxi Sun and Wei Fan and Tianshi Zheng and Yauwai Yim and Yangqiu Song},
  title = {{Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.523},
}
Figure