ReF-LDM: A Latent Diffusion Model for Reference-based Face Image Restoration

Chi-Wei Hsiao, Yu-Lun Liu, Cheng-Kun Yang, Sheng-Po Kuo, Kevin Jou +1 more
12/6/2024
cs.CVcs.LGeess.IV

No official code found. Best implementation: ChiWeiHsiao/ref-ldm (65 stars, last commit 2025-02-25).

Abstract

While recent works on blind face image restoration have successfully produced impressive high-quality (HQ) images with abundant details from low-quality (LQ) input images, the generated content may not accurately reflect the real appearance of a person. To address this problem, incorporating well-shot personal images as additional reference inputs could be a promising strategy. Inspired by the recent success of the Latent Diffusion Model (LDM), we propose ReF-LDM, an adaptation of LDM designed to generate HQ face images conditioned on one LQ image and multiple HQ reference images. Our model integrates an effective and efficient mechanism, CacheKV, to leverage the reference images during the generation process. Additionally, we design a timestep-scaled identity loss, enabling our LDM-based model to focus on learning the discriminating features of human faces. Lastly, we construct FFHQ-Ref, a dataset consisting of 20,405 high-quality (HQ) face images with corresponding reference images, which can serve as both training and evaluation data for reference-based face restoration models.

View on arXivView PDF

Code Implementations(1)

The official implementation of "ReF-LDM: A Latent Diffusion Model for Reference-based Face Image Restoration" [NeurIPS 2024]

654PythonDec 6, 20241 years ago

Similar Papers

Cite this paper

@article{hsiao2024refldm,
  title  = {ReF-LDM: A Latent Diffusion Model for Reference-based Face Image Restoration},
  author = {Chi-Wei Hsiao and Yu-Lun Liu and Cheng-Kun Yang and Sheng-Po Kuo and Kevin Jou and Chia-Ping Chen},
  year   = {2024},
  eprint = {2412.05043},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2412.05043},
  url    = {http://arxiv.org/abs/2412.05043v1},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.05043.svg)](https://codeofpaper.com/paper/2412.05043)

Discussion