TL;DR
Personalizing text-to-image models often leads to a tug-of-war between identity preservation and editability. This paper introduces Cross Initialization, a technique that initializes textual embeddings using the text encoder's output, slashing optimization time by over 90% while enabling unprecedented control over facial expressions.
What Problem Does This Paper Address?
Text-to-image personalization allows users to teach a model a specific concept—like their own face—using just a few images. A popular approach is Textual Inversion (TI), which finds a unique "word" (a textual embedding) in the model's vocabulary that represents that person.
However, TI faces a persistent "overfitting" problem. If the model learns the face too well, it loses the ability to change the person's expression or put them in new styles (poor editability). If it prioritizes editability, the generated images don't look like the target person (poor reconstruction). The authors trace this failure back to initialization. Standard methods start with a generic token like "face." The authors discovered that after optimization, the learned embedding's scale can be up to 100 times larger than the starting point, and its orientation changes drastically. This massive "jump" during training is what causes the model to overfit and lose flexibility.
Methods
The core innovation is Cross Initialization. Instead of starting with a raw token embedding, the authors initialize the process using the output of the CLIP text encoder.
- Mean Textual Embedding: They first calculate a "mean face" embedding by averaging the embeddings of 691 well-known names.
- The "Cross" Step: They pass this mean embedding through the CLIP text encoder. The resulting output vector is used to initialize the new personalized token.
- Regularization: To prevent the embedding from drifting too far during training, they add an $L_2$ regularization term that keeps the learned embedding close to this high-quality starting point.
By starting the optimization in a region of the embedding space that the text encoder already "understands" as a face, the model doesn't have to perform the massive, overfitting-prone leaps seen in standard Textual Inversion.
Datasets
The researchers evaluated their method using:
- CelebA-HQ: They used the first 200 images from the test set of this high-quality celebrity face dataset.
- Custom Prompts: A set of 20 prompts covering expression editing, background changes, interactions with other people (e.g., "S* and Elon Musk"), and artistic stylization.
Key Insights and Ideas
- The Scale Disparity: The most striking finding is that optimized embeddings in standard TI are "blown out" in scale. This suggests that the model is using extreme values to force the diffusion process to recreate a specific image, rather than learning a generalizable concept.
- Encoder Alignment: The authors observed that after optimization, learned embeddings naturally tend to align with the output of the CLIP encoder anyway. Cross Initialization simply starts the process at the finish line, making the optimization much smoother.
- Facial Expression Breakthrough: Most personalization methods struggle to change a subject's expression because the neutral expression from the input image is "baked into" the learned token. Because Cross Initialization stays closer to the "mean face" subspace, it retains the flexibility to respond to modifiers like "excited" or "worried."
Key Results
- Speed: The method reduces optimization steps from 5,000 down to just 320.
- Efficiency: A "fast" version of the method can capture an identity in just 26 seconds (25 steps) on an A800 GPU.
- Qualitative Superiority: As shown in the comparisons, Cross Initialization is the only method tested that successfully and convincingly edits facial expressions while maintaining identity.
- Quantitative Performance: In user studies, participants preferred the results of Cross Initialization over baselines like DreamBooth and NeTI by a wide margin (over 73% preference in all cases).
Limitations and Future Work
The authors acknowledge that their current study focuses almost exclusively on the human face. While highly effective for people, they noted that Cross Initialization is currently less effective for general objects or broader concepts.
Future work will involve investigating how to adapt this initialization strategy to a wider range of categories, potentially by finding better "mean embeddings" for different object classes.
Summary updated