Papers › RestoreFormer++: Towards Real-World Blind Face Restoration from Undegraded Key-Value Pairs

RestoreFormer++: Towards Real-World Blind Face Restoration from Undegraded Key-Value Pairs

14 Aug 2023arXiv:2308.07228archive 2025-07-28

Zhouxia Wang, Jiawei Zhang, Tianshui Chen, Wenping Wang, Ping Luo

Blind face restoration aims at recovering high-quality face images from those with unknown degradations. Current algorithms mainly introduce priors to complement high-quality details and achieve impressive progress. However, most of these algorithms ignore abundant contextual information in the face and its interplay with the priors, leading to sub-optimal performance. Moreover, they pay less attention to the gap between the synthetic and real-world scenarios, limiting the robustness and generalization to real-world applications. In this work, we propose RestoreFormer++, which on the one hand introduces fully-spatial attention mechanisms to model the contextual information and the interplay with the priors, and on the other hand, explores an extending degrading model to help generate more realistic degraded face images to alleviate the synthetic-to-real-world gap. Compared with current algorithms, RestoreFormer++ has several crucial benefits. First, instead of using a multi-head self-attention mechanism like the traditional visual transformer, we introduce multi-head cross-attention over multi-scale features to fully explore spatial interactions between corrupted information and high-quality priors. In this way, it can facilitate RestoreFormer++ to restore face images with higher realness and fidelity. Second, in contrast to the recognition-oriented dictionary, we learn a reconstruction-oriented dictionary as priors, which contains more diverse high-quality facial details and better accords with the restoration target. Third, we introduce an extending degrading model that contains more realistic degraded scenarios for training data synthesizing, and thus helps to enhance the robustness and generalization of our RestoreFormer++ model. Extensive experiments show that RestoreFormer++ outperforms state-of-the-art algorithms on both synthetic and real-world datasets.

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

Code

Syntology Ran 11 of 12 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 4 ran · our draft was wrong; 7 ran with no contract checked.

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

wzhouxiff/restoreformerplusplus officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

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

4ran · our draft was wrong
7ran
1unverified

Licence: 0 of the 12 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 wzhouxiff/restoreformerplusplus. “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.

Normalize wzhouxiff/restoreformerplusplus/gradio_demo/RestoreFormer_arch.py official repository ran · our draft was wrong Apache-2.0 (permissive) · c3a6b977022957cb · report
all_gather wzhouxiff/restoreformerplusplus/RestoreFormer/distributed/distributed.py official repository ran Apache-2.0 (permissive) · 5d1755bb165b0225 · report
all_reduce wzhouxiff/restoreformerplusplus/RestoreFormer/distributed/distributed.py official repository ran Apache-2.0 (permissive) · ecc901a1548f3862 · report
count_params wzhouxiff/restoreformerplusplus/RestoreFormer/modules/util.py official repository ran Apache-2.0 (permissive) · 5ef87f1a172f152b · report
get_ckpt_path wzhouxiff/restoreformerplusplus/RestoreFormer/util.py official repository ran Apache-2.0 (permissive) · e70eb36cf08faee4 · report
md5_hash wzhouxiff/restoreformerplusplus/RestoreFormer/util.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 07d90bd6ae1be7db · report
nonlinearity wzhouxiff/restoreformerplusplus/gradio_demo/RestoreFormer_arch.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 3137073275f8c21a · report
normalize_tensor wzhouxiff/restoreformerplusplus/RestoreFormer/modules/losses/lpips.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7257fdf155f5ef45 · report
reduce_dict wzhouxiff/restoreformerplusplus/RestoreFormer/distributed/distributed.py official repository ran Apache-2.0 (permissive) · 7dbdda0920e3d074 · report
retrieve wzhouxiff/restoreformerplusplus/RestoreFormer/util.py official repository ran Apache-2.0 (permissive) · 31543f3e2c18272e · report
spatial_average wzhouxiff/restoreformerplusplus/RestoreFormer/modules/losses/lpips.py official repository ran fingerprinted Apache-2.0 (permissive) · e268053216b1dd62 · report
load_file_from_url wzhouxiff/restoreformerplusplus/RestoreFormer/download_util.py official repository unverified Apache-2.0 (permissive) · 0defd439e37477e9 · report

Tasks

Blind Face Restoration

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