Manuscript Offprint

arXiv:2610.20137

StreamErase: Towards Ultra-Fast Streaming Video Erasing

Zhuobai Dong, Xiaobing Tu, Xiantao Zhang, Jinkui Ren, Yinggui Wang, Yue Ma, Linfeng Zhang

ABSTRACT

Current video object removal methods suffer from prohibitive latency (minutes per video) and non-causal processing that prevents real-time interaction. We present StreamErase, enabling sub-second latency with up to 26 FPS streaming generation on a single GPU. Our approach first augments a text-to-video model with mask input to generate high-quality videos that erase target objects and synthesize coherent backgrounds, but does not perform inference on the fly. As such, we progressively transfer the erasing capability from a powerful bidirectional foundation model to an efficient unidirectional streaming eraser, enabling long-horizon erasing without sacrificing visual fidelity. Several key challenges arise when generating videos over long, potentially infinite horizons: (1) bridging the domain gap from training on finite length and extrapolating to long horizons, (2) sustaining high quality by preventing error accumulation, and (3) maintaining fast inference, without increasing computational cost as the context grows. To address these challenges, we carefully designed sliding-window causal attention with attention sinks. By incorporating self-rollout with attention sinks and KV cache rolling during training, we simulate inference-time extrapolations with a fixed context window, enabling constant-speed generation of arbitrarily long videos. Finally, we establish a dedicated benchmark, LongErase, for streaming long-video object removal. Our model achieves strong performance compared to existing video object erasing models and generalizes well to real-world video scenarios, uniquely enabling infinite-length streaming. With StreamErase, users can input a mask and see the erasing results unfold in real-time, delivering a truly interactive experience. HomePage: https://zhuobaidong.github.io/StreamErase/

1 INTRODUCTION

The ultimate goal of video object erasing is to empower creators and systems to seamlessly remove unwanted dynamic content from video streams in real time while preserving visual realism. Al-

∗^{*}Corresponding author.

though recent video diffusion models (Li et al., 2025a; Bian et al., 2025; Zi et al., 2025a; Jiang et al., 2025; Miao et al., 2025; Fu et al., 2026) have made impressive strides toward this goal, the experience remains largely confined to offline, batch-processing workflows.

The promise of real-time video erasing is currently hindered by several fundamental constraints. First, generation is too slow for interactive deployment. For example, synthesizing a 5-second video clip with ROSE (Miao et al., 2025) takes 2 minutes, trapping users in frustrating "render-and-wait" delay cycles. Second, existing paradigms are inherently non-causal, since diffusion models process the entire sequence in parallel with bidirectional attention. A user cannot see any partial results until the entire erase is complete. Finally, the inability to generate more than a few seconds of video severely limits the scope for any meaningful or extended creative expression. Together, these constraints (slow, non-causal, and short-duration generation) undermine the potential for a truly interactive creative experience.

To overcome these challenges, we introduce StreamErase, a streaming video erasing framework that progressively transfers the erasing capability of an offline bidirectional diffusion model into an efficient autoregressive generator for real-time interactive erasing.

Specifically, we first fine-tune a pretrained diffusion model with full bidirectional attention, obtaining in a powerful bidirectional video eraser that serves as the teacher for subsequent distillation. We then replace bidirectional attention with causal attention to construct an autoregressive diffusion model, and apply teacher forcing followed by ODE distillation to obtain a causal video eraser requiring four denoising steps. Finally, we perform Distribution Matching Distillation (DMD), using the bidirectional video eraser as the teacher and the causal video eraser as the student, enabling the streaming model to inherit the high-fidelity erasing capability of the offline model while further compressing generation to a single denoising step for real-time inference.

Causal generation, however, is prone to error accumulation and drift over long horizons. Prior work in large language models has shown that initial tokens play a crucial role in stable streaming generation (Xiao et al., 2023). This insight drives our attention sinking mechanism with rolling KV caches, which we incorporate directly into training to simulate inference extrapolation distributions, ensuring stable, indefinite-length generation at constant latency through fixed context windows.

StreamErase achieves 26.06 FPS with sub-second latency on a single H200 GPU. Extensive experiments and ablations demonstrate that StreamErase achieves competitive visual and temporal quality across diverse erasing scenarios, while being more than 46×46\times faster than recent methods. Furthermore, StreamErase maintains stable visual and temporal quality when extended from short 5-second clips to substantially longer 30-second videos. StreamErase transforms video generation from a passive waiting experience into an active creative process, where users can continuously interact with and guide the generation in real-time.

References (68)