Zero-shot Image Editing with Reference Imitation
Xi Chen, Yutong Feng, Mengting Chen, Yiyang Wang, Shilong Zhang, Yu Liu, Yujun Shen, Hengshuang Zhao
TL;DR
The paper tackles the challenge of local image editing guided by a reference image without requiring explicit reference masks. It introduces MimicBrush, a dual diffusion U-Nets framework that learns cross-image semantic correspondence by training on paired video frames and injecting reference features into the editing network to fill masked regions harmoniously with the background. A self-supervised training pipeline and a dedicated benchmark with Part Composition and Texture Transfer tasks demonstrate superior fidelity and blending across diverse domains, with comprehensive ablations and qualitative analyses supporting the approach. The work enables intuitive, cross-domain, region-level edits and provides a foundation for future exploration of reference-driven image editing without heavy annotations or fine-tuning.
Abstract
Image editing serves as a practical yet challenging task considering the diverse demands from users, where one of the hardest parts is to precisely describe how the edited image should look like. In this work, we present a new form of editing, termed imitative editing, to help users exercise their creativity more conveniently. Concretely, to edit an image region of interest, users are free to directly draw inspiration from some in-the-wild references (e.g., some relative pictures come across online), without having to cope with the fit between the reference and the source. Such a design requires the system to automatically figure out what to expect from the reference to perform the editing. For this purpose, we propose a generative training framework, dubbed MimicBrush, which randomly selects two frames from a video clip, masks some regions of one frame, and learns to recover the masked regions using the information from the other frame. That way, our model, developed from a diffusion prior, is able to capture the semantic correspondence between separate images in a self-supervised manner. We experimentally show the effectiveness of our method under various test cases as well as its superiority over existing alternatives. We also construct a benchmark to facilitate further research.
