Skip to content
Preprint

Zero-Shot Object Removal via Attention Masking, Latent Anchoring, and Refinement

Sep 2026 · 0 citations · 21 references
Computer Science

TL;DR

This paper proposes a zero-shot framework for constrained latent inpainting with a frozen pretrained Stable Diffusion model, requiring no task-specific training or model fine-tuning and demonstrates effective object removal and context-consistent replacement content.

Abstract

Removing an object from a real image requires more than synthesizing plausible content within a mask: the method must suppress residual object features, preserve the unedited scene, and generate replacement content that is consistent with the surrounding background. This paper approaches object removal from a stage-based perspective and proposes a zero-shot framework for constrained latent inpainting with a frozen pretrained Stable Diffusion model, requiring no task-specific training or model fine-tuning. The method integrates SAM-based mask construction, BLIP image-caption conditioning, DDIM inversion, background-weighted masked null-text optimization, decoder self-attention masking, hard outside-mask latent anchoring, and localized renoise--denoise refinement into a unified pipeline. The method is evaluated through qualitative examples, quantitative local-consistency metrics, and ablation studies. The results demonstrate effective object removal and context-consistent replacement content. The ablations indicate that background-weighted masked NTI is particularly beneficial for structurally complex backgrounds, whereas the no-NTI variant is sufficient in other evaluated examples. Repeated refinement further reduces object remnants and boundary artifacts remaining after the primary editing pass.

View source

Similar papers

Aug 2026

A visual-neural network for specific objects-of-interest inpainting

Experiments indicate that the proposed front end of Specific Object-of-Interest Imaging improves object-region reconstruction and boundary stability for several inpainting backbones, although the gains are not uniform across all metrics or categories.

Yong-Hao Wu, Rui-Rong Wang, Kang-Wen Wu et al. · 0 citations
Conference Aug 2026

MaskFlow: Attention-Guided Localized Editing for Rectified Flow Models

Text-guided image editing using rectified flow models such as Multimodal Diffusion Transformer (DiT) has demonstrated impressive generation quality. However, existing methods apply edits globally, inevitably modifying background regions unrelated to the intended semantic change. Our key observation is that the Text-to-...

Trong-Tai Dam Vu, Vinh-Tiep Nguyen · 0 citations
Preprint Sep 2026

PredErase: Training-Free Object-and-Effect Removal with Predictive Latent Guidance

PredErase, a training-free inference procedure on frozen FLUX.2 and I-JEPA, improves the native FLUX.2 backbone and is supported is training-free object-and-effect editing of frozen Fill, not replacement of paired-data erasers.

Wai-Kit Xiu, Qiang Lu, Jun-Biao Chen et al. · 0 citations
Preprint Sep 2026

Preserving Subject-Clarity in Image Outpainting with Multiscale Wavelet Supervision

This work proposes a subject clarity outpainting framework that combines vision-language model (VLM)-guided semantic conditioning with multiscale wavelet supervision for subject-localized detail preservation and develops a subject-centric data curation pipeline that constructs subject-intersecting outpainting pairs fro...

Abhilash Neog, Taewan Kim, Yi Wu et al. · 0 citations
#diffusion models Open access Aug 2026

DARD: Zero-Shot Degradation-Aware Retinex-Guided Diffusion for Low-Light Image Enhancement

DARD first extracts image-specific physical priors from the degraded input through a test-time degradation-aware Retinex decomposition, thereby providing reliable structural guidance for zero-shot restoration and injects these priors into reverse diffusion through a timestep-adaptive frequency fusion strategy to balanc...

Wen-Jie Cai, Yuezhe Yang, Jian-Yang Xia et al. · 0 citations
Preprint Sep 2026

MDN-Control: Mask-Depth-Noise Guided Region Control for Multi-Subject Video Editing

Multi subject video editing modifies designated subjects while preserving non target content, but faces cross subject attribute leakage, and occlusion ambiguity. Existing approaches rely on masks and struggle to distinguish overlapping subjects or ensure consistent generation. To address these limitations, we propose M...

Jia-Yi Yu, Xi Ye, Li-Na Wang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.