Object-WIPER: Training-Free Object and Associated Effect Removal in Videos

Saksham Singh Kushwaha, Sayan Nag, Yapeng Tian, Kuldeep Kulkarni

TL;DR

Object-WIPER is a training-free video editing framework that cleanly removes unwanted objects along with their secondary visual effects—such as shadows, reflections, and mirror images. By leveraging the internal attention maps of a pre-trained text-to-video Diffusion Transformer (DiT), it achieves state-of-the-art removal quality without requiring any retraining or heavy external tracking models.

What Problem Does This Paper Address?

When you remove an object from a video, traditional video inpainting tools only fill in the pixels directly behind the object's body. However, real-world objects leave behind visual "footprints": shadows on the ground, reflections on water, or duplicates in mirrors. Leaving these behind creates jarring, unrealistic artifacts.

Existing methods that attempt to remove these associated effects suffer from two main flaws:

  1. Heavy Data/Computational Cost: They require training on massive synthetic datasets or rely on complex external point-tracking models (like TAP-Net) that easily fail during fast motion or on textureless surfaces.
  2. Flawed Evaluation Metrics: Standard metrics like Peak Signal-to-Noise Ratio (PSNR) or structural video quality scores are easily "gamed." An algorithm can leave the target object completely untouched and still score highly because the background remains unchanged.

Methods

Object-WIPER introduces a completely training-free pipeline built on top of multi-modal Diffusion Transformers (MM-DiT). It operates in three main phases:

1. Associated Effects Localization

Instead of relying on external tracking models, Object-WIPER uses the model's own attention layers to find shadows and reflections:

  • Text-to-Visual Cross-Attention: Using text queries (e.g., "duck" and "reflection"), the system identifies "seed" visual tokens highly correlated with the target effect.
  • Visual Self-Attention Refinement: Because cross-attention maps can be noisy or contain holes, the system uses self-attention to find neighboring tokens that closely interact with the seed tokens, automatically filling in a dense, complete effect mask ($M^{AE}$).
Figure 2. Associated effects localization. The figure shows the processing of the video latents to obtain the mask for the object and the associated objects using the cross attention maps and the self attention maps. First, through the cross-attention scores, we obtain the patches of interest that are highly correlated with the query text tokens. Further, through self-attention scores, we identify the tokens that have the highest response to these patches of interest to obtain the final mask.

2. Timestep Adaptive Masking

During the diffusion inversion process (turning the video into structured noise), the spatial footprint of an object expands in the attention space as noise increases. Using a fixed mask causes object features to "leak" into the background during denoising. Object-WIPER dynamically updates the mask at each timestep to prevent this leakage.

Figure 4. Timestep adaptive masking. During inversion, the ob- ject’s footprint expands as noise increases, causing fixed masks to leak object tokens while denoising copying. In contrast, adap- tive masks augmented with associated-effect regions prevent such leakage and enable complete removal of the object and its effects.

3. Attention Scaling & Denoising

During the early denoising steps where global structure is formed, the framework applies attention scaling. This mathematically biases the attention weights of the foreground region toward background tokens, forcing the model to naturally inpaint the empty space using surrounding context rather than regenerating the deleted object.

Datasets

The authors evaluate their method on two benchmarks:

  • DAVIS: A standard video object segmentation dataset frequently used to test video editing under challenging conditions like fast motion.
  • WIPER-Bench (New): A newly curated dataset consisting of 60 real-world videos from Pexels and YouTube. It specifically targets complex secondary effects, including reflections on water, shadows, mirror images, translucent objects, and disconnected or multiple simultaneous associations. Object masks were generated using SAM2.

Key Insights and Ideas

  • The Attention Footprint Expands: A key "aha" moment in the paper is demonstrating that an object's influence in a diffusion model's attention space isn't static; it grows as the video becomes noisier. This explains why static masking strategies often fail and leak object artifacts.
  • Pre-trained Models Already "Know" Physics: Multi-modal video diffusion models already implicitly understand the relationship between an object and its reflection or shadow. By querying the cross-attention layers directly with text, we can extract these complex masks for free.
  • Rethinking Evaluation: The authors expose a major blind spot in video inpainting evaluation. To fix this, they introduce TokSim (Token Similarity), a metric that operates on DINOv3 token embeddings. TokSim specifically rewards temporal consistency in the edited zone, penalizes similarity to the deleted object, and ensures the inpainted region blends seamlessly with the background.
Figure 5. The proposed metric, TokSim scores very high only when the object is fully removed and progressively becomes lower as the object removal reduces. For VAE-reconstruction where the object is not removed at all, the TokSim is nearly zero. However, the ranges of the values for BG-PSNR and video quality across the vastly different outputs are extremely compressed and do not serve the purpose of unambiguously distinguishing between the object removal approaches of varied capabilities.

Key Results

Object-WIPER significantly outperforms both training-free and training-based baselines on the new TokSim metric while remaining highly competitive on traditional metrics:

  • On DAVIS: Object-WIPER achieved a TokSim score of 32.80, outperforming the best training-free baseline (Attentive-Eraser at 30.82) and even beating training-based models like Gen-Prop (30.52).
  • On WIPER-Bench: Object-WIPER scored 33.09 on TokSim, far ahead of Attentive-Eraser (25.28) and Propainter (20.99).
  • Human Alignment: In a user study featuring 150 pairwise comparisons, the TokSim metric matched human preferences 83.64% of the time, proving its reliability over traditional pixel-level metrics.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{kushwaha2026object,
  author = {Saksham Singh Kushwaha and Sayan Nag and Yapeng Tian and Kuldeep Kulkarni},
  title = {{Object-WIPER: Training-Free Object and Associated Effect Removal in Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=dCqLQq0KkJ},
}
Figure