CVAIDec 18, 2023

MAG-Edit: Localized Image Editing in Complex Scenarios via Mask-Based Attention-Adjusted Guidance

arXiv:2312.11396v222 citationsh-index: 27MM
Originality Incremental advance
AI Analysis

This addresses the problem of localized editing in complex images for users of diffusion models, representing an incremental improvement over existing methods.

The paper tackles localized image editing in complex scenarios by proposing MAG-Edit, a training-free method that optimizes noise latent features in diffusion models using mask-based cross-attention constraints, resulting in improved text alignment and structure preservation as demonstrated in experiments.

Recent diffusion-based image editing approaches have exhibited impressive editing capabilities in images with simple compositions. However, localized editing in complex scenarios has not been well-studied in the literature, despite its growing real-world demands. Existing mask-based inpainting methods fall short of retaining the underlying structure within the edit region. Meanwhile, mask-free attention-based methods often exhibit editing leakage and misalignment in more complex compositions. In this work, we develop MAG-Edit, a training-free, inference-stage optimization method, which enables localized image editing in complex scenarios. In particular, MAG-Edit optimizes the noise latent feature in diffusion models by maximizing two mask-based cross-attention constraints of the edit token, which in turn gradually enhances the local alignment with the desired prompt. Extensive quantitative and qualitative experiments demonstrate the effectiveness of our method in achieving both text alignment and structure preservation for localized editing within complex scenarios.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes