LTX-Video: Realtime Video Latent Diffusion
LTX-Video提出了一种基于Transformer的实时视频潜在扩散模型,通过优化视频VAE和解码器之间的交互,实现了高效且高质量的实时视频生成。
更新于 2025-01-03。作者:Yoav HaCohen、Nisan Chiprut、Benny Brazowski、Daniel Shalem、Dudu Moshe、Eitan Richardson、Eran Levin、Guy Shiran、Nir Zabari、Ori Gordon、Poriya Panet、Sapir Weissbuch、Victor Kulikov、Yaki Bitterman、Zeev Melumian、Ofir Bibi。
中文摘要
我们推出了LTX-Video,这是一种基于Transformer的潜在扩散模型,它采用了一种整体方法来生成视频,通过无缝集成视频-变分自编码器和降噪Transformer的责任。与现有的方法不同,这些方法将这些组件视为独立的,LTX-Video旨在优化它们之间的交互,以提高效率和画质。其核心是一个精心设计的视频-变分自编码器,实现了高达1:192的压缩比,每个标记的空间-时间下采样为32 x 32 x 8像素,这是通过将分割操作从Transformer的输入转移到变分自编码器的输入实现的。在这个高度压缩的潜在空间中运行,使得Transformer能够高效地执行完整的空间-时间自注意力,这对于生成具有时间一致性的高分辨率视频至关重要。然而,这种高压缩本质上限制了精细细节的表示。为了解决这个问题,我们的VAE解码器负责进行潜在到像素的转换以及最终的降噪步骤,直接在像素空间中产生干净的结果。这种方法能够在不产生单独上采样模块的运行时成本的情况下,保留生成精细细节的能力。我们的模型支持多种用例,包括文本到视频和图像到视频的生成,这两种能力同时进行训练。它实现了超过实时生成的速度,仅需2秒即可在Nvidia H100 GPU上生成768x512分辨率的5秒24fps视频,优于所有同等规模现有模型。源代码和预训练模型已公开提供,为可访问性和可扩展的视频生成设定了新的基准。
英文摘要
We introduce LTX-Video, a transformer-based latent diffusion model that adopts a holistic approach to video generation by seamlessly integrating the responsibilities of the Video-VAE and the denoising transformer. Unlike existing methods, which treat these components as independent, LTX-Video aims to optimize their interaction for improved efficiency and quality. At its core is a carefully designed Video-VAE that achieves a high compression ratio of 1:192, with spatiotemporal downscaling of 32 x 32 x 8 pixels per token, enabled by relocating the patchifying operation from the transformer's input to the VAE's input. Operating in this highly compressed latent space enables the transformer to efficiently perform full spatiotemporal self-attention, which is essential for generating high-resolution videos with temporal consistency. However, the high compression inherently limits the representation of fine details. To address this, our VAE decoder is tasked with both latent-to-pixel conversion and the final denoising step, producing the clean result directly in pixel space. This approach preserves the ability to generate fine details without incurring the runtime cost of a separate upsampling module. Our model supports diverse use cases, including text-to-video and image-to-video generation, with both capabilities trained simultaneously. It achieves faster-than-real-time generation, producing 5 seconds of 24 fps video at 768x512 resolution in just 2 seconds on an Nvidia H100 GPU, outperforming all existing models of similar scale. The source code and pre-trained models are publicly available, setting a new benchmark for accessible and scalable video generation.
解读
一句话总结
LTX-Video提出了一种基于Transformer的实时视频潜在扩散模型,通过优化视频VAE和解码器之间的交互,实现了高效且高质量的实时视频生成。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:现有的视频生成模型在处理空间和时间压缩时存在效率和质量平衡问题,且难以生成高分辨率视频。 • 现有方案不足:传统的VAE设计无法在保证视频质量的同时实现高压缩比,而现有的扩散模型则可能在生成高分辨率输出时丢失细节。 • 研究目标:设计一个能够高效且高质量地生成视频的模型,同时实现实时生成。
问题2:论文的核心创新点是什么?
• 技术创新:设计了一个全新的Video-VAE,实现了1:192的高压缩比,并通过将patchifying操作从Transformer输入移至VAE输入,实现了高效处理。 • 方法改进:VAE解码器同时负责将潜在空间转换为像素空间,并执行最终的降噪步骤,避免了单独的upsampling模块,提高了效率。 • 优势:与现有方法相比,LTX-Video在保持高视频质量的同时,实现了更快的生成速度,且对细节的生成能力更强。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:进行了文本到视频和图像到视频的生成实验,与现有模型进行了比较。 • 性能提升:在Nvidia H100 GPU上,LTX-Video以768×512的分辨率生成5秒24fps的视频仅需2秒,速度超过所有类似规模的现有模型。 • 对比结果:LTX-Video在人类调查中显著优于其他类似规模的模型,尤其是在视频质量、运动保真度和提示遵循方面。
问题4:这个研究的实际应用价值是什么?
• 应用场景:适用于文本到视频和图像到视频的生成,可应用于内容创作、教育、娱乐等领域。 • 实施建议:LTX-Video的源代码和预训练模型已公开,可被广大研究人员和开发者使用。 • 局限与展望:目前LTX-Video主要支持短视频生成,未来可扩展至支持长视频,并进一步探索其在特定领域的应用。
来源
机器可读索引:llms.txt