TL;DR
StructText is an end-to-end framework that automates the creation of high-fidelity benchmarks for text-to-table extraction by synthetically converting existing tabular data into natural language narratives. By evaluating this pipeline across tens of thousands of examples, the authors reveal a critical paradox: while modern LLMs excel at generating factually accurate text, they embed data within complex linguistic structures that make downstream automated extraction surprisingly difficult.
What Problem Does This Paper Address?
In enterprise settings, converting unstructured text into structured tables (text-to-table extraction) is incredibly valuable. It allows organizations to leverage mature database technologies, enabling precise indexing and efficient querying via SQL rather than relying solely on semantic vector search.
However, developing and evaluating text-to-table systems is bottlenecked by a lack of diverse, domain-spanning benchmarks. Existing datasets (like WebNLG or ToTTo) are typically confined to narrow domains like Wikipedia and focus primarily on surface-level text overlap. They fail to test schema coverage or numerical and temporal fidelity, which are critical in highly regulated sectors like finance, legal, and healthcare. Furthermore, creating these benchmarks manually is labor-intensive and unscalable.
Methods
The authors introduce StructText, a framework that exploits an inherent asymmetry in LLM capabilities: it is significantly easier for an LLM to generate fluent text from structured data than it is to extract structured data back out of text.
StructText uses a two-stage "plan-then-execute" pipeline to turn tables into text:
- Planning Stage: The LLM analyzes sample rows from an input table to autonomously identify semantic relationships and group columns into logical "report types" (e.g., grouping revenue and net income into a "Financial Performance" report), rather than just blindly enumerating columns.
- Generation Stage: The model uses these structured plans to generate coherent, natural language narratives grounded strictly in the source data to minimize hallucinations.
To ensure the generated text is high quality, the authors implement a Multi-Dimensional Quality Assessment Framework:
- LLM-as-a-Judge: Uses a 5-point rubric to evaluate factuality, hallucination detection, and narrative coherence.
- Objective Parsers: Uses Stanford CoreNLP and SUTime to rigorously check that the exact numerical values and temporal expressions from the source table are preserved in the text.
Finally, a Quality Filtering step prunes any synthetic text that falls below a specified accuracy threshold before it is added to the final benchmark dataset.
Datasets
The framework was evaluated on 71,539 examples across 49 datasets spanning two primary sources:
- SEC Financial Filings: Real-world financial data programmatically extracted from SEC 10-K and 10-Q filings via the official API, focusing on universally used US-GAAP taxonomy concepts.
- WikiDBs: A large-scale dataset derived from Wikidata, curated to resemble tabular data across diverse topics like geographic data, cultural indicators, and product information.
Key Insights and Ideas
- The Accessibility Gap: There is a distinct difference between text being accurate and text being machine-processability friendly. LLMs successfully transfer numbers and dates into prose with near-perfect fidelity, but they weave them into complex narrative structures that obscure semantic relations and attributions.
- Coherence is the Bottleneck: While LLMs achieve near-ceiling scores for avoiding hallucinations and maintaining factual discipline, they struggle significantly with narrative coherence when forced to include strict, multi-dimensional structured data.
- Evaluation Asymmetry: Traditional text-generation metrics (like BLEU or ROUGE) are insufficient for data-to-text workflows. Hybrid approaches combining LLM judges with deterministic rule-based parsers are necessary to capture numerical and temporal alignment accurately.
Key Results
The authors evaluated text generation using Qwen2.5-72B-Instruct and the evaluation framework using Llama-3.3-70B-Instruct.
- High Factual Fidelity: The generated text achieved exceptionally high marks from the LLM judge for factuality (4.58 for SEC, 4.56 for WikiDB) and hallucination avoidance (4.90 for SEC, 4.55 for WikiDB) on a 5-point scale.
- Strong Value Preservation: Objective validation confirmed that numeric and temporal data were preserved with F1-scores exceeding 0.91 across both datasets.
- The Extraction Challenge: When a baseline text-to-table model attempted to extract the data back out of the generated text, performance plummeted. Value extraction precision dropped to 0.257 for SEC data and 0.179 for WikiDB tables, proving that the generated benchmarks provide a healthy amount of "headroom" and challenge for future information-extraction models.
Limitations and Future Work
While StructText provides a robust baseline, the authors note several areas for improvement:
- Baseline Extractor Limitations: The baseline text-to-table extraction system struggles with semantic paraphrasing and distributed information, leaving substantial room for algorithmic improvements.
- Parser Simplifications: The numeric-temporal pipeline is a "first-pass" solution. Future iterations need better context-aware normalization and multi-scale temporal reasoning (e.g., reconciling quarters, fiscal years, and relative dates).
- Model Scope: The quantitative study was limited to a specific pair of open-weights models (Qwen and Llama). Future work will focus on benchmarking a wider spectrum of model architectures and sizes.
Summary updated