LTX-Video:实时视频潜在扩散
LTX-Video: Realtime Video Latent Diffusion
AI总结:
LTX-Video通过将Video-VAE与去噪Transformer深度整合,以1:192高压缩比实现高效时空自注意力,在H100上2秒生成5秒高分辨率视频,超越同规模模型并开源。
摘要:
我们提出LTX-Video,这是一种基于Transformer的潜在扩散模型,通过将Video-VAE与去噪Transformer的职责无缝整合,采用整体化方法进行视频生成。与现有方法将这两个组件视为相互独立不同,LTX-Video旨在优化它们之间的交互,以提高效率和质量。其核心是一个精心设计的Video-VAE,实现了1:192的高压缩比,每个token对应32×32×8像素的时空下采样,这是通过将patchify操作从Transformer的输入端移至VAE的输入端实现的。在这种高度压缩的潜在空间中运行,使Transformer能够高效地执行完整的时空自注意力,这对于生成具有时间一致性的高分辨率视频至关重要。然而,高压缩率本质上限制了对精细细节的表示能力。为解决这一问题,我们的VAE解码器同时承担潜在到像素的转换和最终去噪步骤,直接在像素空间中生成干净的结果。这种方法在保留生成精细细节能力的同时,避免了单独上采样模块带来的运行时开销。我们的模型支持多种用例,包括文本到视频和图像到视频生成,两种能力同时训练。它实现了比实时更快的生成速度,在Nvidia H100 GPU上仅需2秒即可生成768×512分辨率、24 fps、时长5秒的视频,优于所有同等规模的现有模型。源代码和预训练模型已公开发布,为可访问且可扩展的视频生成设立了新的基准。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。