Learn the complete edit
Differences between the input and paired clean video give extra weight to associated changes such as shadows and reflections.
A Unified Video Eraser for Objects and Overlays
1 Harbin Institute of Technology, Shenzhen2 Sun Yat-sen University, Shenzhen Campus3 Hainan University4 Peng Cheng Laboratory5 Pazhou Lab6 University of California, Merced
* Corresponding authors
Natural High S4 · 现在就出发4
The caption bar gives way to large lettering across the sky. Watch the faces around the edge of the frame.
Source · Tencent VideoVisual examples
Watch each preview sweep from the original to the reconstruction. Open a clip to move the divider yourself.
Abstract
A mask can pick out a person and miss their reflection. An instruction can name a subtitle without saying where it appears. EraseAnything uses either cue to select a target and learns from paired clean video how far the edit should extend.
One diffusion transformer reconstructs the full frame in four updates. Training gives extra weight to changes beyond the object mask and teaches the model to locate overlays from an instruction. Throughout reconstruction, the source video provides a stable reference for the surrounding scene.
Inference trajectory
Watch the sampler state and its clean estimate evolve through four recorded updates. Select any step to hold the frame.
Method
A mask can miss a shadow. An overlay instruction gives no coordinates. Paired clean video teaches the model which pixels should change and which should stay.
Differences between the input and paired clean video give extra weight to associated changes such as shadows and reflections.
A training-only occupancy head teaches intermediate features to locate overlays when the input mask is empty.
Asymmetric attention lets the reconstruction read source and selection features. Training through four updates optimizes the delivered output.
Across four frames of one clip, the occupancy head tracks changing subtitles and responds to persistent logos and watermarks. Heatmaps show mean occupancy probabilities over four seeds at the first Euler update.
Benchmark
Every background has matched overlay variants and a clean target. The compositing mask lets us measure recovery under an overlay separately from preservation elsewhere.
Results
Explore object removal, four types of screen graphics, mixed overlays, and background preservation.
Citation
@misc{miao2026eraseanything,
title = {EraseAnything: A Unified Video Eraser for Objects and Overlays},
author = {Miao, Deshui and Pei, Yun and Huang, Xingsen and
Zhang, Haijun and Li, Xin and Yang, Ming-Hsuan},
year = {2026}
}