Abstract
Evaluating tables qualitatively and quantitatively poses a significant challenge, as standard metrics often overlook subtle structural and content-level discrepancies. To address this, we propose a rubric-based evaluation framework that integrates multi-level structural descriptors with fine-grained contextual signals, enabling more precise and consistent table comparison. Building on this, we introduce TabXEval, an eXhaustive and eXplainable two-phase evaluation framework. TabXEval first aligns reference and predicted tables structurally via TabAlign, then performs semantic and syntactic comparison using TabCompare, offering interpretable and granular feedback. We evaluate TabXEval on TabXBench, a diverse, multi-domain benchmark featuring realistic table perturbations and human annotations. A sensitivity-specificity analysis further demonstrates the robustness and explainability of TabXEval across varied table tasks. Code and data are available at https://corallab-asu.github.io/tabxeval/.
TL;DR
TabXEval is a new evaluation framework that moves beyond treating tables as flat text by using a two-phase approach: structural alignment followed by rubric-based comparison. It significantly outperforms existing metrics, achieving a 47% improvement in correlation with human judgment while providing explainable feedback on exactly why a table is considered "bad."
What Problem Does This Paper Address?
Tables are the backbone of data-heavy workflows, from financial reports to clinical dashboards. However, evaluating how well a model generates or transforms a table is surprisingly difficult.
Standard text metrics like BLEU or ROUGE ignore the grid structure entirely, treating a table as a simple string of words. More advanced embedding-based metrics like BERTScore improve semantic understanding but are blind to structural errors like swapped columns or missing rows. Even recent "table-specific" metrics often act as black boxes, providing a single score without explaining the nature of the error (e.g., was it a unit mismatch, a typo, or a structural failure?). This lack of granularity creates a bottleneck for researchers trying to improve table-to-text and text-to-table models.
Methods
The authors introduce TabXEval, a framework that decomposes evaluation into two distinct phases:
- TabAlign (Structural Alignment): Before comparing values, the framework must determine which cells in the predicted table correspond to which cells in the reference. It uses deterministic rules for exact matches and then employs an LLM (like GPT-4o) to handle complex cases like abbreviations ("100k" vs "100,000"), synonyms, and structural transpositions (swapped rows/columns).
- TabCompare (Rubric-Based Analysis): Once aligned, the framework evaluates the tables using an exhaustive rubric across four categories:
- Structure Descriptor: Table-level integrity (missing/extra rows or columns).
- Column Descriptor: Identifying data types to ensure fair comparison.
- Cell Level Descriptor: Semantic and syntactic representation of values.
- Granular Cell Level Difference: Quantifying the magnitude of errors (e.g., the mathematical distance in a numerical error or time difference in a date error).
The final score is a weighted sum of these errors, modified by a "Gamma" factor that penalizes partial matches based on the severity of the discrepancy.
Datasets
The paper introduces TabXBench, a diverse, multi-domain benchmark designed to stress-test evaluation metrics.
- Source Data: 50 "clean" reference tables handpicked from six popular datasets: FinQA, TANQ, RotoWire, FetaQA, WikiTables, and WikiSQL.
- Perturbations: Each table was subjected to five distinct perturbations across 16 error types (e.g., header shuffling, unit conversion, data swaps, and merging columns).
- Difficulty Tiers: Edits are categorized into Easy (minor typos/formatting), Medium (header reordering/slight numeric shifts), and Hard (large-scale unit mismatches/omitted rows).
- Human Ground Truth: Includes human-annotated ratings grounded in the TabXEval rubric to serve as the gold standard.
Key Insights and Ideas
- Disentangling Alignment from Comparison: The "aha moment" is that you cannot accurately score a table until you've correctly aligned its structure. By separating these steps, TabXEval remains robust even when a model reorders columns or rows.
- The "Goldilocks Zone": The authors identify a "Sensitivity-Specificity" trade-off. Most metrics either flag too many false positives (low specificity) or miss subtle errors (low sensitivity). TabXEval hits the "Goldilocks zone," balancing the two better than any previous metric.
- Explainability as a Feature: Because the metric is rubric-based, it doesn't just output "0.75." It provides a trace showing that the score was lowered specifically because of a unit mismatch in the "Revenue" column and a missing row at the end of the table.
Key Results
- Human Correlation: TabXEval achieves a Spearman’s $\rho$ of 0.44 for ranking table quality, a 47% relative improvement over the next best method (P-Score at 0.30).
- Rubric Alignment: The framework shows near-perfect correlation with human rubric ratings (99.7% Pearson’s $\rho$ for structural descriptors).
- Backbone Agnostic: While it performs best with GPT-4o, the framework remains robust across various LLMs, including LLaMA-3, Qwen, and Gemini, consistently maintaining a correlation $\ge 0.30$.
- Error Detection: In "Endurance Tests" on models like GPT-4o and Gemini, TabXEval successfully identified that while GPT-4o is better at preserving structure (Exact Match on rows), it still struggles with fine-grained string errors in specific domains like WikiTables.
Limitations and Future Work
- Computational Overhead: Relying on large-scale LLMs for the alignment and comparison phases is significantly more expensive and slower than calculating n-gram overlaps.
- Hierarchical Tables: The current framework struggles with complex nested headers or merged cells. The authors propose a "flattening" workaround but acknowledge that direct support for hierarchical structures is a future goal.
- Reference Dependency: As a reference-based metric, it requires a ground-truth table. The authors suggest that "referenceless" evaluation (comparing a table directly to the source text) remains an open challenge.
- Model Distillation: A promising future direction is distilling the logic of TabXEval into smaller, more efficient models (like T5 or BART) to reduce costs for large-scale deployments.
Summary updated