Skip to main content
QUICK REVIEW

[Paper Review] Diffusion-driven GAN Inversion for Multi-Modal Face Image Generation

Jihyun Kim, Changjae Oh|arXiv (Cornell University)|May 7, 2024
Face recognition and analysisComputer Science3 citations
TL;DR

This paper proposes a diffusion-driven GAN inversion method that maps multi-modal inputs—such as text prompts and semantic masks—into the latent space of pre-trained 2D and 3D GANs for high-fidelity, controllable face image generation. By leveraging diffusion model features across multiple denoising steps and introducing a mapping network and attention-based style modulation, the method achieves superior alignment with inputs and generates realistic, multi-view, and stylized face images, outperforming existing GAN- and diffusion-based approaches.

ABSTRACT

We present a new multi-modal face image generation method that converts a text prompt and a visual input, such as a semantic mask or scribble map, into a photo-realistic face image. To do this, we combine the strengths of Generative Adversarial networks (GANs) and diffusion models (DMs) by employing the multi-modal features in the DM into the latent space of the pre-trained GANs. We present a simple mapping and a style modulation network to link two models and convert meaningful representations in feature maps and attention maps into latent codes. With GAN inversion, the estimated latent codes can be used to generate 2D or 3D-aware facial images. We further present a multi-step training strategy that reflects textual and structural representations into the generated image. Our proposed network produces realistic 2D, multi-view, and stylized face images, which align well with inputs. We validate our method by using pre-trained 2D and 3D GANs, and our results outperform existing methods. Our project page is available at https://github.com/1211sh/Diffusion-driven_GAN-Inversion/.

Motivation & Objective

  • To address the poor alignment of existing GAN inversion methods with multi-modal inputs such as text and semantic masks.
  • To combine the strengths of pre-trained GANs (for photo-realism) and diffusion models (for multi-modal control) in a unified framework.
  • To enable high-fidelity, controllable face image generation in both 2D and 3D-aware domains without additional data or loss terms.
  • To improve fidelity and attribute consistency by training across multiple denoising steps of the diffusion model.

Proposed method

  • A diffusion-based encoder (U-Net) extracts semantic features, intermediate features, and cross-attention maps at each denoising step.
  • A mapping network (M) converts the diffusion model's high-level semantic features into a latent code that aligns with the pre-trained GAN's latent space.
  • An attention-based style modulation network (AbSMNet) uses intermediate features and attention maps to control facial attributes such as hair color and mouth shape.
  • The model is trained end-to-end using a multi-step denoising strategy that incorporates both the denoised image at step 0 and the ground-truth image as supervision.
  • The method leverages features from the denoising U-Net at multiple time steps to enhance feature representation and consistency with input conditions.
  • The framework is applied to both 2D and 3D-aware GANs (e.g., StyleGAN, EG3D) without architectural changes or additional data.

Experimental results

Research questions

  • RQ1Can diffusion model features be effectively mapped into the latent space of a pre-trained GAN to enable multi-modal face image generation?
  • RQ2How can cross-attention maps and intermediate features from a diffusion model be used to modulate facial attributes in GAN-generated images?
  • RQ3Does multi-step denoising feature learning improve the fidelity and alignment of generated face images with text and visual inputs?
  • RQ4Can the proposed method generate high-quality, multi-view, and stylized face images without additional training data or loss terms?
  • RQ5How does the integration of both denoised image (I^d_0) and ground-truth image (I^gt) supervision affect model performance?

Key findings

  • The proposed method achieves state-of-the-art performance in FID, LPIPS, ID, and ACC scores, with a significant FID improvement when both M and AbSMNet are used.
  • The ablation study confirms that the attention-based style modulation network (AbSMNet) enhances attribute detail expression, such as hair color and mouth openness, compared to using only the mapping network.
  • Using both I^d_0 and I^gt in training leads to better alignment with input conditions and improved perceptual quality, as shown by lower LPIPS and higher ACC scores.
  • The model generates high-fidelity, multi-view, and stylized face images that are consistent with both text prompts and visual inputs like semantic masks or scribble maps.
  • The method generalizes to 3D-aware face generation and style transfer tasks without additional data or loss terms, demonstrating strong zero-shot transfer capability.
  • The cross-attention maps significantly improve the relevance and sharpness of generated facial attributes, as validated by qualitative and quantitative results in Figure 8 and Table 2(e).

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.