Beyond Tables: Doc2DB-Bench for Relationally Faithful Document-to-Database Construction

Zhuowen Liang, Zhengxuan Zhang, Jiayang Wang, Jiazhuo Chen, Nan Tang
8/9/2026
1 citation
cs.CLcs.AIcs.DB
benchmark-dataset

Official code: SetonLiang/Doc2DB-Bench (4 stars, Python, last commit 2026-10-10).

Abstract

Practical AI systems increasingly need to turn long, heterogeneous documents into queryable relational databases, not isolated spreadsheets. In domains such as finance, healthcare, education, transportation, and enterprise operations, downstream workflows rely on normalized schemas, entity identities, keys, cross-table relationships, and integrity constraints for analytics, compliance, auditing, and SQL-backed decision making.

Show full abstract

Existing Document-to-Table benchmarks are insufficient for this setting: flattening evidence into single tables can duplicate entities, obscure many-to-many relationships, create sparse records, and avoid testing whether extracted facts form a valid database instance. This creates an urgent need to evaluate document understanding as database construction rather than field extraction. We introduce Doc2DB-Bench, a benchmark for Document-to-Database construction, containing 203 long-document instances across 42 schemas and seven domain groups, with 117 entity tables, 132 relationship tables, 7,341 rows, and 41,935 cells. Built through a controllable DB-to-Doc synthesis pipeline and organized by a taxonomy of intra-table extraction and inter-table reasoning, the generated documents undergo authenticity verification, proving indistinguishable from real-world references. Doc2DB-Bench thus provides a testbed for reliable, auditable, and relationally faithful LLM-based data systems. The benchmark is publicly available at https://github.com/SetonLiang/Doc2DB-Bench.

View on arXivView PDF

Code Implementations(1)

Beyond Tables: Doc2DB-Bench for Relationally Faithful Document-to-Database Construction

41Python, Jupyter NotebookApr 7, 20261 months ago

Similar Papers

Cite this paper

@article{liang2026beyond,
  title  = {Beyond Tables: Doc2DB-Bench for Relationally Faithful Document-to-Database Construction},
  author = {Zhuowen Liang and Zhengxuan Zhang and Jiayang Wang and Jiazhuo Chen and Nan Tang},
  year   = {2026},
  eprint = {2608.08459},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.08459v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.08459.svg)](https://codeofpaper.com/paper/2608.08459)

Discussion