DreamSteerer: Enhancing Source Image Conditioned Editability using Personalized Diffusion Models

Zhengyang Yu, Zhaoyuan Yang, Jing Zhang

Introduction

Text-to-image (T2I) personalization has exploded in popularity, allowing models to learn a specific concept—like your pet dog or a unique toy—from just a few reference photos. However, while these models excel at generating new images of a personalized subject in novel contexts (e.g., "[my_dog] in space"), they struggle significantly with editing existing images.

If you attempt to take a source photo of a random cat and use a personalized model to replace it with your cat, the results are often messy. The model typically suffers from "mode trapping," where it gets stuck between the visual distribution of the source image and the reference images. This leads to severe distortions: the background is destroyed, or the personalized subject fails to adapt to the pose and structure of the original image.

DreamSteerer is a novel "plug-in" method designed to solve this. It significantly improves how personalized diffusion models (like DreamBooth or Textual Inversion) perform image editing, allowing users to seamlessly swap objects in a source image with their own personalized concepts while perfectly preserving the original image's layout and background.

The DreamSteerer Approach

DreamSteerer enhances editability through four main technical components:

  1. Editability Driven Score Distillation (EDSD): Instead of standard fine-tuning, DreamSteerer uses a distillation objective. It applies a single-step denoising perturbation (based on Tweedie’s formula) to the source image and trains the personalized model to "steer" that noisy state toward the personalized concept.
  2. Mode Shifting Regularization: To solve the "mode trapping" issue, the authors generate a set of regularization images. Rather than just using the reference images, they generate new images using the personalized model.
  3. Spatial Feature Guided Sampling: To ensure these regularization images are useful, DreamSteerer uses the UNet's self-attention features from the source image to guide the sampling process. This ensures the generated regularization set shares the same structural layout as the image being edited, effectively "shifting" the model's internal distribution toward the target task.
  4. DDS-SM (Delta Denoising Score with Subject Masking): The authors refine the existing Delta Denoising Score (DDS) framework by using the original, non-personalized model as a "source anchor." This prevents the personalized model's biases from bleeding into the background. They also implement automatic subject masking using cross-attention maps to ensure edits remain strictly local.

Key Insights

  • The Geometry of Mode Trapping: The authors realized that the failure of personalized editing isn't just a lack of training; it's a geometric problem in the model's latent space. The model becomes "trapped" between two different data distributions.
  • Structure is in the Attention: A crucial finding is that the UNet's self-attention layers contain the "blueprint" of an image's layout. By forcing the model to match these features during the regularization phase, DreamSteerer can change the identity of an object without changing its pose or environment.
  • The Jacobian Flip: In a technical twist, setting the Jacobian term in their gradient calculation to $-I$ (negative identity) led to much better layout adaptation than the standard $+I$ used in previous score distillation research.

Results and Performance

DreamSteerer was evaluated across several popular personalization baselines (Textual Inversion, DreamBooth, and Custom Diffusion) using datasets like ViCo, PIE-Bench, and real-world "in-the-wild" images.

Qualitative comparison of DreamSteerer against baselines.

DreamSteerer consistently outperformed baseline personalization methods across all metrics:

  • Qualitative Superiority: The method excels at bridging "significant structural gaps." As seen in the comparisons, it can successfully turn a small, sitting kitten into a tall, standing personalized cat statue, or transform a standard building into a specific wooden barn, all while keeping reflections and background details intact.
  • Quantitative Gains: It showed marked improvements in LPIPS (perceptual similarity) and SSIM (structural similarity), meaning the edited images looked more realistic and stayed truer to the original photo's layout.
  • High Efficiency: DreamSteerer is a "lightweight" fine-tuning step. It requires only about 10 optimization steps—taking roughly one minute on a consumer GPU—to achieve these high-fidelity results.

Limitations and Future Work

Because DreamSteerer acts as a "plug-in," its ultimate success is still tethered to the quality of the underlying personalization baseline. If the initial DreamBooth training fails to capture the identity of the subject perfectly, DreamSteerer cannot magically fix that identity deficit.

Future work will likely focus on developing more robust latent state inversion techniques specifically designed for personalized models, as current methods (like Null-Text Inversion) can struggle when model parameters have been significantly shifted during the initial personalization process.

Summary updated

BibTeX
@inproceedings{yu2024dreamsteerer,
  author = {Zhengyang Yu and Zhaoyuan Yang and Jing Zhang},
  title = {{DreamSteerer: Enhancing Source Image Conditioned Editability using Personalized Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=UekHycx0lz},
}
Figure