TL;DR
The paper introduces TEAR (Table Extraction with Attribute Recommendation), a framework designed to extract structured tabular data from highly variable, unstructured "naturally occurring texts" like news reports and social media feeds. Unlike traditional approaches that rely on rigid, predefined schemas, TEAR dynamically adapts its extraction prompts using a proactive demonstration module and automatically recommends new text-driven attributes to expand the schema. This dual-workflow approach significantly improves extraction accuracy and enables exploratory data discovery in data-scarce scenarios.
What Problem Does This Paper Address?
Most existing text-to-table extraction methods focus on controlled inputs, such as explicit table descriptions (e.g., sports box-score summaries) or highly structured specialized documents (e.g., legal judgments or medical records). However, a massive portion of real-world data consists of naturally occurring texts (n-texts)—the unscripted language found in news articles, social media discourse, and customer service logs.
Extracting tables from n-texts introduces two major challenges:
- Ineffective heuristic instructions: N-texts lack stable structural templates or explicit formatting cues. Static, hand-crafted prompts fail to capture the high variability of text boundaries and task requirements.
- Inadequate heuristic schemas: Predefined schemas created by human experts cannot anticipate the open-ended, unpredictable attributes that emerge from fluid, narrative text.
The authors aim to bridge this gap by creating an extraction system that dynamically adjusts to text context and actively helps users discover hidden attributes through exploratory schema design.
Methods
TEAR addresses these challenges through a dual-workflow framework consisting of two main pipelines:
1. Table Extraction Workflow (TEW)
Instead of using static prompts, TEAR implements a Proactive Demonstration Module. It fine-tunes a lightweight surrogate model (BART-Large) to generate "fuzzy previews" (likely headers and values) for a given text. These previews are used to query a small labeled pool and dynamically retrieve the most relevant examples based on three utility metrics: header utility, value utility, and semantic utility. These examples are then injected into the LLM prompt as in-context demonstrations, helping to clarify ambiguous extraction boundaries.
2. Attribute Recommendation Workflow (ARW)
To handle exploratory schemas, TEAR introduces an automated pipeline to discover new attributes:
- Discovery Mechanism: Frames open-ended attribute discovery as a table expansion task, prompting the LLM to add new columns to the extracted table based on the text context.
- Hybrid Integration Strategy: Deduplicates generated proposals. It uses a lightweight diversity check (via the Vendi Score) to group similar proposals, then uses the LLM to perform a contextualized analysis and merge duplicates.
- Schema Coherence Score: Ranks the remaining unique candidates by calculating the conditional probability of the candidate's name given the existing schema, prioritizing attributes that naturally fit the context.
Datasets
The authors introduce two new real-world benchmarks for n-texts, manually annotated by university students to form complete, multi-record tables:
- Incidents: Gun-violence news reports where tables capture details about accidents, victims, and suspects (e.g., "Victim name", "Number of rounds fired").
- Weather: Weather forecasts across multiple countries, capturing attributes like "Wind speed" and "Weather frequency".
Additionally, they adapt an existing conversational dataset:
- Conversation (MultiWoz2.4): Multi-topic, multi-turn human dialogues used as a controlled stress test for verbosity and semantic noise.
Key Insights and Ideas
- Fuzzy Previews over Exact Extraction: Generating a perfect table end-to-end is difficult, but predicting a rough "preview" of headers and values is much easier. Using a lightweight surrogate model to generate these fuzzy previews provides excellent cues for retrieving highly relevant in-context examples.
- Framing Discovery as Table Expansion: Instead of asking an LLM to abstractly list new attributes, forcing it to expand an existing table structure grounds its understanding, leading to attributes that are faithful to the text rather than hallucinated.
- The Need for Index-Free Metrics: Traditional table extraction metrics rely on logical indices (like team names) to align rows. N-texts rarely have explicit indices. The authors introduced structured-F1, a new metric that treats a table as a set of records (header-to-value dictionaries) and resolves alignment through record matching, preserving the native semantics of the table.
Key Results
- State-of-the-Art Extraction: TEAR consistently outperformed strong baselines (including standard RAG and MapMake) across three different open-source backbones (Llama-3-8B, Qwen2.5-14B, Llama-3-70B). For instance, on the Incidents dataset using Qwen2.5-14B, TEAR achieved a structured-F1 (chrf) score of 82.0%, compared to RAG's 76.8%.
- Effective Attribute Recommendation: In attribute recommendation tasks across three exploratory levels (where 20%, 35%, or 50% of attributes were missing from the initial schema), TEAR achieved the highest recall-AUC in 48 out of 54 comparisons.
- The Interactive Boost (TEAR*): Simulating a user loop where recommended attributes are accepted and fed back into the extraction workflow (TEAR*), the system maintained stable or improved performance even as the initial schema became increasingly incomplete.
- Deduplication Efficiency: The Hybrid Integration Strategy successfully removed an average of 11% to 15% of duplicate proposals while minimizing expensive LLM calls through its breadth-first greedy scheduling.
Limitations and Future Work
- Single-Round Focus: The current attribute recommendation workflow evaluates single-round quality. In a real-world setting, users might want an iterative, multi-round feedback loop.
- Attribute Relationships: Future work could benefit from explicitly modeling the complex relationships and hierarchies among attributes discovered across multiple interactive rounds, rather than treating them as a flat list.
Summary updated