HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Vision-guided and Mask-enhanced Adaptive Denoising for Prompt-based Image Editing

Kejie Wang; Xuemeng Song; Meng Liu; Jin Yuan; Weili Guan

Vision-guided and Mask-enhanced Adaptive Denoising for Prompt-based Image Editing

Abstract

Text-to-image diffusion models have demonstrated remarkable progress in synthesizing high-quality images from text prompts, which boosts researches on prompt-based image editing that edits a source image according to a target prompt. Despite their advances, existing methods still encounter three key issues: 1) limited capacity of the text prompt in guiding target image generation, 2) insufficient mining of word-to-patch and patch-to-patch relationships for grounding editing areas, and 3) unified editing strength for all regions during each denoising step. To address these issues, we present a Vision-guided and Mask-enhanced Adaptive Editing (ViMAEdit) method with three key novel designs. First, we propose to leverage image embeddings as explicit guidance to enhance the conventional textual prompt-based denoising process, where a CLIP-based target image embedding estimation strategy is introduced. Second, we devise a self-attention-guided iterative editing area grounding strategy, which iteratively exploits patch-to-patch relationships conveyed by self-attention maps to refine those word-to-patch relationships contained in cross-attention maps. Last, we present a spatially adaptive variance-guided sampling, which highlights sampling variances for critical image regions to promote the editing capability. Experimental results demonstrate the superior editing capacity of ViMAEdit over all existing methods.

Code Repositories

Null-0000/ViMAEdit
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
text-based-image-editing-on-pie-benchVirtual Inversion+ViMAEdit
Background LPIPS: 45.67
Background PSNR: 28.27
CLIPSIM: 25.91
Structure Distance: 12.65

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Vision-guided and Mask-enhanced Adaptive Denoising for Prompt-based Image Editing | Papers | HyperAI