ClaimDB: A Fact Verification Benchmark over Large Structured Data

Michael Theologitis, Preetam Prabhu Srikar Dammu, Chirag Shah, Dan Suciu

TL;DR

CLAIMDB is a new fact-verification benchmark designed to test LLMs on claims backed by massive, multi-table relational databases containing millions of records. Because the evidence context averages a staggering 110 million tokens, models can no longer rely on passive "in-context reading" and must instead use executable reasoning (like writing SQL queries). Evaluating 30 state-of-the-art LLMs reveals that more than half score below 55% accuracy, exposing severe deficiencies in large-scale data reasoning and the ability to properly abstain when information is missing.

What Problem Does This Paper Address?

Traditional fact-checking benchmarks typically evaluate LLMs against small, localized pieces of evidence—such as short text snippets, Wikipedia info-boxes, or isolated tables. In these setups, the entire evidence base easily fits within a model's context window, allowing the LLM to simply "read" and reason over the text.

However, real-world fact-checking looks very different. When a public figure makes a claim about national inflation rates or city-wide crime trends, verifying that claim requires auditing massive, official datasets spread across multiple tables and millions of rows. Current LLMs cannot ingest this scale of data directly into their context windows. This paper addresses this gap by introducing a benchmark that forces LLMs to transition from passive readers into active, tool-using programmers capable of executing symbolic reasoning over massive databases.

Methods

The authors constructed CLAIMDB using a rigorous, automated pipeline with multi-stage quality controls:

  1. Query Selection via AST Filtering: Starting with 11k examples from the BIRD NL-to-SQL benchmark, the authors analyzed the Abstract Syntax Trees (ASTs) of the SQL queries. They filtered out simple lookups and retained only compositional queries—those requiring aggregations (AVG, SUM, COUNT), multi-table joins, or window functions.
  2. Claim Generation: Using the filtered question-answer pairs, they prompted GPT-5 to generate three categories of natural language claims:
  3. Entailed: Fully supported by the database.
  4. Contradicted: Explicitly refuted by the database.
  5. Not Enough Info (NEI): Unanswerable claims, further categorized into Out-of-Schema (concepts missing from the DB), Counterfactual (imagined scenarios), and Subjective (unverifiable opinions).
  6. Panel of LLM Judges: To eliminate hallucinated or poorly formatted claims, they implemented an "LLM-as-a-Judge" panel consisting of three distinct model families (Phi-4, Grok-3-mini, and Mistral-Small). Claims were discarded if even a single judge flagged an issue.
  7. Semantic Similarity Filtering: For NEI claims, they used embedding-based semantic textual similarity (STS) to filter out obvious or "overboard" claims, ensuring the final test set remained highly challenging and plausible.
Overview of the CLAIMDB construction pipeline

Datasets

The benchmark introduces CLAIMDB, which consists of:

  • 53,368 total claims (12,855 entailed, 16,529 contradicted, and 23,984 not-enough-info).
  • 80 unique, real-world databases sourced from the BIRD benchmark, covering 11 high-level domains (such as Economy, Entertainment, Sports, and Healthcare) and 36 subdomains.
  • Massive Scale: Each claim is paired with a database containing an average of 11.3 tables and 4.5 million records, translating to roughly 110 million tokens of evidence text per claim.
Claim distribution per domain

Key Insights and Ideas

  • The Death of "In-Context" Table Reading: With an average evidence size of 110M tokens, even the most generous modern context windows (1–2M tokens) are outmatched by orders of magnitude. Executable programming (e.g., SQL tool-calling) is the only viable path forward.
  • The Fragility of Long Tool Sessions: There is a sweet spot for tool interaction. Top-performing models successfully verify claims using an average of 4 to 8 SQL queries. Beyond that, longer sessions lead to a steep drop-off in accuracy, as models get overwhelmed by massive query outputs or lose track of the objective.
  • The Abstention Asymmetry: Closed-source and open-source models fail on NEI (Not Enough Info) claims in completely opposite ways. Top proprietary models exhibit a strong bias against abstaining—they will confidently guess "entailed" or "contradicted" even when the data is missing. Conversely, open-source models tend to over-abstain, excessively defaulting to NEI even when a clear answer can be computed.
  • No Parametric Shortcuts: When evaluated blindly without database access, the top model's accuracy plummeted to near-random (36.7%), proving that CLAIMDB effectively isolates data-reasoning capabilities rather than relying on memorized training data.

Key Results

The authors evaluated 30 state-of-the-art proprietary and open-source LLMs using a single-tool agent framework equipped to execute arbitrary SQL queries.

  • Proprietary Models Dominate: GPT-5-mini achieved the highest accuracy at 82.7%, followed closely by Claude-Haiku-4.5 (80.9%) and Gemini-3-Flash (80.1%).
  • Open-Source Models Struggle: More than half of all evaluated models scored below 55% accuracy. Aside from gpt-oss-20b (which achieved a strong 74.0%), no other open-source model under 70B parameters managed to clear the 68% accuracy threshold.
Final accuracy vs. model size for open-source models
Accuracy vs. average number of tool calls

Limitations and Future Work

  • Dependency on BIRD: Because CLAIMDB is derived from the BIRD benchmark, any latent annotation or translation errors in BIRD's original NL-to-SQL pairs can propagate into this dataset (though the authors minimized this by using BIRD's heavily vetted developer split).
  • Single Modality Constraint: The benchmark focuses exclusively on structured relational data. Real-world fact-checking often requires a hybrid approach, combining databases with unstructured text reports, news articles, and charts.
  • Static Snapshots: The databases represent static, historical snapshots. If an LLM uses external web-search tools, its answers might conflict with the frozen database state.
  • SQL-Only Evaluation: The baseline agent architecture was restricted solely to writing SQL. The authors note that evaluating alternative paradigms—such as coding agents that interact with data via Python and pandas—remains an open avenue for future research.

Summary updated

BibTeX
@inproceedings{theologitis2026claimdb,
  author = {Michael Theologitis and Preetam Prabhu Srikar Dammu and Chirag Shah and Dan Suciu},
  title = {{ClaimDB: A Fact Verification Benchmark over Large Structured Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1589},
}
Figure