Overview
FeedFace is a highly efficient, inference-based method for "face personalization" in text-to-image (T2I) diffusion models. It allows users to generate images of specific people without needing to retrain the model for every new subject. By utilizing a novel face-controlnet architecture and a specialized regularization mask loss, FeedFace achieves state-of-the-art facial consistency while using only 0.4% of the training data required by previous industry standards.
The Challenge of Identity Consistency
While T2I models like Stable Diffusion are incredibly powerful, they struggle with identity consistency—the ability to generate the exact same person across different scenes, lighting conditions, and prompts.
Existing solutions generally fall into two camps, both with significant drawbacks:
- Optimization-based (e.g., DreamBooth): These methods require fine-tuning the entire model on a few images of a specific person. This process is slow (taking minutes to hours), computationally expensive, and requires storing a unique set of model weights for every individual you want to generate.
- Inference-based: These attempt to "plug in" a face at generation time without retraining. However, many current versions require massive datasets to train the initial plug-in module and often struggle to balance facial likeness with background quality and text alignment.
FeedFace bridges this gap by creating a "zero-shot" model (requiring no training for new faces) that is extremely efficient to train initially.
Methods: The Face-ControlNet Architecture
The authors introduce an architecture called face-controlnet, which builds upon the popular ControlNet framework but optimizes it specifically for facial features.
- Face Image Encoder: The model uses a pre-trained CLIP image encoder to extract rich semantic features from a reference face. These features are then mapped into the diffusion model's latent space via a trainable linear layer.
- The Control Block: This block runs alongside the original "frozen" transformer blocks of the diffusion model. It uses cross-attention mechanisms to inject the extracted facial features into the generation process.
- Zero-Initialization: To ensure the model doesn't "break" or produce noise during the early stages of training, the final linear layers of the control blocks are initialized to zero. This allows the model to gradually learn how to integrate the new facial information.
- Regularization Mask Loss: This is the core innovation for training. Instead of calculating loss on the entire image, the authors use a facial mask. For the face area, the model is optimized to match the ground truth. For the background, the model is penalized if it deviates from what the original (unconditioned) model would have predicted. This prevents the background from becoming blurry or losing detail, a common issue in face-conditioned generation.
Datasets and Key Insights
The model was trained on a refined version of the FFHQ (Flickr-Faces-HQ) dataset, filtered down to 41,000 high-quality, single-face images, with descriptive captions generated by LLaVA. Evaluation was performed using a benchmark constructed from the PPR10K dataset, testing 36 distinct identities for face alignment, text alignment, and generation speed.
Several key insights emerged from the development of FeedFace:
- Extreme Data Efficiency: You don't need massive datasets to achieve high-quality personalization. FeedFace uses only 0.4% of the data volume and 3.75% of the training steps compared to competing models like Face0, yet produces comparable or superior results.
- Background Preservation: By using the original model's noise predictions as a "regularizer" for the background, the authors solved the common problem where face-conditioned models "forget" how to draw high-quality backgrounds, which often leads to a cheap, "pasted-on" look.
- Multi-Face Conditioning: The architecture naturally supports inputting multiple photos of the same person. By concatenating features from several angles, the model achieves much higher facial consistency than it would with a single reference image.
Key Results
FeedFace was benchmarked against DreamBooth, the current industry standard for optimization-based personalization:
- Face Alignment: FeedFace achieved an Insightface score of 0.293, compared to DreamBooth's 0.176, demonstrating significantly better identity preservation.
- Speed: FeedFace processed the entire 36-identity benchmark in just 22 minutes, whereas DreamBooth took 72 minutes due to the need for per-subject fine-tuning.
- Training Overhead: FeedFace was trained on just 4.8M image-text pairs, a massive reduction from the 128M pairs used by competing inference-based models.
Limitations and Future Work
Despite the massive efficiency gains, the authors note a few remaining hurdles. Occasionally, "pasting" artifacts occur where the face doesn't blend perfectly with the lighting or style of the generated background. There is also a natural trade-off between following complex text prompts (e.g., "a person screaming") and maintaining the reference face (which is typically a neutral headshot). Future work will explore generating multiple distinct identities in a single image and extending the method to open-domain generation beyond human faces.
Summary updated