Abstract
While Large Language Models (LLMs) excel at processing unstructured text, they often stumble when factual knowledge is locked inside structured formats like tables and lists. This paper introduces StructFact, a new benchmark of 8,340 questions designed to evaluate how well LLMs reason across five distinct structural tasks. Our evaluation reveals that even state-of-the-art models struggle with complex arithmetic and spatiotemporal logic in structured contexts, highlighting a significant gap in current LLM capabilities.
Introduction
Most LLMs are pretrained on massive corpora of "linear" text—sentences and paragraphs where the order of words is the primary carrier of meaning. However, a vast amount of human knowledge is stored in structured data (tables, spreadsheets, and databases). Structured data presents unique challenges that unstructured text does not: heterogeneity of data types, topological interdependencies where meaning is derived from the grid layout, and the requirement for order invariance.
The authors identify a critical gap: existing benchmarks do not comprehensively measure whether LLMs actually understand these structures or if they are merely applying text-based patterns to them.
The StructFact Benchmark
The core contribution of this work is the StructFact benchmark, consisting of 8,340 questions derived and rewritten from existing datasets like FEVEROUS and TabFact. Questions are framed as "Yes," "No," or "Not Sure Enough" (NEI) to minimize evaluation ambiguity.
The benchmark categorizes structural reasoning into five "factual tasks":
- Arithmetic Calculation: Performing math on values found in different cells.
- Spatiotemporal Cognition: Reasoning about dates, times, and geographic locations.
- Multi-hop Reasoning: Connecting disparate pieces of information across multiple sources.
- Composition Understanding: Dealing with complex table structures (like merged cells) or missing data.
- Combining Structured and Unstructured: Using a table alongside a text caption to verify a fact.
Methodology
The researchers evaluated 10 prominent LLMs, including the Qwen2 series, LLaMA-3, Gemma-2, and GPT-4 variants. They employed four distinct prompting strategies to assess model performance under different conditions: Zero-shot and Few-shot, both with and without Chain-of-Thought (CoT) reasoning.
Key Insights
The CoT Paradox
Surprisingly, Chain-of-Thought (CoT) prompting—usually a "silver bullet" for LLM reasoning—actually decreased performance for several instruction-tuned models. This suggests that these models are already optimized for direct answers and can become "confused" by the overhead of explaining structured data logic.
Sequence Dependency
While tables are theoretically order-invariant, LLMs are not. When the authors shuffled table rows, performance (especially recall) dropped by 7.74% in arithmetic tasks. This proves LLMs still lean heavily on the "reading order" of data rather than a true structural understanding.
Model Behavior and Hallucination
GPT models showed a "cautious" behavior, being much more likely to respond with "Not Sure Enough" (NEI) when evidence was missing. In contrast, smaller open-source models were more prone to hallucinating definitive "Yes" or "No" answers.
Results
- Top Performers: GPT-4o-mini and GPT-4-turbo led the benchmark, but even they only achieved F1 scores in the low 60s, leaving significant room for improvement.
- Hardest Tasks: Arithmetic Calculation (avg. F1 ~50%) and Spatiotemporal Cognition (avg. F1 ~45%) were the most challenging for all models.
- Instruction Tuning Boost: Instruction-tuned models outperformed their "base" pretrained counterparts by an average of 7.65% in F1 score.
Conclusion
StructFact provides a rigorous compass for navigating the challenges of structured data reasoning. While LLMs can "read" a table, they aren't yet "thinking" in tables. Future work must focus on structure-aware architectures and specialized training methods to bridge this gap.
Summary updated