TL;DR
Current table question answering (TableQA) benchmarks are plagued by synthetic simplicity, pretraining data leakage, and flawed surface-level evaluation metrics. To solve this, the authors introduce TableEval, a realistic benchmark built from 2024 multi-domain documents featuring complex layouts (hierarchical, concise, nested) and multilingual tables, paired with SEAT, a sub-question-level structured evaluation framework that aligns remarkably well with human judgment.
What Problem Does This Paper Address?
While Large Language Models (LLMs) excel at standard NLP benchmarks, real-world tabular data remains a major stumbling block. Existing TableQA benchmarks suffer from three main drawbacks:
- Unrealistic table layouts: Most benchmarks focus on simple, flat Wikipedia tables, ignoring the nested cells, multi-row/column spans, and hierarchical headers common in enterprise documents.
- Data leakage: Test sets often overlap heavily with the web-scraped pretraining corpora of modern LLMs, masking poor true generalization.
- Flawed evaluation metrics: Exact-match, $n$-gram, and ROUGE metrics fail on natural language answers because LLMs paraphrase, elaborate, or change answer phrasing even when factually correct.
Methods
The authors construct TableEval and introduce an automated evaluation protocol called SEAT:
- Table Extraction with Context: The authors extract 29,241 tables from PDF and HTML documents published in 2024, using heuristic sliding windows (Algorithm 1) to capture surrounding metadata and notes essential for comprehension.
- Hybrid Question Generation & Filtering: Candidate queries are generated using both Template-Prompting (targeting operational tasks like sorting and math) and Role-Prompting (simulating analysts or regulators). Queries are deduplicated via K-means clustering over BGE-M3 embeddings.
- Multi-Answer Consistency & Human Annotation: Candidate answers are cross-verified across three LLMs (GPT-4o, DeepSeek-2.5, Qwen-2.5-72B), followed by two rounds of graduate-level human review and structured JSON extraction.
- SEAT (Structured Evaluation for Answers in TableQA): Rather than grading free text with $n$-grams or subjective 1–10 scalar scores, SEAT prompts an evaluator LLM to decompose both the generated and reference answers into sub-question JSON pairs in a single pass. It marks sub-elements as
trueorfalseand computes precision, recall, and F1 scores.
[Model Output] + [Reference Answer]
│
▼
[Evaluator LLM via SEAT Prompt]
│
Decompose into Sub-questions & Match
│
▼
[Structured JSON: True/False Elements]
│
▼
Aggregated F1 Score
Datasets
- TableEval (New): Comprises 617 curated tables and 2,325 test QA pairs across 6 primary categories (Information Retrieval, Numerical Analysis, Reasoning, Data Analysis, Multi-turn Conversation, and Table Structure Understanding) and 16 fine-grained sub-tasks.
- Domains: Government data, financial reports, industry research, and academic papers.
- Languages: Tables are in Simplified Chinese (ZH-CN), Traditional Chinese (ZH-HK), and English (EN), with queries in Simplified Chinese.
- Fine-Tuning Set (New): 16,844 consistency-checked QA pairs derived from the remaining un-sampled dataset pool.
- Compared Baselines: Prior datasets analyzed include WTQ, SQA, TabFact, FinQA, TAT-QA, OTT-QA, FeTaQA, AIT-QA, IM-TQA, and TableBench.
Key Insights and Ideas
- Semantic Structure Trumps Surface Matching: SEAT achieves a Pearson correlation of $r = 0.937$ with human evaluators, completely outpacing traditional Exact Match F1 ($r = 0.178$) and ROUGE-L ($r = 0.613$), while outperforming standard scalar "LLM-as-a-judge" prompting ($r = 0.867$).
- Layout Complexity Degrades Performance: All tested models suffer a 10–15% performance drop when evaluating hierarchical or nested tables compared to simple flat tables.
- Representation Format Matters: Presenting tables in structural code formats (HTML or LaTeX) yields higher accuracy over standard Markdown (+2 percentage points overall). On structural awareness tasks like merged cell detection, GPT-4o gained 22.16% on HTML over Markdown.
- Reasoning Models Narrow the Proprietary Gap: Open-source reasoning models (DeepSeek-R1 at 82.46% F1; QwQ-32B at 78.14% F1) perform neck-and-neck with closed-source giants like Claude 3.5 Sonnet (83.32%) and o1-preview (83.43%), particularly leading in multi-hop reasoning and calculation.
Key Results
- Overall Leaderboard: o1-preview scored highest overall (83.43% F1), followed closely by Claude 3.5 Sonnet (83.32%) and DeepSeek-R1 (82.46%).
- Table Structure Understanding: Models struggled heavily with low-level structure perception (merged cells and grid dimensions). DeepSeek-R1 scored 72.05% and o1-preview reached 81.03%, while smaller baselines like Llama-3.1-8B-Instruct dropped to 15.76%.
- Fine-Tuning Small Models: Fine-tuning on 16.8k domain-specific QA pairs improved Qwen2.5-7B from 59.60% to 66.19% and Llama-3.1-8B from 49.26% to 63.83%, allowing them to outperform the much larger zero-shot GPT-4o-mini (34.56%) on structural understanding tasks (reaching 55.16% and 49.18%, respectively).
Limitations and Future Work
- Query Monolinguality: Although the underlying tabular data spans English and two Chinese scripts, all evaluation questions are framed in Simplified Chinese.
- Layout Scope: The benchmark excludes purely image-based visual tables (scanned receipts, infographs) and highly irregular non-grid layouts.
- Future Directions: Advancing explicit structure-aware encodings for LLMs, enhancing numerical computation capabilities within open-source models, and supporting cross-lingual queries.
Summary updated