Editable Image Elements for Controllable Synthesis
Jiteng Mu, Michaël Gharbi, Richard Zhang, Eli Shechtman, Nuno Vasconcelos, Xiaolong Wang, Taesung Park
TL;DR
This work introduces editable image elements, a patch-based, spatially controllable representation that enables realistic editing of user-provided images with diffusion models. By partitioning an image into semantically meaningful patches and separately encoding their appearance and location, the method couples a content encoder with a diffusion decoder conditioned on both text and image elements, while employing dropout-based training to improve robustness to edits. The approach supports object resizing, rearrangement, removal, inpainting, and image composition, and outperforms several baselines in both reconstruction fidelity and edit quality, as demonstrated by comprehensive experiments and user studies. The proposed framework offers a fast, interactive pathway for spatial image editing with diffusion models, while highlighting current limitations and directions for richer appearance control and higher-resolution capabilities.
Abstract
Diffusion models have made significant advances in text-guided synthesis tasks. However, editing user-provided images remains challenging, as the high dimensional noise input space of diffusion models is not naturally suited for image inversion or spatial editing. In this work, we propose an image representation that promotes spatial editing of input images using a diffusion model. Concretely, we learn to encode an input into "image elements" that can faithfully reconstruct an input image. These elements can be intuitively edited by a user, and are decoded by a diffusion model into realistic images. We show the effectiveness of our representation on various image editing tasks, such as object resizing, rearrangement, dragging, de-occlusion, removal, variation, and image composition. Project page: https://jitengmu.github.io/Editable_Image_Elements/
