AdaFace: A Versatile Face Encoder for Zero-Shot Diffusion Model Personalization

Shaohua Li, Xiuchao Sui, Hong Yang, Pin Nean Lai, Weide Liu, Xinxing Xu, Yong Liu, Rick Siow Mong GohOpenReview 2024 · Submission to NeurIPS 2024 · Rejected

Abstract

Since the advent of diffusion models, personalizing these models -- conditioning them to render novel subjects -- has been widely studied. Recently, several methods propose training a dedicated image encoder on a large variety of subject images. This encoder maps the images to identity embeddings (ID embeddings). During inference, these ID embeddings, combined with conventional prompts, condition a diffusion model to generate new images of the subject. However, such methods often face challenges in achieving a good balance between authenticity and compositionality -- accurately capturing the subject's likeness while effectively integrating them into varied and complex scenes. A primary source for this issue is that the ID embeddings reside in the \emph{image token space} (``image prompts"), which is not fully composable with the text prompt encoded by the CLIP text encoder. In this work, we present AdaFace, an image encoder that maps human faces into the \emph{text prompt space}. After being trained only on 400K face images with 2 GPUs, it achieves high authenticity of the generated subjects and high compositionality with various text prompts. In addition, as the ID embeddings are integrated in a normal text prompt, it is highly compatible with existing pipelines and can be used without modification to generate authentic videos. We showcase the generated images and videos of celebrities under various compositional prompts. The source code is released on an anonymous repository \url{https://github.com/adaface-neurips/adaface}.
BibTeX
@misc{li2024adaface,
  author = {Shaohua Li and Xiuchao Sui and HONG YANG and Pin Nean Lai and Weide Liu and Xinxing Xu and Yong Liu and Rick Siow Mong Goh},
  title = {{AdaFace: A Versatile Face Encoder for Zero-Shot Diffusion Model Personalization}},
  year = {2024},
  url = {https://openreview.net/forum?id=Hc2ZwCYgmB},
  howpublished = {OpenReview},
  note = {Submitted to NeurIPS 2024},
}

Loading related content...

Figure