RelationalFactQA: A Benchmark for Evaluating Tabular Fact Retrieval from Large Language Models
Dario Satriani, Enzo Veltri, Donatello Santoro, Paolo Papotti
TL;DR
This paper introduces RelationalFactQA, a benchmark for evaluating LLMs' ability to generate relational tabular outputs from internal knowledge without external tools. It demonstrates that structured multi-record factual retrieval is substantially harder than single facts, with models rarely exceeding 25% tuple-level accuracy and performance deteriorating as output size grows. The authors propose a hybrid RFQA dataset (696 NL/SQL triples across nine domains) and three retrieval modes (NL, SQL, CoT), along with F1 and Tuple Similarity metrics, to systematically study this capability. The findings highlight critical limitations in current LLMs' capacity to synthesize structured factual knowledge, and position RelationalFactQA as a key resource for future factuality research and progress tracking.
Abstract
Factuality in Large Language Models (LLMs) is a persistent challenge. Current benchmarks often assess short factual answers, overlooking the critical ability to generate structured, multi-record tabular outputs from parametric knowledge. We demonstrate that this relational fact retrieval is substantially more difficult than isolated point-wise queries, even when individual facts are known to the model, exposing distinct failure modes sensitive to output dimensionality (e.g., number of attributes or records). To systematically evaluate this under-explored capability, we introduce RelationalFactQA, a new benchmark featuring diverse natural language questions (paired with SQL) and gold-standard tabular answers, specifically designed to assess knowledge retrieval in a structured format. RelationalFactQA enables analysis across varying query complexities, output sizes, and data characteristics. Our experiments reveal that even state-of-the-art LLMs struggle significantly, not exceeding 25% factual accuracy in generating relational outputs, with performance notably degrading as output dimensionality increases. These findings underscore critical limitations in current LLMs' ability to synthesize structured factual knowledge and establish RelationalFactQA as a crucial resource for measuring future progress in LLM factuality.
