Skip to main content
QUICK REVIEW

[Paper Review] Highly Personalized Text Embedding for Image Manipulation by Stable Diffusion

Inhwa Han, Serin Yang|arXiv (Cornell University)|Mar 15, 2023
Generative Adversarial Networks and Image SynthesisComputer Science10 citations
TL;DR

The paper introduces HiPer, a simple, non-fine-tuned method that personalizes Stable Diffusion by decomposing CLIP embeddings into a highly personalized tail and a semantic head, enabling single-image, text-guided manipulation of background, texture, and motion.

ABSTRACT

Diffusion models have shown superior performance in image generation and manipulation, but the inherent stochasticity presents challenges in preserving and manipulating image content and identity. While previous approaches like DreamBooth and Textual Inversion have proposed model or latent representation personalization to maintain the content, their reliance on multiple reference images and complex training limits their practicality. In this paper, we present a simple yet highly effective approach to personalization using highly personalized (HiPer) text embedding by decomposing the CLIP embedding space for personalization and content manipulation. Our method does not require model fine-tuning or identifiers, yet still enables manipulation of background, texture, and motion with just a single image and target text. Through experiments on diverse target texts, we demonstrate that our approach produces highly personalized and complex semantic image edits across a wide range of tasks. We believe that the novel understanding of the text embedding space presented in this work has the potential to inspire further research across various tasks.

Motivation & Objective

  • Demonstrate that a highly personalized text embedding can preserve subject identity while enabling semantic edits guided by text prompts.
  • Eliminate the need for model fine-tuning or identifiers in personalization for diffusion-based image manipulation.
  • Show that manipulating background, texture, and motion can be achieved from a single source image and a target text.

Proposed method

  • Decompose the source CLIP embedding into a semantic part and a tail part, keeping the tail as the HiPer embedding to preserve identity.
  • Optimize only the HiPer tail embedding (N tokens) while keeping the semantic head fixed, using a diffusion model loss.
  • Construct a composite embedding by concatenating the target semantic embedding with the HiPer tail during inference to drive image generation.
  • Perform optimization in latent space of Stable Diffusion rather than image space.
  • Use a short training process (approximately 3 minutes, 1000 optimization steps, N=5) without model fine-tuning or identifiers.
Figure 1 : Image manipulation results with highly personalized (HiPer) text embeddings. In the upper row, the identities of the rabbit and the dog are well preserved while adequately manipulating the images to align with target texts. In the bottom row, not only motion and background, but also textu
Figure 1 : Image manipulation results with highly personalized (HiPer) text embeddings. In the upper row, the identities of the rabbit and the dog are well preserved while adequately manipulating the images to align with target texts. In the bottom row, not only motion and background, but also textu

Experimental results

Research questions

  • RQ1Can a small, highly personalized tail embedding preserve subject identity while enabling flexible target-text driven edits?
  • RQ2Does decomposing CLIP embeddings into a personalized tail and a semantic head improve multi-aspect edits (motion, background, texture) without fine-tuning the diffusion model?
  • RQ3What is the impact of the number of personalized tokens N on identity preservation and edit fidelity?

Key findings

  • HiPer enables highly personalized edits across motion, background, and texture while preserving source identity.
  • Optimizing only the HiPer tail (N=5) with a single source image yields competitive or superior results compared to DreamBooth, Textual Inversion, and Imagic baselines under Stable Diffusion.
  • Increasing N leads to overfitting and identity leakage from the source image, while too small N reduces identity preservation.
  • Cross-attention analysis shows the personalized embedding activates attention maps differently from standard embeddings, supporting separation of personalization and manipulation.
  • The method requires no model fine-tuning and achieves training times around three minutes.
Figure 2 : The proposed method. (Training) First, the source text prompt, which have the meaning of source image, is converted to text embedding. Some parts of text embedding, which have no information, are removed. The informative target embedding part and the personalized embedding is concatenated
Figure 2 : The proposed method. (Training) First, the source text prompt, which have the meaning of source image, is converted to text embedding. Some parts of text embedding, which have no information, are removed. The informative target embedding part and the personalized embedding is concatenated

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.