Abstract
Recent advances in generative modeling have enabled the generation of high-quality synthetic data that is applicable in a variety of domains, including face recognition. Here, state-of-the-art generative models typically rely on conditioning and fine-tuning of powerful pretrained diffusion models to facilitate the synthesis of realistic images of a desired identity. Yet, these models often do not consider the identity of subjects during training, leading to poor consistency between generated and intended identities. In contrast, methods that employ identity-based training objectives tend to overfit on various aspects of the identity, and in turn, lower the diversity of images that can be generated. To address these issues, we present in this paper a novel generative diffusion-based framework, called ID-Booth. ID-Booth consists of a denoising network responsible for data generation, a variational auto-encoder for mapping images to and from a lower-dimensional latent space and a text encoder that allows for prompt-based control over the generation procedure. The framework utilizes a novel triplet identity training objective and enables identity-consistent image generation while retaining the synthesis capabilities of pretrained diffusion models. Experiments with a state-of-the-art latent diffusion model and diverse prompts reveal that our method facilitates better intra-identity consistency and inter-identity separability than competing methods, while achieving higher image diversity. In turn, the produced data allows for effective augmentation of small-scale datasets and training of betterperforming recognition models in a privacy-preserving manner.
1. Introduction
Training robust face recognition models requires massive, diverse datasets. However, collecting real-world face data is fraught with privacy, consent, and copyright hurdles. Synthetic data offers a solution, but current generative models face a significant "consistency vs. diversity" dilemma. Standard models often struggle with Identity Drift, where a person's face changes across different prompts, or Overfitting, where fine-tuning methods like DreamBooth produce "boring" data that mimics the training set's limited poses and lighting.
ID-Booth addresses these challenges by enabling diffusion models to generate highly diverse, "in-the-wild" images of a specific person while maintaining strict identity consistency. By introducing a unique triplet identity loss, the framework balances the trade-off between keeping a face recognizable and allowing for significant variations in pose, lighting, and environment.
2. Methodology
ID-Booth builds on Stable Diffusion 2.1 and utilizes Low-Rank Adaptation (LoRA) for efficient fine-tuning. The core innovation is the training objective, which combines three distinct losses:
- Reconstruction Loss ($L_{REC}$): Ensures the model can recreate the original training images.
- Prior Preservation Loss ($L_{PR}$): Prevents the model from "forgetting" general human features, maintaining overall image quality.
- Triplet Identity Loss ($L_{TID}$): Utilizing a pretrained face recognition model (ArcFace), the system compares the generated image against a positive sample (the target identity) and negative samples (random identities). This allows the model to learn the unique features of the target while distinguishing them from general human traits.
The $L_{TID}$ is dynamically weighted to be more influential during the later stages of the denoising process, where fine facial details are established. This prevents the model from overfitting to the specific background or lighting of the training images, enabling the prompt-based control required for diverse data generation.
3. Experimental Evaluation
3.1 Datasets and Benchmarks
The framework was fine-tuned using the Tufts Face Database (TFD), which contains 113 subjects in constrained laboratory settings. For evaluation, the authors used FFHQ as a reference for high-quality, in-the-wild images. Identity consistency was tested against standard benchmarks including LFW, CA-LFW (cross-age), CP-LFW (cross-pose), AgeDB-30, and CFP-FP.
3.2 Key Results
- Identity Consistency: In verification tests, ID-Booth achieved a lower Equal Error Rate (EER) and better Fisher Discriminant Ratio (FDR) than competitors, indicating superior identity preservation.
- Diversity: Using the Vendi score, ID-Booth significantly outperformed DreamBooth and PortraitBooth, particularly in generating varied head poses (pitch, yaw, and roll).
- Downstream Utility: Augmenting the Tufts dataset with ID-Booth samples improved the accuracy of a ResNet-50 face recognition model from 57.5% to 65.4% across five real-world benchmarks.
4. Conclusion and Future Work
ID-Booth demonstrates that synthetic data can effectively augment small-scale datasets to train better-performing recognition models in a privacy-preserving manner. While the current fine-tuning process requires approximately 31 minutes per identity on an Nvidia A100, future work will explore "zero-shot" identity generation to eliminate the need for per-identity training. Additionally, scaling the framework to larger, more demographically diverse datasets remains a key priority for future research.
Summary updated