Abstract
MimicBrush introduces a novel "imitative editing" paradigm, enabling precise image modifications guided by "in-the-wild" reference images. Unlike traditional methods that rely on restrictive text prompts or manual cropping, MimicBrush leverages a dual-branch diffusion architecture and self-supervised video training to automatically discover semantic correspondences. This approach ensures high-fidelity texture transfer and seamless blending across diverse categories.
Introduction: The Challenge of Precise Editing
Traditional image editing typically relies on either text-driven inpainting or manual image composition. Text prompts often fail to capture intricate details or specific patterns, while composition requires tedious manual segmentation and often results in poor blending. MimicBrush addresses these limitations by allowing users to mask a source region and provide a reference image, letting the model determine the relevant parts to imitate.
Methodology
The core of MimicBrush is a dual-branch diffusion architecture consisting of an Imitative U-Net and a Reference U-Net.
Dual U-Net Architecture
Instead of using a global CLIP encoder, which often loses fine-grained details, MimicBrush employs a second U-Net to extract multi-level features from the reference image. These features are integrated into the main editing U-Net via cross-attention layers, preserving "pixel-perfect" details.
Self-Supervised Video Training
To learn semantic correspondences without manual labels, the model is trained on video clips. By masking a region in one frame and tasking the model to recover it using another frame from the same video, the system learns to handle variations in pose and lighting naturally.
SIFT-Guided Masking and Shape Control
The training uses SIFT (Scale-Invariant Feature Transform) to identify meaningful regions for masking, forcing the model to learn complex reconstructions. For texture-specific tasks, the model can incorporate depth maps to maintain the original object's structure while adopting new patterns.
Experimental Results
MimicBrush was evaluated on a new Imitative Editing Benchmark covering part composition and texture transfer.
Quantitative Performance
MimicBrush significantly outperforms state-of-the-art baselines. On the Part Composition task, it achieved an SSIM of 0.70 and an LPIPS of 0.28, compared to 0.51 and 0.49 respectively for Paint-by-Example.
Qualitative and User Study
Qualitative comparisons show that MimicBrush excels at transferring complex local patterns (e.g., sneaker logos, knit patterns) while maintaining source lighting. In user studies, annotators preferred MimicBrush in over 50% of cases for fidelity and harmony.
Conclusion
MimicBrush represents a significant step forward in zero-shot image editing. By moving beyond text prompts and CLIP-based encoders, it provides a more intuitive and high-fidelity workflow for "imitative" tasks. Future work will focus on extending these capabilities to temporal consistency in video editing.
Summary updated