Abstract
Personalizing text-to-image models like Stable Diffusion typically involves "inverting" a small set of reference images into a unique word embedding. However, existing methods often suffer from a trade-off between identity preservation and prompt editability. We introduce Cross Initialization, a novel initialization strategy that leverages the output space of a text encoder. By starting optimization from a mathematically informed neighborhood, our method achieves high-fidelity personalization in just 26 seconds, significantly outperforming traditional Textual Inversion in both speed and the ability to perform complex edits like facial expression changes.
Introduction: The Personalization Trade-off
The goal of personalized text-to-image generation is to teach a model a specific concept (e.g., a person's face) so it can be rendered in new contexts. This is traditionally achieved via Textual Inversion, which optimizes a new word embedding ($S^*$) to represent the target.
A persistent challenge in this field is the "Goldilocks" problem:
- Overfitting: The model captures the face perfectly but becomes unresponsive to prompts, failing to change expressions or styles.
- Underfitting: The model remains editable but fails to maintain the target's identity.
Research indicates this stems from poor initialization. Standard methods start with generic category words (e.g., "face"). During training, these embeddings often grow up to 100x in scale, drifting far from the natural distribution of the text encoder and "locking" the model's output.
Methodology: Cross Initialization
The core innovation of this work is Cross Initialization. Instead of optimizing the input to a text encoder (like CLIP) from a generic starting point, the authors initialize the concept $S^*$ using the output of the text encoder.
Specifically, the method calculates the average embedding of 691 well-known celebrity names, passes this through the encoder, and uses the resulting vector as the starting point. This ensures the optimization begins at the correct scale and orientation. To prevent the embedding from drifting back into an overfitted state, an L2 regularization term is applied to keep the learned vector close to this optimized initialization.
Key Results and Evaluation
The shift to output-space initialization allows the model to converge much faster. The "Ours-fast" variant captures a new identity in approximately 26 seconds on an A800 GPU, compared to the 100+ minutes required by standard Textual Inversion.
Quantitative evaluations support these qualitative gains:
- Identity Preservation: Using the ArcFace metric, the method demonstrates superior identity maintenance compared to baselines like DreamBooth.
- Editability: CLIP scores confirm that generated images follow complex text instructions more accurately than previous methods.
- Expression Control: Cross Initialization is notably effective at editing facial expressions (e.g., "excited" or "worried") while preserving the subject's identity—a task where most personalization models fail.
Conclusion and Future Work
Cross Initialization provides a simple yet effective solution to the scale-drift problem in Textual Inversion. While currently optimized for human faces due to the use of celebrity-based initialization, it sets a new benchmark for speed and editability. Future research will explore generalizing this output-space initialization to a broader range of objects and abstract concepts.
Summary updated