Abstract
Advanced diffusion-based Text-to-Image (T2I) models, such as the Stable Diffusion Model, have made significant progress in generating diverse and high-quality images using text prompts alone. However, when non-famous users require personalized image generation for their identities (IDs), the T2I models fail to accurately generate their ID-related images. The main problem is that pre-trained T2I models do not learn the mapping between the new ID prompts and their corresponding visual content. The previous methods either failed to accurately fit the face region or lost the interactive generative ability with other existing concepts in T2I models. In this paper, we focus on inserting accurate and interactive ID embedding into the Stable Diffusion Model for semantic-fidelity personalized generation. We address this challenge from two perspectives: face-wise region fitting and semantic-fidelity token optimization. Specifically, we first visualize the attention overfit problem and propose a face-wise attention loss to fit the face region instead of entangling ID-unrelated information, such as face layout and background. This key trick significantly enhances the ID accuracy and interactive generative ability with other existing concepts. Then, we optimize one ID representation as multiple per-stage tokens where each token contains two disentangled features. This expansion of the textual conditioning space improves semantic-fidelity control. Extensive experiments validate that our results exhibit superior ID accuracy, text-based manipulation ability, and generalization compared to previous methods.
Introduction
Text-to-Image (T2I) models like Stable Diffusion excel at generating general concepts but struggle with personalized generation for specific, non-famous individuals. Existing personalization methods often encounter two primary hurdles: Attention Overfit and Limited Semantic-Fidelity.
Attention overfit occurs when the model associates a unique identifier (e.g., "V*") with the entire reference image, including the background and pose, rather than just the subject's identity. This prevents the subject from being seamlessly integrated into new scenes or performing new actions. Furthermore, treating a face as a static object makes it difficult to manipulate non-rigid attributes like expressions or age without degrading the likeness.
Methodology
The proposed framework addresses these challenges through two main innovations:
Face-Wise Region Fit (Attention Loss)
To prevent the model from overfitting to background elements, the authors introduce a reference-guided attention loss. By using a generic prompt (e.g., "a photo of the face of a person") to generate a standard attention map, they can constrain the attention map of the specific ID token ("V*") to match this generic template. This ensures the model learns features exclusively within the face region, preserving its ability to interact with other concepts in the prompt.
Semantic-Fidelity Token Optimization
The textual conditioning space is expanded by optimizing five pairs of per-stage tokens. Each pair consists of a Key (K) feature, which handles layout and environmental alignment, and a Value (V) feature, which captures fine-grained identity details. By distributing these tokens across different diffusion stages, the model achieves the flexibility to modify attributes while maintaining core identity.
Key Results
The method was evaluated against baselines like DreamBooth and Textual Inversion using datasets such as CelebA-HQ and synthetic StyleGAN data.
Quantitative Performance
User studies indicate that the proposed method significantly outperforms competitors in Prompt-Image alignment (0.58 vs. 0.20 for DreamBooth) and Image Quality (0.52 vs. 0.16 for Celeb Basis).
Qualitative Comparison
The model demonstrates superior ability in handling complex "Mix" prompts. For instance, when generating "a V* holding a basketball," the proposed method maintains high identity fidelity and correct action interaction, whereas previous methods often fail to correctly render the action or the identity.
Conclusion
This research presents a robust approach to personalized diffusion generation by focusing on region-specific attention and disentangled token optimization. While the method requires a short fine-tuning period (approximately 5 minutes), it offers a significant leap in identity accuracy and semantic control. Future work may explore reducing the need for per-ID optimization and handling more complex multi-identity scenarios.
Summary updated