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:
- 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.
- 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}$).
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.
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.
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