Abstract
Generative diffusion models can serve as a prior which ensures that solutions of image restoration systems adhere to the manifold of natural images. However, for restoring facial images, a personalized prior is necessary to accurately represent and reconstruct unique facial features of a given individual. In this paper, we propose a simple, yet effective, method for personalized restoration, called Dual-Pivot Tuning - a two-stage approach that personalize a blind restoration system while maintaining the integrity of the general prior and the distinct role of each component. Our key observation is that for optimal personalization, the generative model should be tuned around a fixed text pivot, while the guiding network should be tuned in a generic (non-personalized) manner, using the personalized generative model as a fixed "pivot". This approach ensures that personalization does not interfere with the restoration process, resulting in a natural appearance with high fidelity to the person's identity and the attributes of the degraded image. Project webpage: https://personalized-restoration.github.io
Introduction: The Identity Gap in Face Restoration
Blind face restoration—the task of recovering a high-quality face from a degraded (blurry, noisy, or low-resolution) input—is a classic "ill-posed" problem. Because a single low-quality image could theoretically correspond to many different high-resolution faces, modern AI systems rely on "generative priors" like Stable Diffusion to fill in the missing details.
While these generic priors are excellent at producing realistic skin textures and lighting, they suffer from a significant bias: they tend to hallucinate "average" facial features. For an individual with unique characteristics—a specific eye shape, distinct facial hair, or a particular dental structure—a generic restorer often "corrects" these features into a generic template, effectively erasing the person's identity.
The Dual-Pivot Tuning Approach
To bridge this gap, we introduce Dual-Pivot Tuning, a two-stage framework designed to personalize a diffusion-based restoration system (such as DiffBIR) using only a small set of reference images (typically around 10). The system comprises two primary components: a generative diffusion prior ($G$) and a guiding image encoder ($E$).
Stage 1: Textual Pivoting
The first stage focuses on personalizing the generative prior. Using the "DreamBooth" philosophy, we fine-tune the diffusion model to associate a unique identifier (e.g., "a photo of a [v] man") with the specific subject. This creates a personalized prior that understands the unique geometry and features of the individual.
Stage 2: Model-based Pivoting
Simply swapping the generic prior for a personalized one is insufficient. The guiding encoder ($E$), which maps the degraded input to the latent space of the prior, was originally trained on the generic model. To ensure the encoder correctly directs the personalized prior, we perform "model-based pivoting." We fine-tune the encoder while keeping the personalized generative model fixed as a pivot. Crucially, this stage uses general face datasets to keep the encoder identity-agnostic, preventing it from overfitting to the reference photos and ensuring it remains responsive to the spatial cues of the degraded input.
Efficiency and Identity Fidelity
A key discovery in our research is that identity-specific details emerge during the later, less-noisy stages of the diffusion process. By restricting fine-tuning to these specific stages, we achieved a 2x reduction in personalization time without compromising quality.
Experimental Results
Our evaluation using the CelebRef-HQ dataset and real-world "in-the-wild" images demonstrates the superiority of Dual-Pivot Tuning:
- Identity Preservation: Measured by ArcFace similarity, our method achieved a score of 0.88, significantly outperforming the generic state-of-the-art DiffBIR (0.76) and previous reference-based methods like MyStyle (0.68).
- Qualitative Quality: The model successfully reconstructs fine-grained details—such as beard textures and eye color—that generic models typically smear or replace.
- Scalability: The model-based pivoting step is highly efficient (approx. 10 minutes on an NVIDIA Tesla V100) and the resulting encoder can often be shared across different identities, streamlining the process for new subjects.
Conclusion
Dual-Pivot Tuning provides a robust solution for personalized image restoration. By treating both the text prompt and the personalized generative model as pivots, we can restore degraded images with unprecedented fidelity to individual identity while maintaining the high visual quality of modern generative models. This approach moves us closer to AI restoration that truly respects the unique features of every individual.
Summary updated