Jadwal Sholat

Memuat jadwal sholatโ€ฆ

Ilmu Komputer & AI editorial

Open AccessOA2026

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

A benchmark reframing document understanding as database construction, with 203 long-document instances, 42 schemas, and 41,935 cells for evaluating relationally faithful LLM-based data systems.
Zhuowen Liang; Zhengxuan Zhang; Jiayang Wang; Jiazhuo Chen; Nan Tangยท 2026ยท DOI 10.48550/arXiv.2608.08459

The core problem

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. 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. The authors 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 reason

Innovation

Doc2DB-Bench contains 203 long-document instances across 42 schemas and seven domain groups. The database instances include 117 entity tables and 132 relationship tables, totaling 7,341 rows and 41,935 cells. These statistics highlight the scale and relational complexity of the benchmark. The generated documents pass authenticity verification, proving indistinguishable from real-world references. The benchmark is publicly available at https://github.com/SetonLiang/Doc2DB-Bench. The taxonomy of intra-table extraction and inter-table reasoning provides a structured evaluation framework. The results demonstrate that existing Document-to-Table benchmarks are insufficient for this setting, as 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. The benchmark thus provides a testbed for reliable, auditable, and relationally faithful LLM-based data systems.
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. 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. The authors 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.

The benchmark is constructed through a controllable DB-to-Doc synthesis pipeline. This pipeline begins with a relational database instance and generates a long, heterogeneous document that encodes the same information in natural language. The synthesis is organized by a taxonomy of intra-table extraction and inter-table reasoning, ensuring coverage of both local field-level extraction and global relational inference. The generated documents undergo authenticity verification, demonstrating that they are indistinguishable from real-world references. The benchmark comprises 203 long-document instances across 42 schemas and seven domain groups, yielding 117 entity tables, 132 relationship tables, 7,341 rows, and 41,935 cells. Formally, let a document be generated from a database instance

with schema
. The task is to reconstruct a database instance
such that
, i.e.,
satisfies all integrity constraints, keys, and cross-table relationships defined by
. The synthesis pipeline can be represented as a mapping
, and the evaluation measures the fidelity of the inverse mapping
under schema constraints. The taxonomy separates intra-table extraction, where fields are extracted within a single table, from inter-table reasoning, where relationships across tables must be inferred. This design ensures that the benchmark tests not only extraction accuracy but also relational faithfulness.

Why it matters

The key insight of Doc2DB-Bench is that document understanding should be evaluated as database construction rather than field extraction. This reframing addresses critical limitations of Document-to-Table benchmarks: 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. 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. Therefore, evaluating document understanding as database construction is essential for reliable, auditable, and relationally faithful LLM-based data systems. The benchmark's taxonomy of intra-table extraction and inter-table reasoning provides a principled way to measure progress. The authenticity verification ensures that the generated documents are realistic, making the benchmark a challenging testbed. The public availability of the benchmark at https://github.com/SetonLiang/Doc2DB-Bench supports reproducible research. The following Mermaid diagram illustrates the DB-to-Doc synthesis and evaluation pipeline:

This pipeline highlights the inverse problem: from document to database, with evaluation focused on relational faithfulness rather than isolated field extraction.

Who should read this

CS practitioners and researchers

Opening member contentโ€ฆ