2025-03-14 · 专家 · 机器学习 · 计算机视觉

Long Context Tuning for Video Generation

本文提出了一种名为长上下文调整(LCT)的训练范式,通过扩展预训练的单镜头视频扩散模型的上下文窗口,直接从数据中学习场景级别的连续性,从而实现连贯的多镜头视频生成。

更新于 2025-03-14。作者:Yuwei Guo、Ceyuan Yang、Ziyan Yang、Zhibei Ma、Zhijie Lin、Zhenheng Yang、Dahua Lin、Lu Jiang。

中文摘要

近期在视频生成领域的进展能够利用可扩展的扩散变换器生成逼真的、时长为一分钟的单一镜头视频。然而,现实世界的叙事视频需要多镜头场景,且在不同镜头间保持视觉和动态的一致性。在本研究中,我们提出了长上下文调整(LCT)这一训练范式,它将预训练的单一镜头视频扩散模型的上文窗口扩展,以便直接从数据中学习场景级的一致性。我们的方法将全注意力机制从单个镜头扩展到覆盖场景中的所有镜头,结合交错的三维位置嵌入和异步噪声策略,使得可以在不增加额外参数的情况下实现联合和自回归的镜头生成。经过LCT后的双向注意力模型可以进一步通过上下文因果注意力进行微调,从而促进带有高效KV缓存的自动回归生成。实验表明,经过LCT的单一镜头模型可以生成连贯的多镜头场景,并展现出新兴的能力,包括组合生成和交互式镜头扩展,为更实用的视觉内容创作铺平了道路。更多详情请见 https://guoyww.github.io/projects/long-context-video/。

英文摘要

Recent advances in video generation can produce realistic, minute-long single-shot videos with scalable diffusion transformers. However, real-world narrative videos require multi-shot scenes with visual and dynamic consistency across shots. In this work, we introduce Long Context Tuning (LCT), a training paradigm that expands the context window of pre-trained single-shot video diffusion models to learn scene-level consistency directly from data. Our method expands full attention mechanisms from individual shots to encompass all shots within a scene, incorporating interleaved 3D position embedding and an asynchronous noise strategy, enabling both joint and auto-regressive shot generation without additional parameters. Models with bidirectional attention after LCT can further be fine-tuned with context-causal attention, facilitating auto-regressive generation with efficient KV-cache. Experiments demonstrate single-shot models after LCT can produce coherent multi-shot scenes and exhibit emerging capabilities, including compositional generation and interactive shot extension, paving the way for more practical visual content creation. See https://guoyww.github.io/projects/long-context-video/ for more details.

解读

一句话总结

本文提出了一种名为长上下文调整(LCT)的训练范式,通过扩展预训练的单镜头视频扩散模型的上下文窗口,直接从数据中学习场景级别的连续性,从而实现连贯的多镜头视频生成。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源