Papers › Towards Real-World Blind Face Restoration with Generative Diffusion Prior

Towards Real-World Blind Face Restoration with Generative Diffusion Prior

25 Dec 2023arXiv:2312.15736archive 2025-07-28

Xiaoxu Chen, Jingfan Tan, Tao Wang, Kaihao Zhang, Wenhan Luo, Xiaochun Cao

Blind face restoration is an important task in computer vision and has gained significant attention due to its wide-range applications. Previous works mainly exploit facial priors to restore face images and have demonstrated high-quality results. However, generating faithful facial details remains a challenging problem due to the limited prior knowledge obtained from finite data. In this work, we delve into the potential of leveraging the pretrained Stable Diffusion for blind face restoration. We propose BFRffusion which is thoughtfully designed to effectively extract features from low-quality face images and could restore realistic and faithful facial details with the generative prior of the pretrained Stable Diffusion. In addition, we build a privacy-preserving face dataset called PFHQ with balanced attributes like race, gender, and age. This dataset can serve as a viable alternative for training blind face restoration networks, effectively addressing privacy and bias concerns usually associated with the real face datasets. Through an extensive series of experiments, we demonstrate that our BFRffusion achieves state-of-the-art performance on both synthetic and real-world public testing datasets for blind face restoration and our PFHQ dataset is an available resource for training blind face restoration networks. The codes, pretrained models, and dataset are released at https://github.com/chenxx89/BFRffusion.

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

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 1 ran · our draft was wrong; 3 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 16 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.

chenxx89/bfrffusion officialmentioned in papermentioned on GitHubpytorchMIT 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

16 samples harvested; 11 ran; 1 honoured the contract we drafted; 5 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 · violated contract
1ran · our draft was wrong
3ran · fixture could not drive it
4ran
5unverified

Licence: 0 of the 16 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 chenxx89/bfrffusion. “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.

HWC3 chenxx89/bfrffusion/annotator/util.py official repository ran · fixture could not drive it MIT (permissive) · f9ec7d70add02b6f · report
cosin_metric chenxx89/bfrffusion/metrics/calculate_cos_dist.py official repository ran fingerprinted MIT (permissive) · bf78d27b7b40870a · report
default chenxx89/bfrffusion/ldm/modules/attention.py official repository ran · violated contract MIT (permissive) · 424012cb37b31172 · report
exists chenxx89/bfrffusion/ldm/modules/attention.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
isimage chenxx89/bfrffusion/ldm/util.py official repository ran MIT (permissive) · b1368330cf0f5642 · report
ismap chenxx89/bfrffusion/ldm/util.py official repository ran MIT (permissive) · d72762b700feee6f · report
make_layers chenxx89/bfrffusion/annotator/openpose/model.py official repository ran MIT (permissive) · 0af8635db2bb32a2 · report
modulate chenxx89/bfrffusion/models/transformerBlock.py official repository ran · honoured contract fingerprinted MIT (permissive) · 62fcb3912a967a50 · report
to_3d chenxx89/bfrffusion/models/transformerBlock.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 82a15cc1e46f7e4d · report
to_4d chenxx89/bfrffusion/models/transformerBlock.py official repository ran · fixture could not drive it MIT (permissive) · b20f2a5df739a59e · report
uniq chenxx89/bfrffusion/ldm/modules/attention.py official repository ran · our draft was wrong MIT (permissive) · 9a299fe5ae09e407 · report
get_state_dict chenxx89/bfrffusion/models/models.py official repository unverified MIT (permissive) · cfc17707f35e7ec4 · report
load_image chenxx89/bfrffusion/metrics/calculate_cos_dist.py official repository unverified MIT (permissive) · d8d6d771a1dadff4 · report
load_state_dict chenxx89/bfrffusion/models/models.py official repository unverified MIT (permissive) · 87337881055f7a57 · report
log_txt_as_img chenxx89/bfrffusion/ldm/util.py official repository unverified MIT (permissive) · 6b4c1a8ce5fb7282 · report
resize_image chenxx89/bfrffusion/annotator/util.py official repository unverified MIT (permissive) · 50fd68f6989503c6 · report

Tasks

Blind Face RestorationPrivacy Preserving

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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