Abstract
Mathematical reasoning has long been a key benchmark for evaluating large language models. Although substantial progress has been made on math word problems, the need for reasoning over tabular data in real-world applications has been overlooked. For instance, applications such as business intelligence demand not only multi-step numerical reasoning with tables but also robustness to incomplete or inconsistent information. However, comprehensive evaluation in this area is severely limited, constrained by the reliance on manually collected tables that are difficult to scale and the lack of coverage for potential traps encountered in real-world scenarios. To address this problem, we propose AutoT2T, a neuro-symbolic framework that controllably transforms math word problems into scalable and verified tabular reasoning tasks. Building on this pipeline, we develop TabularMath, a benchmark comprising four subsets that include both text-based and image-based tables, covering table complexity, table quality, and table representation dimensions. Our study reveals three key observations: (1) Table complexity and reasoning difficulty impact reasoning performance jointly; (2) Low-quality tables pose severe risks to reliable reasoning in current LLMs; (3) Different table modalities show similar trends, with text-based tables typically being easier for models to reason over.
Introduction
While Large Language Models (LLMs) have become remarkably adept at solving text-based math word problems, real-world applications—such as business intelligence and financial auditing—rarely present data in neat sentences. Instead, data lives in semi-structured tables. Existing benchmarks for tabular reasoning are often small, manually curated, and focus on "perfect" data. They fail to capture the two biggest hurdles of the real world: scale (massive tables with irrelevant rows/columns) and quality (missing or contradictory information). This research introduces a framework to evaluate whether LLMs can actually reason through the noise or if they are merely pattern-matching on clean toy examples.
Methodology: The AutoT2T Framework
To generate scalable and mathematically sound tabular tasks, the researchers developed AutoT2T, a three-stage neuro-symbolic pipeline designed to bridge the gap between creative generation and logical verification:
- Semantic Decoupling: An LLM converts a standard math problem into a formal logic representation using SMT-Lib syntax. A formal solver (such as Z3 or CVC5) then verifies that the problem is solvable and consistent.
- Table Transformation: The formal variables are mapped into a structured "seed table."
- Table Augmentation: The system programmatically expands the table. It adds irrelevant rows and columns, shuffles the order, and injects "traps" like Missing Condition Modification (deleting key data) and Contradictory Condition Modification (injecting conflicting data).
The TabularMath Benchmark
The resulting TabularMath benchmark includes 6,782 samples derived from 3,391 unique tables. It is organized into four subsets: Easy, Medium, Hard (based on row/column count), and Imperfect (containing the aforementioned logical traps). Crucially, every table is provided in both text-based formats (Markdown, JSON, Serialized) and image-based formats rendered via matplotlib to test multimodal capabilities.
Key Insights and Results
The study reveals a significant "Joint Difficulty" trap: reasoning performance is not just about math, but the interaction between retrieval and logic. When models must locate a specific value in a large table before performing multi-step calculations, performance drops significantly compared to mean performance on simpler tasks.
Other key findings include:
- Robustness Crisis: On "Imperfect" tables, models often fail to identify missing or contradictory data, leading to hallucinations with error rates exceeding 50% in some cases.
- Format Sensitivity: JSON and Serialized formats consistently outperform Markdown for text-based reasoning, as their explicit key-value structure helps models anchor data points more reliably.
- Multimodal Gap: Even top-tier multimodal models perform better on text-based tables than on images of the same tables, highlighting OCR and layout ambiguity as major bottlenecks for visual reasoning.
- Synthetic Data Benefits: Fine-tuning smaller models (like Qwen2.5-3B) on data generated by the AutoT2T pipeline led to a 15% average improvement, proving that controllable synthetic data can effectively bridge the reasoning gap.
Conclusion
TabularMath exposes the vulnerabilities of current LLMs when faced with the messy reality of tabular data. While synthetic data from the AutoT2T pipeline can improve performance, significant work remains in improving model robustness to "imperfect" data and closing the gap between text and visual tabular understanding. Future research should focus on enhancing LLM "refusal" mechanisms for flawed data and integrating higher-order mathematical reasoning into tabular tasks.
Summary updated