Collaborative Diffusion for Multi-Modal Face Generation and Editing

Ziqi Huang, Kelvin C. K. Chan, Yuming Jiang, Ziwei Liu · DOI

Introduction

Collaborative Diffusion introduces a novel framework designed to orchestrate multiple pre-trained, uni-modal diffusion models for complex face generation and editing tasks. While existing diffusion models excel at following single-modality instructions—such as text prompts or segmentation masks—they often struggle when required to synthesize images based on multiple, potentially conflicting modalities. Collaborative Diffusion addresses this by utilizing a lightweight meta-network to manage the interaction between these models without the need for expensive retraining.

The Challenge of Multi-Modal Synthesis

The primary hurdle in multi-modal image synthesis is the "uni-modal" nature of state-of-the-art diffusion models. A model trained on text-to-image tasks lacks the structural precision of a mask-to-image model, and vice versa. For instance, a user might want to generate a face with a specific age (text) and a specific hairstyle (mask). Existing methods that simply average the outputs of different models often result in blurry images or a failure to adhere to one of the constraints. Training a comprehensive multi-modal model from scratch is computationally prohibitive and lacks the flexibility to incorporate new modalities later.

Methods: The Dynamic Diffuser

The core of the Collaborative Diffusion framework is the Dynamic Diffuser, a meta-network approximately 30 times smaller than the base diffusion models. This component predicts influence functions that determine the relative weight of each modality at every step of the denoising process.

A segmentation mask providing structural guidance for face generation.

Spatial-Temporal Adaptivity

The Dynamic Diffuser operates with spatial and temporal awareness. It recognizes that structural modalities (like masks) are more critical during the early stages of denoising to establish the overall layout, whereas semantic modalities (like text) are more influential in later stages for refining textures and fine details. This ensures that the "where" and "when" of each modality's influence are optimized for realism.

Bilateral Connections and Editing

Instead of merging final outputs, the framework establishes bilateral connections between the latent denoising steps of the collaborator models. This allows for a more nuanced blending of features. Furthermore, the framework extends the "Imagic" technique for multi-modal editing, fine-tuning embeddings to preserve identity while applying seamless modifications.

Experimental Evaluation

The researchers evaluated the framework using the CelebAMask-HQ and CelebA-Dialog datasets, which provide high-resolution images paired with detailed segmentation masks and natural language descriptions.

A high-fidelity face generated by Collaborative Diffusion, respecting both structural and semantic inputs.

Key Results

Collaborative Diffusion demonstrated superior performance over existing methods like TediGAN and Composable Diffusion:

  • Quantitative Metrics: The framework achieved a lower Fréchet Inception Distance (FID) of 111.36, compared to 124.62 for Composable Diffusion, indicating higher realism. It also showed improved CLIP scores and mask accuracy.
  • Qualitative Preference: In user studies, over 69% of participants preferred the generated results, and 84% preferred the edited results of Collaborative Diffusion over competing frameworks, citing better identity preservation.

Conclusion and Future Work

Collaborative Diffusion provides an efficient, "plug-and-play" solution for multi-modal control in face synthesis. By keeping large base models frozen and training only a small meta-network, it offers a scalable path for upgrading existing AI tools. While the performance is currently bounded by the quality of the underlying uni-modal models, future research may extend this collaborative approach to other domains, such as video synthesis and 3D object generation.

Summary updated

BibTeX
@inproceedings{huang2023collaborative,
  author = {Ziqi Huang and Kelvin C. K. Chan and Yuming Jiang and Ziwei Liu},
  title = {{Collaborative Diffusion for Multi-Modal Face Generation and Editing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00589},
}

Loading related content...

Figure