PartEdit: Fine-Grained Image Editing using Pre-Trained Diffusion Models

Aleksandar Cvejic, Abdelrahman Eldesokey, Peter Wonka
2/6/2025
cs.CV

No confident code implementation found for this paper.

Abstract

We present the first text-based image editing approach for object parts based on pre-trained diffusion models. Diffusion-based image editing approaches capitalized on the deep understanding of diffusion models of image semantics to perform a variety of edits. However, existing diffusion models lack sufficient understanding of many object parts, hindering fine-grained edits requested by users. To address this, we propose to expand the knowledge of pre-trained diffusion models to allow them to understand various object parts, enabling them to perform fine-grained edits. We achieve this by learning special textual tokens that correspond to different object parts through an efficient token optimization process. These tokens are optimized to produce reliable localization masks at each inference step to localize the editing region. Leveraging these masks, we design feature-blending and adaptive thresholding strategies to execute the edits seamlessly. To evaluate our approach, we establish a benchmark and an evaluation protocol for part editing. Experiments show that our approach outperforms existing editing methods on all metrics and is preferred by users 66-90% of the time in conducted user studies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cvejic2025partedit,
  title  = {PartEdit: Fine-Grained Image Editing using Pre-Trained Diffusion Models},
  author = {Aleksandar Cvejic and Abdelrahman Eldesokey and Peter Wonka},
  year   = {2025},
  eprint = {2502.04050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04050v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04050.svg)](https://codeofpaper.com/paper/2502.04050)

Discussion