arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20137cs.CV
收藏

StreamErase:迈向超快速流视频擦除

StreamErase: Towards Ultra-Fast Streaming Video Erasing

Wuhan University(武汉大学);Alibaba Group(阿里巴巴集团);The Hong Kong University of Science and Technology(香港科技大学);Shanghai Jiao Tong University(上海交通大学)

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

AI总结:

StreamErase通过迁移双向模型擦除能力至单向流擦除器,结合带注意力汇的滑动窗口因果注意力等技术,实现26 FPS的超快速流视频擦除,支持无限长度,建立了LongErase基准,可实现实时交互。

摘要:

当前的视频物体移除方法存在延迟过高(每视频达数分钟)及非因果处理导致无法进行实时交互的问题。我们提出StreamErase,可在单块GPU上实现亚秒级延迟,最高达26 FPS的流生成。我们的方法首先为文本到视频模型添加掩码输入,以生成擦除目标物体并合成连贯背景的高质量视频,但并非实时推理。因此,我们逐步将强大的双向基础模型的擦除能力迁移至高效的单向流擦除器,在不牺牲视觉保真度的情况下实现长时序擦除。生成长度可能无限的视频时会出现几个关键挑战:(1)弥合在有限长度上训练与外推至长时序的领域差距;(2)通过防止误差积累维持高质量;(3)保持快速推理,且不随上下文增长增加计算成本。为应对这些挑战,我们精心设计了带有注意力汇的滑动窗口因果注意力。通过在训练中结合带有注意力汇的自展开和KV缓存滚动,我们用固定上下文窗口模拟推理时的外推,实现任意长视频的恒速生成。最后,我们建立了专用基准LongErase用于流长视频物体移除。我们的模型相比现有视频物体擦除模型表现强劲,且能很好地泛化到真实视频场景,独特地支持无限长度流。借助StreamErase,用户可输入掩码并实时查看擦除结果,提供真正的交互体验。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑