Object-WIPER : Training-Free Object and Associated Effect Removal in Videos
Saksham Singh Kushwaha, Sayan Nag, Yapeng Tian, Kuldeep Kulkarni
TL;DR
Object-WIPER introduces a training-free framework for removing both a target object and its associated effects from videos by leveraging cross-attention and self-attention within a pre-trained text-to-video diffusion model. The method locates associated effects via a two-stage localization (text-guided proposal plus self-attention refinement), then performs latent inversion and denoising with timestep-adaptive masking and attention scaling, including Gaussian reinitialization of the removed region. A new evaluation metric, TokSim, assesses temporal consistency, background coherence, and complete removal, and is complemented by a real-world benchmark, WIPER-Bench, plus DAVIS experiments. Results show Object-WIPER surpasses both training-based and training-free baselines on TokSim while maintaining competitive background fidelity, enabling high-quality, training-free object removal in real-world videos. The work also demonstrates strong human agreement with TokSim and provides a detailed ablation study to justify each component of the pipeline.
Abstract
In this paper, we introduce Object-WIPER, a training-free framework for removing dynamic objects and their associated visual effects from videos, and inpainting them with semantically consistent and temporally coherent content. Our approach leverages a pre-trained text-to-video diffusion transformer (DiT). Given an input video, a user-provided object mask, and query tokens describing the target object and its effects, we localize relevant visual tokens via visual-text cross-attention and visual self-attention. This produces an intermediate effect mask that we fuse with the user mask to obtain a final foreground token mask to replace. We first invert the video through the DiT to obtain structured noise, then reinitialize the masked tokens with Gaussian noise while preserving background tokens. During denoising, we copy values for the background tokens saved during inversion to maintain scene fidelity. To address the lack of suitable evaluation, we introduce a new object removal metric that rewards temporal consistency among foreground tokens across consecutive frames, coherence between foreground and background tokens within each frame, and dissimilarity between the input and output foreground tokens. Experiments on DAVIS and a newly curated real-world associated effect benchmark (WIPER-Bench) show that Object-WIPER surpasses both training-based and training-free baselines in terms of the metric, achieving clean removal and temporally stable reconstruction without any retraining. Our new benchmark, source code, and pre-trained models will be publicly available.
