NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CatVersion: Concatenating Embeddings for Diffusion-Based Text-to-Image Personalization

Ruoyu Zhao, Mingrui Zhu, Shiyin Dong, De Cheng, Nannan Wang, Xinbo Gao

TL;DR

CatVersion is a novel personalization method for text-to-image diffusion models that learns specific concepts by concatenating learnable "residual embeddings" to the Keys and Values within the text encoder's feature-dense space. By learning the gap between a base class and a specific instance rather than optimizing sparse word embeddings, it achieves a superior balance between faithful reconstruction and robust editability.

What Problem Does This Paper Address?

Text-to-image (T2I) personalization aims to teach a pre-trained model a new, specific concept (like your pet dog or a unique teapot) using only a handful of reference images. Existing methods generally fall into two camps, both with significant drawbacks:

  1. Word Embedding Inversion (e.g., Textual Inversion): These methods optimize a new token in the input word embedding space. However, this space is "feature-sparse," meaning small errors in the learned embedding are easily amplified when combined with complex text prompts, leading to "concept dilution" where the specific object loses its identity.
  2. Model Fine-tuning (e.g., DreamBooth): These methods update the weights of the diffusion model itself. While they capture the object well, they are prone to overfitting, often "locking" the object to the backgrounds or poses seen in the training images and destroying the model's ability to generate the object in new contexts.

CatVersion seeks to bridge this gap by identifying a more effective "inversion space" that preserves the model's prior knowledge while accurately capturing unique details.

Methods

The core innovation of CatVersion is Embedding Concatenation in a "feature-dense" space.

  • Locating the Feature-Dense Space: The authors analyzed the CLIP text encoder and found that different layers integrate different levels of information. Shallow layers focus on basic subject information, while deeper layers integrate abstract concepts and complex scene relationships. They identified the last three self-attention layers as the optimal "feature-dense" space for personalization.
  • Residual Embedding Learning: Instead of replacing existing embeddings, CatVersion concatenates learnable embeddings ($\Delta_k, \Delta_v$) to the Keys ($K$) and Values ($V$) of these specific layers. During training, the model uses a base class word (e.g., "dog") as input. The learned embeddings act as a residual on the original attention output, effectively learning the "gap" between the general concept of a "dog" and the specific dog in the reference images.
  • Masked CLIP Evaluation: The authors noted that standard CLIP image alignment scores are often inflated by background overfitting. They introduced $CLIP_{img+}$, which uses masks to calculate alignment scores specifically for the object of interest, providing a more unbiased measure of reconstruction fidelity.
The overall pipeline showing how residual embeddings are concatenated to the text encoder's attention blocks.

Datasets

The authors evaluated CatVersion using datasets established by prior works, including those from Textual Inversion [4], DreamBooth [20], and Perfusion [26]. These datasets consist of various personalized concepts like pets, toys, and household objects. To test editability, they used prompts covering four dimensions: attribute transfer, scene transformation, action editing, and concept addition.

Key Insights and Ideas

  • The "Where" Matters: The discovery that deeper layers in the text encoder are better suited for capturing the nuances of personalization is a major "aha moment." Figure 4 illustrates how optimizing shallow layers fails to integrate complex actions like "running," whereas deeper layers handle them gracefully.
  • Residuals over Replacements: By treating the personalized features as a residual to a base class, the model leverages its vast pre-existing knowledge of that class. This makes the optimization process much more stable than trying to define a new concept from scratch in a sparse embedding space.
  • Plug-and-Play: Like Textual Inversion, these residual embeddings are modular. They can be saved, shared, and combined with different text prompts without needing to store a full copy of the diffusion model's weights.
Visualizing how different layers integrate information; deeper layers are better at handling abstract actions.

Key Results

CatVersion demonstrates a significant improvement in the trade-off between fidelity and editability:

  • Quantitative Performance: In head-to-head comparisons, CatVersion achieved the highest Overall Score (0.4498), which is the geometric mean of text and image alignment. It outperformed DreamBooth (0.4427) and significantly beat the baseline Textual Inversion (0.4163).
  • User Study: In a study with 50 participants, CatVersion was the most preferred method for overall personalized effect (40% preference) and text-guided editability (31% preference).
  • Qualitative Superiority: As seen in Figure 5, CatVersion successfully generates complex combinations, such as a specific "teapot" transformed into a "car," where other methods either lose the teapot's unique patterns or fail to make it look like a car.
Qualitative comparison showing CatVersion's superior ability to maintain object identity across diverse prompts.

Limitations and Future Work

  • Optimization Speed: Unlike "encoder-based" methods that can perform personalization in a single forward pass, CatVersion still requires a dedicated optimization process (approx. 1000 steps) for each new concept.
  • Single Concept Constraint: The current implementation is designed to learn one concept at a time. The authors suggest that future work could explore multi-concept inversion within the same optimization framework.
  • Applicability: While effective for objects and pets, the paper does not extensively explore its performance on human faces, which often require even higher precision.

Summary updated

BibTeX
@article{zhao2025catversion,
  author = {Ruoyu Zhao and Mingrui Zhu and Shiyin Dong and De Cheng and Nannan Wang and Xinbo Gao},
  title = {{CatVersion: Concatenating Embeddings for Diffusion-Based Text-to-Image Personalization}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2025},
  doi = {10.1109/tcsvt.2025.3531917},
}
Figure