The Chosen One: Consistent Characters in Text-to-Image Diffusion Models

Omri Avrahami, Amir Hertz, Yael Vinker, Moab Arar, Shlomi Fruchter, Ohad Fried, Daniel Cohen-Or, Dani Lischinski

TL;DR

"The Chosen One" introduces a fully automated pipeline for generating consistent characters in text-to-image models using nothing but a single text prompt. By iteratively clustering generated images and fine-tuning the model on the most cohesive group, the method distills a unique, stable identity that can be placed into any novel context without requiring pre-existing reference images.

What Problem Does This Paper Address?

While state-of-the-art text-to-image (T2I) models like SDXL are incredibly expressive, they suffer from a "consistency gap." If you prompt a model for "a 50-year-old man with curly hair" ten times, you will likely get ten different men.

For creators like novelists, comic book artists, or game designers, this lack of identity persistence is a dealbreaker. Existing solutions to this problem—such as DreamBooth or Textual Inversion—require a user to provide 3–10 reference images of the character. But what if the character only exists in the creator's mind? Currently, users have to manually "cherry-pick" similar images from hundreds of generations or use hacky prompt engineering (like mixing celebrity names). This paper seeks a "text-only" path to character consistency.

Methods

The authors propose an iterative distillation procedure that treats the T2I model itself as the data source. The process follows four main steps:

  1. Generation & Embedding: The model generates a large batch of images (e.g., 128) from the base prompt. These images are converted into high-dimensional vectors (embeddings) using a pre-trained feature extractor (DINOv2).
  2. Identity Clustering: The embeddings are grouped using K-Means++. The algorithm then identifies the "most cohesive" cluster—the group of images that are most similar to one another in feature space.
  3. Identity Extraction: The images in this cohesive cluster are used to fine-tune the model. The authors use a hybrid approach: Textual Inversion (learning a specific word-token for the character) combined with LoRA (Low-Rank Adaptation) of the model's attention layers. This "locks in" the visual features of that specific cluster.
  4. Iteration: The refined model is used to generate a new batch of images, which are now naturally more similar. The process repeats until the identity converges.

Crucially, this method is non-deterministic. Because the model starts with a wide variety of "potential" characters for a given prompt, different runs of the algorithm will result in different "Chosen Ones," allowing users to explore various interpretations of their text description.

Datasets

The method is a zero-shot distillation approach, meaning it doesn't require a specific training dataset of characters. Instead, it builds upon:

  • Stable Diffusion XL (SDXL): Used as the primary generative backbone.
  • Stable Diffusion 2.1: Used for ablation studies.
  • LAION-5B: Used to verify that the model isn't simply "memorizing" existing images from its training data (the authors show their generated characters are distinct from the nearest neighbors in LAION).
  • ChatGPT-generated prompts: Used to create a diverse evaluation set covering humans, animals, and fictional creatures in various art styles.

Key Insights and Ideas

  • The Manifold Hypothesis: The core "aha moment" is the realization that within the vast output space of a prompt like "a cute albino porcupine," there exist high-density "pockets" where a specific identity naturally emerges. The algorithm doesn't create an identity so much as it finds and amplifies one that the model was already predisposed to generate.
  • Cohesion as a Proxy for Identity: By mathematically defining "cohesion" (the average distance to a cluster centroid), the authors found a way to automate the "cherry-picking" process that humans usually do by hand.
  • The Power of Hybrid Tuning: The paper demonstrates that Textual Inversion alone isn't expressive enough to capture complex identities, while full fine-tuning overfits too quickly. The combination of a custom token plus LoRA attention weights provides the "Goldilocks" level of flexibility.

Key Results

  • Quantitative Superiority: In comparisons using CLIP-based metrics, "The Chosen One" achieved a significantly better balance between prompt alignment (how well the image matches the text) and identity consistency (how similar the character looks across different scenes) than baselines like IP-Adapter or BLIP-diffusion.
  • User Preference: In a user study on Amazon Mechanical Turk, the method was ranked as the most consistent (3.48/5) while maintaining high prompt similarity, outperforming established personalization techniques.
  • Versatility: The authors demonstrated the character's stability across "life stories" (generating the same man from infancy to old age) and integrated the method with ControlNet for precise pose control and Blended Latent Diffusion for local image editing.

Limitations and Future Work

  • Computational Cost: Each character extraction takes about 20 minutes on an NVIDIA A100 GPU. While faster than manual creation, it is not yet "instant."
  • Supporting Elements: The method currently only ensures the consistency of the primary subject. If you prompt for "a girl with her cat," the girl will remain consistent across images, but the cat may change appearance.
  • Spurious Attributes: Sometimes the model "over-distills" and bakes in accidental details. For example, if the most cohesive cluster of "ginger cat stickers" all happened to have green leaves in the background, the final model might think the green leaves are part of the cat's identity.
  • Simplistic Scenes: The authors noted a tendency for the model to favor centered, simple compositions, likely a side effect of the "averaging" nature of the identity extraction phase.

Summary updated

BibTeX
@inproceedings{avrahami2024chosen,
  author = {Omri Avrahami and Amir Hertz and Yael Vinker and Moab Arar and Shlomi Fruchter and Ohad Fried and Daniel Cohen-Or and Dani Lischinski},
  title = {{The Chosen One: Consistent Characters in Text-to-Image Diffusion Models}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2024},
  doi = {10.1145/3641519.3657430},
}
Figure