Live2Diff:基于视频扩散模型中单向注意力的直播流翻译
Live2Diff: Live Stream Translation via Uni-directional Attention in Video Diffusion Models
AI总结:
针对现有视频扩散模型因双向注意力无法处理直播流的问题,提出带单向时间注意力的Live2Diff,结合KV缓存与流水线实现高效直播视频翻译,性能优于现有方法。
摘要:
大语言模型凭借其时间单向注意力机制(对当前token与先前token之间的相关性进行建模),在生成文本、音频等流式数据方面展现出卓越效能。然而,尽管直播视频处理需求日益增长,视频流领域的研究仍相对匮乏。当前最优的视频扩散模型采用双向时间注意力来建模当前帧与所有周边(即包括未来)帧之间的相关性,这阻碍了它们处理流式视频。为解决该问题,我们提出Live2Diff,这是首个设计具备单向时间注意力的视频扩散模型的尝试,专门面向直播视频翻译任务。与此前工作相比,我们的方法通过将当前帧与其前序帧及少量初始预热帧关联(无需任何未来帧),确保了时间一致性与平滑性。此外,我们采用一种以KV缓存机制和流水线操作为特征的高效去噪方案,以实现交互式帧率下的流式视频翻译。大量实验证明了所提出的注意力机制与流水线的有效性,在时间平滑度和/或效率方面优于现有方法。
英文摘要:
Large Language Models have shown remarkable efficacy in generating streaming data such as text and audio, thanks to their temporally uni-directional attention mechanism, which models correlations between the current token and previous tokens. However, video streaming remains much less explored, despite a growing need for live video processing. State-of-the-art video diffusion models leverage bi-directional temporal attention to model the correlations between the current frame and all the surrounding (i.e. including future) frames, which hinders them from processing streaming videos. To address this problem, we present Live2Diff, the first attempt at designing a video diffusion model with uni-directional temporal attention, specifically targeting live streaming video translation. Compared to previous works, our approach ensures temporal consistency and smoothness by correlating the current frame with its predecessors and a few initial warmup frames, without any future frames. Additionally, we use a highly efficient denoising scheme featuring a KV-cache mechanism and pipelining, to facilitate streaming video translation at interactive framerates. Extensive experiments demonstrate the effectiveness of the proposed attention mechanism and pipeline, outperforming previous methods in terms of temporal smoothness and/or efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。