MagicEraser: Erasing Any Objects via Semantics-Aware Control
Fan Li, Zixiao Zhang, Yi Huang, Jianzhuang Liu, Renjing Pei, Bin Shao,, Songcen Xu

TL;DR
MagicEraser is a diffusion model-based framework that effectively erases objects and generates harmonious backgrounds with controllable content, addressing limitations of previous GAN and diffusion methods.
Contribution
It introduces a novel two-phase framework with prompt tuning and semantics-aware attention refocus modules for improved object erasure and background generation.
Findings
Outperforms previous methods in object erasure quality
Produces more harmonious and artifact-free backgrounds
Demonstrates effective control over generated content
Abstract
The traditional image inpainting task aims to restore corrupted regions by referencing surrounding background and foreground. However, the object erasure task, which is in increasing demand, aims to erase objects and generate harmonious background. Previous GAN-based inpainting methods struggle with intricate texture generation. Emerging diffusion model-based algorithms, such as Stable Diffusion Inpainting, exhibit the capability to generate novel content, but they often produce incongruent results at the locations of the erased objects and require high-quality text prompt inputs. To address these challenges, we introduce MagicEraser, a diffusion model-based framework tailored for the object erasure task. It consists of two phases: content initialization and controllable generation. In the latter phase, we develop two plug-and-play modules called prompt tuning and semantics-aware…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Cloud Data Security Solutions
MethodsSoftmax · Attention Is All You Need · Diffusion · Inpainting
