Papers › Reviving Cultural Heritage: A Novel Approach for Comprehensive Historical Document Restoration

Reviving Cultural Heritage: A Novel Approach for Comprehensive Historical Document Restoration

7 Jul 2025arXiv:2507.05108archive 2025-07-28

Yuyi Zhang, Peirong Zhang, Zhenhua Yang, Pengyu Yan, Yongxin Shi, Pengwei Liu, Fengjun Guo, Lianwen Jin

Historical documents represent an invaluable cultural heritage, yet have undergone significant degradation over time through tears, water erosion, and oxidation. Existing Historical Document Restoration (HDR) methods primarily focus on single modality or limited-size restoration, failing to meet practical needs. To fill this gap, we present a full-page HDR dataset (FPHDR) and a novel automated HDR solution (AutoHDR). Specifically, FPHDR comprises 1,633 real and 6,543 synthetic images with character-level and line-level locations, as well as character annotations in different damage grades. AutoHDR mimics historians' restoration workflows through a three-stage approach: OCR-assisted damage localization, vision-language context text prediction, and patch autoregressive appearance restoration. The modular architecture of AutoHDR enables seamless human-machine collaboration, allowing for flexible intervention and optimization at each restoration stage. Experiments demonstrate AutoHDR's remarkable performance in HDR. When processing severely damaged documents, our method improves OCR accuracy from 46.83\% to 84.05\%, with further enhancement to 94.25\% through human-machine collaboration. We believe this work represents a significant advancement in automated historical document restoration and contributes substantially to cultural heritage preservation. The model and dataset are available at https://github.com/SCUT-DLVCLab/AutoHDR.

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="2507.05108")

Code

Syntology Ran 3 of 17 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it.

By repository: found in paper text by Syntology: 17 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yeungchenwa/hdr mentioned on GitHubpytorch 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

17 samples harvested; 3 ran; 1 honoured the contract we drafted; 14 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.

1ran · honoured contract
2ran · fixture could not drive it
14unverified

Licence: 17 of the 17 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 SCUT-DLVCLab/AutoHDR. “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.

autopad SCUT-DLVCLab/AutoHDR/models/common.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 988a3c854b1b13d0 · report
to_3d SCUT-DLVCLab/AutoHDR/models/attention.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 82a15cc1e46f7e4d · report
to_4d SCUT-DLVCLab/AutoHDR/models/attention.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · b20f2a5df739a59e · report
DWConv SCUT-DLVCLab/AutoHDR/models/common.py found in paper text by Syntology unverified no licence file found · pointer only · b9a38c519e71eeba · report
build SCUT-DLVCLab/AutoHDR/models/upocr.py found in paper text by Syntology unverified no licence file found · pointer only · ff59d2987b57e4ba · report
build_MeMA SCUT-DLVCLab/AutoHDR/models/attention.py found in paper text by Syntology unverified no licence file found · pointer only · 29d07130d382c4a8 · report
build_lateral_connection SCUT-DLVCLab/AutoHDR/models/block.py found in paper text by Syntology unverified no licence file found · pointer only · a8a233a4fe10a771 · report
build_task_prompt SCUT-DLVCLab/AutoHDR/models/task_prompt.py found in paper text by Syntology unverified no licence file found · pointer only · 134eca93633f69a9 · report
build_task_weight SCUT-DLVCLab/AutoHDR/models/task_prompt.py found in paper text by Syntology unverified no licence file found · pointer only · a940fd9f6cc7ee71 · report
build_vgg16 SCUT-DLVCLab/AutoHDR/models/vgg16.py found in paper text by Syntology unverified no licence file found · pointer only · 97fd5b07bccce139 · report
get_activation SCUT-DLVCLab/AutoHDR/models/block.py found in paper text by Syntology unverified no licence file found · pointer only · 4fcaa1927ce5f419 · report
is_char_in_font SCUT-DLVCLab/AutoHDR/utils_pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 74c8cc26816ad3b3 · report
load_pretrained_model SCUT-DLVCLab/AutoHDR/models/upocr.py found in paper text by Syntology unverified no licence file found · pointer only · 2ed969a6abb31f68 · report
render_char_with_font_L SCUT-DLVCLab/AutoHDR/utils_pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 960ccde0f99b275a · report
smooth_BCE SCUT-DLVCLab/AutoHDR/utils/loss.py found in paper text by Syntology unverified no licence file found · pointer only · 386a04c4b6c96c88 · report
transI_fusebn SCUT-DLVCLab/AutoHDR/models/common.py found in paper text by Syntology unverified no licence file found · pointer only · 079d0a85a0bfbb47 · report
xyxy2xywh SCUT-DLVCLab/AutoHDR/utils_pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · ba96214e92bc8bea · report

Tasks

Optical Character Recognition (OCR)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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