[Paper Review] Custom-Edit: Text-Guided Image Editing with Customized Diffusion Models
Custom-Edit proposes a two-stage text-guided image editing framework that first customizes a diffusion model using only language-relevant parameters (text embeddings and attention weights) with augmented prompts, then performs high-fidelity editing while preserving source structure and enhancing reference appearance fidelity. The method achieves superior source-reference similarity trade-off compared to prior approaches like Textual Inversion and Dreambooth.
Text-to-image diffusion models can generate diverse, high-fidelity images based on user-provided text prompts. Recent research has extended these models to support text-guided image editing. While text guidance is an intuitive editing interface for users, it often fails to ensure the precise concept conveyed by users. To address this issue, we propose Custom-Edit, in which we (i) customize a diffusion model with a few reference images and then (ii) perform text-guided editing. Our key discovery is that customizing only language-relevant parameters with augmented prompts improves reference similarity significantly while maintaining source similarity. Moreover, we provide our recipe for each customization and editing process. We compare popular customization methods and validate our findings on two editing methods using various datasets.
Motivation & Objective
- To address the limitation of text-guided image editing in faithfully transferring user-specified visual concepts not seen during pretraining.
- To improve reference appearance fidelity in text-guided editing by customizing only language-relevant model parameters.
- To balance the trade-off between preserving source image structure and matching reference appearance fidelity.
- To provide a practical recipe for customization and editing that outperforms existing methods in both qualitative and quantitative metrics.
Proposed method
- Customizes a pre-trained diffusion model (Stable Diffusion) by fine-tuning only the cross-attention keys and values and a rare token embedding (V*) using reference images.
- Applies augmented text prompts in the form '[rare token] [modifier] [class noun]' to enhance focus on reference appearance during fine-tuning.
- Incorporates a prior preservation loss using CLIP-retrieved images from LAION to maintain general language understanding and prevent language drift.
- Uses Prompt-to-Prompt (P2P) and SDEdit for text-guided editing, injecting modified attention maps to preserve source structure while transferring reference appearance.
- Employs BLIP2 to generate source prompts automatically, enabling end-to-end text-guided editing without manual captioning.
- Controls editing strength via injection time (t=τ) in P2P and diffusion steps in SDEdit, enabling trade-off analysis between source and reference similarity.
![Figure 1 : Our Custom-Edit allows high-fidelity text-guided editing, given a few references. Edited images with BLIP2 [ 13 ] captions show the limitation of textual guidance in capturing the fine-grained appearance of the reference.](https://ar5iv.labs.arxiv.org/html/2305.15779/assets/x1.png)
Experimental results
Research questions
- RQ1Can customizing only language-relevant parameters in a diffusion model significantly improve reference appearance fidelity in text-guided image editing?
- RQ2How does the choice of customization method (e.g., Custom-Diffusion vs. Textual Inversion vs. Dreambooth) affect the source-reference similarity trade-off?
- RQ3Does using augmented prompts ('[rare token] [modifier] [class noun]') improve the model's ability to capture fine-grained visual details from few reference images?
- RQ4How do different editing frameworks (P2P vs. SDEdit) interact with customized models in terms of preserving source structure and matching reference appearance?
- RQ5What is the impact of prior preservation loss on maintaining general language understanding during customization?
Key findings
- Custom-Edit with augmented prompts and language-relevant parameter fine-tuning achieves the best source-reference similarity trade-off on both P2P and SDEdit editing frameworks.
- Custom-Diffusion outperforms Textual Inversion and Dreambooth in reference similarity while maintaining comparable or better source similarity, demonstrating the effectiveness of parameter-efficient customization.
- Textual Inversion shows similar source similarity to Custom-Diffusion but significantly lower reference similarity, indicating poor transfer of visual concepts.
- Dreambooth achieves high source similarity but low reference similarity, suggesting it is less effective for editing tasks requiring precise appearance transfer.
- SDEdit shows lower source similarity than P2P across all methods, indicating that P2P’s attention injection mechanism better preserves source structure.
- The use of CLIP-retrieved prior images with prior preservation loss helps maintain language understanding and improves generalization during customization.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.