扩散模型近期在视频生成领域取得了显著成果。尽管表现令人鼓舞,但生成的视频通常帧数有限,仅能产出持续数秒的片段。生成更长视频的主要挑战包括单GPU下内存需求过高、处理时间过长。一种直接的解决方案是将工作负载拆分到多个GPU上,但这会引发两个问题:(1)确保所有GPU有效通信以共享时序和上下文信息;(2)在无需额外训练的前提下,改造通常基于短序列训练的现有视频扩散模型,使其能够生成更长的视频。为解决这些问题,本文提出了Video-Infinity,这是一种支持多GPU并行处理的长视频生成分布式推理流水线。具体而言,我们提出了两种协同机制:片段并行(Clip parallelism)和双范围注意力(Dual-scope attention)。片段并行优化了GPU间上下文信息的收集与共享,最大限度降低了通信开销;双范围注意力则对时序自注意力进行调制,在各设备间高效平衡局部与全局上下文。两种机制协同作用,实现了工作负载的分布式分配,可快速生成长视频。在8张Nvidia 6000 Ada GPU(48G)的配置下,我们的方法可在约5分钟内生成多达2300帧的视频,长视频生成速度是现有方法的100倍。
英文摘要:
Diffusion models have recently achieved remarkable results for video generation. Despite the encouraging performances, the generated videos are typically constrained to a small number of frames, resulting in clips lasting merely a few seconds. The primary challenges in producing longer videos include the substantial memory requirements and the extended processing time required on a single GPU. A straightforward solution would be to split the workload across multiple GPUs, which, however, leads to two issues: (1) ensuring all GPUs communicate effectively to share timing and context information, and (2) modifying existing video diffusion models, which are usually trained on short sequences, to create longer videos without additional training. To tackle these, in this paper we introduce Video-Infinity, a distributed inference pipeline that enables parallel processing across multiple GPUs for long-form video generation. Specifically, we propose two coherent mechanisms: Clip parallelism and Dual-scope attention. Clip parallelism optimizes the gathering and sharing of context information across GPUs which minimizes communication overhead, while Dual-scope attention modulates the temporal self-attention to balance local and global contexts efficiently across the devices. Together, the two mechanisms join forces to distribute the workload and enable the fast generation of long videos. Under an 8 x Nvidia 6000 Ada GPU (48G) setup, our method generates videos up to 2,300 frames in approximately 5 minutes, enabling long video generation at a speed 100 times faster than the prior methods.
InfinityStory: Unlimited Video Generation with World Consistency and Character-Aware Shot Transitions
Adobe Research(Adobe研究院);KAUST(卡塔尔科技大学);University of Oregon(俄勒冈大学);University of Memphis(密苏里大学孟菲斯分校);Johns Hopkins University(约翰霍普金斯大学);Meta AI;Texas A&M University(德克萨斯农工大学);Dolby Labs(杜比实验室);Virginia Tech(弗吉尼亚理工大学);Cisco(思科);University of Maryland, College Park(马里兰大学学院市分校)
Echo-Infinity: Learning Evolving Memory for Real-Time Infinite Video Generation
The Chinese University of Hong Kong(香港中文大学);Joy Future Academy, JD(京东探索研究院);The Hong Kong University of Science and Technology(香港科学与技术大学);Tsinghua University(清华大学);The University of Hong Kong(香港大学);University of Science and Technology of China(中国科学技术大学)
Distributed Deep Learning Model for Intelligent Video Surveillance Systems with Edge Computing
Hunan University(湖南大学);National Supercomputing Center in Changsha(长沙国家超级计算中心);Xiangtan University(湘潭大学);State University of New York, New Paltz(纽约州立大学新帕尔茨分校);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Tsinghua University(清华大学)
Component-Based Distributed Framework for Coherent and Real-Time Video Dehazing
College of Mathematics and Informatics, South China Agricultural University(华南农业大学数学与信息学院);School of Computer Science and Technology, Guangdong University of Technology(广东工业大学计算机科学与技术学院);Advanced Digital Sciences Center, Illinois at Singapore Pte.Ltd.(伊利诺伊先进数字科学中心(新加坡))
Training a Distributed Acoustic Sensing Traffic Monitoring Network With Video Inputs
School of Physics and Astronomy, Tel-Aviv University(物理与天文学院,特拉维夫大学);School of Electrical Engineering, Tel-Aviv University(电气工程学院,特拉维夫大学);Porter School of the Environment and Earth Sciences, Tel-Aviv University(环境与地球科学波特学院,特拉维夫大学)
A Survey on Video Analytics in Cloud-Edge-Terminal Collaborative Systems
Fudan University(复旦大学);Duke Kunshan University(昆山杜克大学);University of Toronto(多伦多大学);Imperial College London(伦敦帝国学院);University of California, Davis(加利福尼亚大学戴维斯分校);SMBU;University of Ottawa(渥太华大学)