PAIR-Diffusion: A Comprehensive Multimodal Object-Level Image Editor
Vidit Goel, Elia Peruzzo, Yifan Jiang, Dejia Xu, Xingqian Xu, Nicu Sebe, Trevor Darrell, Zhangyang Wang, Humphrey Shi
TL;DR
PAIR Diffusion proposes an object-centric diffusion framework that treats images as collections of objects, each with a structure and appearance, enabling fine-grained edits without inversion. By extracting per-object panoptic structure and multi-layer appearance features (VGG and DINOv2) and conditioning diffusion models on these representations, the method supports appearance edits, shape edits, object addition, and object variation, applicable to both unconditional and foundational diffusion models. A multimodal classifier-free guidance mechanism jointly leverages structure, appearance, and text (or reference images) to achieve precise, controllable edits. Extensive qualitative and quantitative evaluations on LSUN, CelebA-HQ, and COCO demonstrate robust, localized edits with ablations showing the benefits of combined appearance features and CFG parameters. The work offers a versatile, practical object-level image editor that operates without inversion and can adapt to real-world editing scenarios.
Abstract
Generative image editing has recently witnessed extremely fast-paced growth. Some works use high-level conditioning such as text, while others use low-level conditioning. Nevertheless, most of them lack fine-grained control over the properties of the different objects present in the image, i.e. object-level image editing. In this work, we tackle the task by perceiving the images as an amalgamation of various objects and aim to control the properties of each object in a fine-grained manner. Out of these properties, we identify structure and appearance as the most intuitive to understand and useful for editing purposes. We propose PAIR Diffusion, a generic framework that can enable a diffusion model to control the structure and appearance properties of each object in the image. We show that having control over the properties of each object in an image leads to comprehensive editing capabilities. Our framework allows for various object-level editing operations on real images such as reference image-based appearance editing, free-form shape editing, adding objects, and variations. Thanks to our design, we do not require any inversion step. Additionally, we propose multimodal classifier-free guidance which enables editing images using both reference images and text when using our approach with foundational diffusion models. We validate the above claims by extensively evaluating our framework on both unconditional and foundational diffusion models. Please refer to https://vidit98.github.io/publication/conference-paper/pair_diff.html for code and model release.
