Papers › HRDoc: Dataset and Baseline Method Toward Hierarchical Reconstruction of Document Structures

HRDoc: Dataset and Baseline Method Toward Hierarchical Reconstruction of Document Structures

24 Mar 2023arXiv:2303.13839archive 2025-07-28

Jiefeng Ma, Jun Du, Pengfei Hu, Zhenrong Zhang, Jianshu Zhang, Huihui Zhu, Cong Liu

The problem of document structure reconstruction refers to converting digital or scanned documents into corresponding semantic structures. Most existing works mainly focus on splitting the boundary of each element in a single document page, neglecting the reconstruction of semantic structure in multi-page documents. This paper introduces hierarchical reconstruction of document structures as a novel task suitable for NLP and CV fields. To better evaluate the system performance on the new task, we built a large-scale dataset named HRDoc, which consists of 2,500 multi-page documents with nearly 2 million semantic units. Every document in HRDoc has line-level annotations including categories and relations obtained from rule-based extractors and human annotators. Moreover, we proposed an encoder-decoder-based hierarchical document structure parsing system (DSPS) to tackle this problem. By adopting a multi-modal bidirectional encoder and a structure-aware GRU decoder with soft-mask operation, the DSPS model surpass the baseline method by a large margin. All scripts and datasets will be made publicly available at https://github.com/jfma-USTC/HRDoc.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.13839")

Code

Syntology Ran 12 of 14 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jfma-ustc/hrdoc officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 12 ran; 2 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran · our draft was wrong
8ran
2unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jfma-USTC/HRDoc. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LstmFusion jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran no licence file found · pointer only · fbaaa371b4ebbafd · report
PadRNN jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran fingerprinted no licence file found · pointer only · 0261882ecf3d1c25 · report
PosFeat jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran no licence file found · pointer only · b7f63470f062747e · report
ResNet jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran no licence file found · pointer only · 1a652039016eccb4 · report
RoiFeatExtractor jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · 59f958c41892d782 · report
SemanticsFeatExtractor jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran no licence file found · pointer only · f350d387d051c671 · report
VSFD jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 540e50267a8213fe · report
align_feats jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · our draft was wrong no licence file found · pointer only · 71a97abe47fc54dc · report
align_tokens jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · honoured contract no licence file found · pointer only · c8c6a98626ee0e88 · report
conv3x3 jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · our draft was wrong no licence file found · pointer only · 49abff9073550b42 · report
convert_to_roi_format jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran · honoured contract no licence file found · pointer only · 0e7b2457e7e96b9a · report
tokenize jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository ran no licence file found · pointer only · 59c421bb1bb38e71 · report
BasicBlock jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository unverified no licence file found · pointer only · 46cf9697f6679bb5 · report
Encoder jfma-USTC/HRDoc/end2end_system/strcut_recover/libs/model/encoder.py official repository unverified no licence file found · pointer only · ad74f969c400615a · report

Tasks

Decoder

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

GRU

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections