atlas

Research map / Image generation / Editing and style transfer

Click2Mask: Local Editing with Dynamic Mask Generation

AAAI 2025 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Click2Mask performs local image addition from a single clicked point by dynamically evolving a mask during Blended Latent Diffusion, guided by an Alpha-CLIP semantic loss.

Problem

Local image editing for adding new content usually requires a precise mask or a detailed textual location description, which is cumbersome and error-prone.

Approach

Start from a large Gaussian potential around a user click and iteratively contract a mask during Blended Latent Diffusion, elevating potential in regions with high Alpha-CLIP loss gradients so the mask adapts to the generated object's shape, requiring no fine-tuning or precise mask.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Click2Mask instead of Emu EditLocal image addition · Emu Edit addition subsetCLIP_direct: 0.150 -> 0.204Helped
Use Click2Mask instead of MagicBrushLocal image addition · Emu Edit addition subsetCLIP_direct: 0.095 -> 0.204Helped
Use Click2Mask instead of Emu EditLocal image addition · Emu Edit addition subsetCLIP_out: 0.331 -> 0.334Helped
Use Click2Mask instead of MagicBrushLocal image addition · Emu Edit addition subsetCLIP_out: 0.324 -> 0.334Helped
Use Click2Mask instead of Emu EditLocal image addition · Emu Edit addition subsetalphaCLIP_edit: 0.186 -> 0.195Helped
Use Click2Mask instead of MagicBrushLocal image addition · Emu Edit addition subsetalphaCLIP_edit: 0.166 -> 0.195Helped
Use Click2Mask instead of Emu EditLocal image addition · Emu Edit addition subsetL1: 0.046 -> 0.027Helped
Use Click2Mask instead of MagicBrushLocal image addition · Emu Edit addition subsetL1: 0.049 -> 0.027Helped
Use Click2Mask instead of Emu EditLocal image addition · Human evaluation vs Emu Edit% Majority: 42.86% -> 57.14%Helped
Use Click2Mask instead of MagicBrushLocal image addition · Human evaluation vs MagicBrush% Majority: 16.30% -> 83.70%Helped
Start with a sufficiently large, enlarged mask (ablation)Click2Mask · Local image addition; white dog guided to prompt “Huge bone”edit capture (qualitative)Helped
Evolve the mask rather than keep the initial mask fixed (ablation)Click2Mask · Local image additionedit quality (qualitative)Helped

Surprising findings

Limitations

Experimental setup

Datasets: Emu Edit test benchmark (addition subset, 100 sampled)

Benchmarks: Emu Edit benchmark

Metrics: user preference majority vote CLIP_direct CLIP_out Edited Alpha-CLIP L1

Baselines: Emu Edit MagicBrush InstructPix2Pix

Builds on: Blended Latent Diffusion Blended Diffusion Alpha-CLIP Stable Diffusion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy