Skip to content

Official Implementation for "InstantRestore: Single-Step Personalized Face Restoration with Shared-Image Attention"

Notifications You must be signed in to change notification settings

snap-research/InstantRestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

InstantRestore: Single-Step Personalized Face Restoration with Shared-Image Attention

Howard Zhang*, Yuval Alaluf*, Sizhuo Ma, Achuta Kadambi, Jian Wang†, Kfir Aberman†
*Denotes equal contribution
†Denotes equal advising

Face image restoration aims to enhance degraded facial images while addressing challenges such as diverse degradation types, real-time processing demands, and, most crucially, the preservation of identity-specific features. Existing methods often struggle with slow processing times and suboptimal restoration, especially under severe degradation, failing to accurately reconstruct finer-level identity details. To address these issues, we introduce InstantRestore, a novel framework that leverages a single-step image diffusion model and an attention-sharing mechanism for fast and personalized face restoration. Additionally, InstantRestore incorporates a novel landmark attention loss, aligning key facial landmarks to refine the attention maps, enhancing identity preservation. At inference time, given a degraded input and a small (${\sim}4$) set of reference images, InstantRestore performs a single forward pass through the network to achieve near real-time performance. Unlike prior approaches that rely on full diffusion processes or per-identity model tuning, InstantRestore offers a scalable solution suitable for large-scale applications. Extensive experiments demonstrate that InstantRestore outperforms existing methods in quality and speed, making it an appealing choice for identity-preserving face restoration.


Given severely degraded face images, previous diffusion-based models struggle to accurately preserve the input identity. Although existing personalized methods better preserve the input identity, they are computationally expensive and often require per-identity model fine-tuning at test time, making them difficult to scale. In contrast, our model, InstantRestore, efficiently attains improved identity preservation with near-real-time performance.

Description

Official implementation of our InstantRestore face restoration paper.

Code Coming Soon!




Citation

If you use this code for your research, please cite the following work:

@misc{zhang2024instantrestore,
      title={InstantRestore: Single-Step Personalized Face Restoration with Shared-Image Attention}, 
      author={Howard Zhang and Yuval Alaluf and Sizhuo Ma and Achuta Kadambi and Jian Wang and Kfir Aberman},
      year={2024},
      eprint={2412.06753},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2412.06753}, 
}

About

Official Implementation for "InstantRestore: Single-Step Personalized Face Restoration with Shared-Image Attention"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published