Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ArrowInvalid
Message:      Failed to parse string: '2019-11-/' as a scalar of type timestamp[s]
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 289, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 124, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2224, in cast_table_to_schema
                  cast_array_to_feature(
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
                  return func(array, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
                  return func(array, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2086, in cast_array_to_feature
                  return array_cast(
                         ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
                  return func(array, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1949, in array_cast
                  return array.cast(pa_type)
                         ^^^^^^^^^^^^^^^^^^^
                File "pyarrow/array.pxi", line 1135, in pyarrow.lib.Array.cast
                File "/usr/local/lib/python3.12/site-packages/pyarrow/compute.py", line 412, in cast
                  return call_function("cast", [arr], options, memory_pool)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Failed to parse string: '2019-11-/' as a scalar of type timestamp[s]

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset Card for StructBill-CN

StructBill-CN is a comprehensive benchmark dataset tailored for Schema-based Unified Extraction in Visual Document Understanding (VDU). It specifically targets the direct-ingestion extraction of complex, hierarchical information (both global Key-Value pairs and nested wireless tables) from high-resolution Chinese medical statement images, with a strong emphasis on evaluating structural accuracy and arithmetic logical consistency.

Dataset Details

Dataset Description

Automated transformation of complex statement images into queryable databases is a critical yet unresolved challenge. While Multimodal Large Language Models (MLLMs) excel in general perception, they struggle with precise direct-ingestion tasks, particularly when processing wireless tables where the absence of visual grid lines renders traditional Table Structure Recognition (TSR) ineffective.

StructBill-CN bridges the gap between visual cues and semantic structure. Unlike traditional datasets that focus heavily on physical bounding boxes, StructBill-CN features logical structure annotations for both global Key-Value pairs and complex line-item tables. It compels models to comprehend semantic layouts and business logic (such as deterministic arithmetic rules like Price * Quantity = Amount) rather than merely performing physical visual detection.

Dataset Sources

To strictly comply with original data distribution agreements, our repository explicitly separates our novel annotations from third-party raw images.

Uses

Direct Use

This dataset is designed for academic research in the field of Document AI, specifically for:

  • Evaluating and training Multimodal Large Language Models (MLLMs) on Visual Information Extraction (VIE).
  • Benchmarking models on parsing complex, wireless, and borderless tables.
  • Assessing the logical reasoning and arithmetic consistency capabilities of VDU systems.
  • Developing reinforcement learning algorithms (like SRPO) for document alignment and schema-following tasks.

Out-of-Scope Use

  • Commercial Use: Prohibited under the CC BY-NC-SA 4.0 license.
  • High-Risk Decision Making: Models trained on this dataset should not be deployed in real-world healthcare or financial automated auditing without a robust Human-in-the-loop (HITL) review system.

Dataset Structure

StructBill-CN comprises 3,596 high-resolution images covering 8 distinct business schemas.

Strict Compliance Distribution Policy (Decoupled Release):

To comply with data privacy policies and third-party distribution agreements, the dataset is structured as follows:

  • 1. What We Provide Here (Available Now):

    • Unified Annotations: Our curated, hierarchical JSON annotations for all 3,596 instances (CHIP-2022, SIBR-med, and Internal-Wild).

    • Internal-Wild Test Images: The original image files for the Out-of-Distribution (OOD) test set of our proprietary Internal-Wild data. These have been fully de-identified.

  • 2. Third-Party Source Images (Download Required):

    • For the CHIP-2022 and SIBR-med subsets, we only provide the annotations. Researchers must download the original raw images directly from their respective official platforms (linked in the Dataset Sources section above) to pair with our JSON files.
  • 3. Internal-Wild Training Set (Pending Release):

    • We have completed the rigorous de-identification process for the training set images and obtained the necessary permissions for public release. To strictly maintain the double-blind review policy for IJCAI, this subset is temporarily withheld. It will be uploaded to our official, non-anonymous repository immediately upon the publication of the paper.

Dataset Creation

Curation Rationale

Existing benchmarks predominantly focus on simple KV extraction or ruled tables with relatively static layouts. They fail to expose model deficiencies in semantic alignment when dealing with borderless tables, structural ambiguity, and extreme visual density. StructBill-CN was created to establish an "Ingestion-Ready" benchmark that mimics real-world database schemas, forcing models to infer structure from content logic.

Source Data

Data Collection and Processing

The dataset aggregates data from three main sources:

  1. CHIP-2022 (1,700 items): Inpatient/Outpatient/Pharmacy invoices and Discharge records.
  2. SIBR-Med (600 items): Fee lists and Notification notes.
  3. Internal-Wild (1,296 items): Real-world private data representing complex itemized billing lists and dense KV layouts.

Annotations

Annotation process

The annotation protocol strictly prioritizes semantic attribution over physical location. Instead of traditional bounding box coordinates, annotations are formatted as a Hierarchical JSON standard. In the presence of printing offsets or wireless table layouts, labels are assigned based on the logical business context. Furthermore, all numerical fields (Price, Quantity, Amount) were cross-validated to ensure arithmetic consistency in the Ground Truth.

Personal and Sensitive Information

Strict Ethical & Privacy Statement:

All real-world data (Internal-Wild) has undergone rigorous de-identification and anonymization. All Protected Health Information (PHI)—including patient names, personal identification numbers, specific medical institution names, and exact dates—has been thoroughly redacted, masked, or replaced with synthetic placeholders. No sensitive personal data is exposed in this benchmark.

Recommendations

Users should be aware that while the dataset aims to benchmark arithmetic consistency, current MLLMs may still hallucinate numbers. It is highly recommended to implement deterministic rule-checkers on top of model outputs when using these systems in practical scenarios.

Citation

BibTeX:

@article{structbillcn2026,
  title={StructBill-CN: Benchmarking and Improving Logical Consistency in Visual Document Understanding with Schema-Reinforced Policy Optimization},
  author={Anonymous Authors},
  journal={Under Review at IJCAI},
  year={2026}
}

(Note: The citation will be updated with author names and official publication details upon acceptance.)

Dataset Card Contact

For questions regarding the dataset, data licensing, or to request the removal of source images based on copyright claims, please contact: vanvan6992@gamil.com

Downloads last month
17