Abstract
While Large Language Models (LLMs) excel at summarizing text into prose, transforming unstructured data into a structured table remains a significant challenge. Researchers at Georgia Tech have developed gTBLS (Generative Tables), a two-stage framework that transforms unstructured text into syntactically valid tables. By first defining the table's structure (headers) and then filling the cells through conditional question answering, gTBLS achieves up to a 20% improvement in BERTScore over previous state-of-the-art methods while virtually eliminating structural errors.
Introduction: The Challenge of Structured Summarization
The primary hurdle in automated table generation is syntactic validity. A table is not merely a list; it is a grid where every row must have a consistent number of columns, and every cell must align with its respective headers. Previous "end-to-end" approaches attempted to generate the entire table string in a single pass. However, these models often lose coherence mid-generation, resulting in tables with missing cells or misaligned data. Other methods attempted to address this by introducing complex, custom parameters to the Transformer architecture. The authors of gTBLS argue for a simpler, more robust path: treating table generation as a two-step logical process rather than a single translation task.
Methods: A Two-Stage Framework
The gTBLS framework decomposes the problem into two distinct stages:
- Table Construction Stage: The model (a fine-tuned Flan-T5-base) reads the input text and generates a sequence of row and column headers. This creates the "skeleton" of the table. Because the structure is defined upfront, the model knows exactly how many "slots" need to be filled.
- Table Content Generation Stage: Instead of predicting the next token in a vacuum, the system formulates a specific natural language question for every empty cell. For example, if the row header is "Suns" and the column header is "Wins," the model asks: "How many wins for Suns?"
The authors experimented with two ways to answer these questions:
- Fine-tuned: Training a smaller model (Flan-T5-base) specifically to answer these table-based questions.
- Zero-shot: Using larger, off-the-shelf instruction-tuned models (like Flan-T5-XXL) to answer the questions without any additional training.
Datasets
The researchers evaluated gTBLS on four diverse benchmarks:
- E2E: Restaurant descriptions (e.g., name, food type, price range).
- WikiTableText: Summaries of various Wikipedia topics.
- WikiBio: Biographical information (e.g., birth date, debut team).
- RotoWire: The most challenging of the set, consisting of long-form NBA game reports that require extracting complex numerical statistics for multiple players and teams.
Key Results
The gTBLS method set a new State-of-the-Art (SoTA) across several metrics:
- Content Accuracy: On the table content generation task, gTBLS showed a relative improvement of up to 20% in BERTScore across the E2E, WikiTableText, WikiBio, and RotoWire datasets.
- Header Generation: The model achieved parity or outperformed previous SoTA models in identifying the correct headers, with a 10.6% improvement in BERTScore on the WikiTableText dataset.
- Reliability: On the RotoWire Player dataset—where standard models failed to produce valid table structures over 50% of the time—gTBLS maintained a 0% error rate in syntactic validity.
Key Insights and Ideas
- Explicit vs. Implicit Relationships: Standard models try to learn the relationship between a header and a cell implicitly through attention weights. gTBLS makes this relationship explicit through natural language questions. This "hand-holding" helps the model focus on the exact piece of information needed for a specific cell.
- Structure as a Constraint: By separating construction from content, gTBLS guarantees that the resulting table is a perfect grid. In their tests, gTBLS reduced structural error rates by up to 57% compared to sequence-to-sequence baselines.
- Zero-Shot Viability: One of the most promising findings is that larger LLMs are quite good at the "content generation" phase in a zero-shot setting, especially for numerical data like sports stats. This suggests that for many applications, you might only need to train the (much smaller) "header generator" and let a general-purpose LLM handle the rest.
Limitations and Future Work
Despite its success, gTBLS has a few areas for improvement. The model is limited by the maximum input length of the underlying LLM; if the source text is extremely long, information at the end might be truncated. It also struggles with more complex layouts, such as cells that span multiple rows or columns (merged cells). Finally, since it is a two-stage process, if the first stage fails to identify a necessary header, the second stage has no way to recover that information. Future work could involve a feedback loop to rectify erroneous headers in the first stage.
Summary updated