Skip to content
AI Learning Ground Start learning

Research ·

StreamErase: Towards Ultra-Fast Streaming Video Erasing

StreamErase is a streaming video object removal model that achieves sub-second latency and up to 26 FPS on a single GPU, using sliding-window causal attention with attention sinks for arbitrarily long videos.

StreamErase: Towards Ultra-Fast Streaming Video Erasing
Image: Hugging Face

A new paper on Hugging Face introduces StreamErase, a method for removing objects from video in real time. Existing video object removal approaches take minutes per video and process in a non-causal way, which rules out live interaction. StreamErase runs at up to 26 FPS streaming generation on a single GPU with sub-second latency, letting users supply a mask and watch the erasing result unfold live.

The system first augments a text-to-video model with mask input so it can erase target objects and synthesize coherent backgrounds, though this bidirectional foundation model does not run in real time. The erasing capability is then progressively transferred to an efficient unidirectional streaming eraser. To handle long or infinite video horizons, the authors use sliding-window causal attention with attention sinks, self-rollout with attention sinks, and KV cache rolling during training. This simulates inference-time extrapolation with a fixed context window, keeping generation speed constant regardless of video length and preventing error accumulation.

The team also released LongErase, a benchmark for streaming long-video object removal, where the model performs strongly against existing methods and generalizes to real-world footage. For builders, this shows a practical recipe for turning powerful but slow bidirectional video models into causal, constant-speed streaming generators, applicable to interactive editing and live video tools.

Caveat: this write-up covers the paper's own description; it has not been independently evaluated, and the paper lists no citing models, datasets, or spaces yet.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research