Skip to main content
QUICK REVIEW

[Paper Review] FlashFace: Human Image Personalization with High-fidelity Identity Preservation

Shilong Zhang, Lianghua Huang|arXiv (Cornell University)|Mar 25, 2024
3D Shape Modeling and AnalysisEngineering3 citations
TL;DR

FlashFace introduces a zero-shot human image personalization method that preserves high-fidelity facial identity by encoding reference faces into multi-scale feature maps instead of single tokens, and uses disentangled attention integration to balance text and image guidance. This enables precise instruction following even when prompts conflict with reference images, achieving state-of-the-art performance in identity fidelity and prompt adherence.

ABSTRACT

This work presents FlashFace, a practical tool with which users can easily personalize their own photos on the fly by providing one or a few reference face images and a text prompt. Our approach is distinguishable from existing human photo customization methods by higher-fidelity identity preservation and better instruction following, benefiting from two subtle designs. First, we encode the face identity into a series of feature maps instead of one image token as in prior arts, allowing the model to retain more details of the reference faces (e.g., scars, tattoos, and face shape ). Second, we introduce a disentangled integration strategy to balance the text and image guidance during the text-to-image generation process, alleviating the conflict between the reference faces and the text prompts (e.g., personalizing an adult into a "child" or an "elder"). Extensive experimental results demonstrate the effectiveness of our method on various applications, including human image personalization, face swapping under language prompts, making virtual characters into real people, etc. Project Page: https://jshilong.github.io/flashface-page.

Motivation & Objective

  • To address the limitations of existing zero-shot human image personalization methods in preserving fine facial details such as scars, tattoos, and face shape.
  • To improve instruction following in text-to-image generation when reference images and text prompts conflict (e.g., turning an adult into a child).
  • To reduce model reliance on direct copying of reference images by introducing a novel data construction pipeline with facial variation.
  • To decouple image and text control signals in diffusion models using separate attention layers for better balance and controllability.
  • To achieve practical, on-the-fly personalization with minimal inference time and high visual fidelity.

Proposed method

  • Encoding reference faces into a series of multi-scale feature maps using a Face ReferenceNet, preserving spatial structure and fine details such as scars and tattoos.
  • Introducing disentangled reference attention layers in the U-Net decoder that are separate from text cross-attention layers to prevent signal entanglement.
  • Applying a re-weighting mechanism for reference features, combined with classifier-free guidance, to smoothly control identity fidelity intensity.
  • Designing a new data construction pipeline that collects multiple images of the same person with facial variation, reducing the model’s tendency to copy reference images directly.
  • Using a two-stage training objective that optimizes for both reference identity similarity and target prompt alignment.
  • Employing a multi-reference input strategy where increasing the number of reference images improves identity consistency and reduces 'paste' behavior.

Experimental results

Research questions

  • RQ1Can encoding face identity as multi-scale feature maps significantly improve the preservation of fine facial details compared to single-token representations?
  • RQ2Does disentangled integration of text and reference image guidance enhance instruction following when prompts contradict reference images?
  • RQ3Can a novel data construction pipeline that emphasizes facial variation between reference and target images reduce model over-reliance on reference copying?
  • RQ4How does the placement of reference attention layers in the U-Net architecture affect identity fidelity and generation quality?
  • RQ5To what extent does increasing the number of reference images improve identity consistency and reduce prompt misalignment?

Key findings

  • Using four reference face images increased the identity similarity score (Sim_Ref) from 49.9 to 63.7, demonstrating a significant improvement in identity fidelity.
  • The Paste score dropped from 9.8 to 7.6 when increasing reference images from one to four, indicating reduced model dependence on direct image copying.
  • Placing reference attention layers only in the decoder blocks yielded the best performance (Sim_Ref = 63.7, FID = 85.5), outperforming encoder-only or combined placements.
  • Ablation studies confirmed that disentangled integration significantly improved instruction following, especially in conflicting prompt scenarios like transforming an adult into a child.
  • The method achieved smooth control of identity fidelity via the lambda_feat hyperparameter, with visual quality improving monotonically as lambda_feat increased from 0 to 1.
  • The model maintained high-quality generation even with a single reference image, but performance improved substantially with two or more references, especially in capturing overall face shape.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.