TL;DR
This paper introduces LanDiff, a novel text-to-video generation framework that synergistically combines the strengths of autoregressive language models (LLMs) and diffusion models. By adopting a coarse-to-fine generation paradigm, LanDiff achieves state-of-the-art performance in both short and long video generation, outperforming existing open-source and commercial models on the VBench benchmark.
What Problem Does This Paper Address?
The field of text-to-video (T2V) generation has seen rapid progress, primarily driven by two distinct approaches: autoregressive language models (LLMs) and diffusion models. While LLMs excel at capturing high-level semantic understanding and ensuring temporal coherence, they often struggle with visual fidelity and can suffer from error accumulation. Conversely, diffusion models are adept at generating high-quality visual details but can lack strong semantic understanding and causal modeling, leading to potential temporal inconsistencies. This paper addresses the limitations of these isolated paradigms by proposing a hybrid approach that leverages the strengths of both to achieve coherent, semantically faithful, and visually compelling video generation.
Methods
LanDiff employs a two-stage, coarse-to-fine generation process:
- Semantic Tokenization: The core innovation here is a novel video semantic tokenizer. This component compresses 3D visual features into compact 1D discrete representations. It uses a Transformer-based architecture with query embeddings for efficient semantic compression, achieving a remarkable ~14,000x compression ratio. The tokenizer also incorporates a video frame grouping strategy, inspired by MP4 compression, to handle temporal redundancy by treating I-frames and P-frames differently.
- LLM-based Semantic Token Generation: A language model, based on the LLaMA architecture, takes text prompts and generates high-level semantic tokens. These tokens capture semantic relationships and motion, serving as the "blueprint" for the video. This stage leverages the LLM's strength in understanding and generating coherent sequences.
- Diffusion-based Perceptual Feature Generation: A conditional diffusion model then takes the generated semantic tokens and refines them into high-fidelity perceptual features. This stage focuses on adding the fine-grained visual details. For long video generation, a chunk-wise streaming diffusion strategy is employed to manage computational costs.
- VAE Decoder: Finally, a VAE decoder transforms the generated perceptual features into the final RGB video output.
Datasets
The paper mentions using an internal dataset of 200M video-text pairs for training the video tokenizer and language model. For the diffusion model, a dataset of 3M high-quality video-text pairs was used. Evaluation was performed using prompts from the VBench and VBench-Long benchmarks.
Key Insights and Ideas
- Hybridization is Key: The paper strongly advocates for combining LLMs and diffusion models, demonstrating that their synergistic integration can overcome the inherent limitations of each.
- Coarse-to-Fine Generation: The proposed two-stage approach, starting with semantic understanding and progressively adding visual detail, mirrors human creative processes and proves effective for video generation.
- Efficient Semantic Compression: The ~14,000x compression ratio achieved by the semantic tokenizer is a significant technical feat, enabling LLMs to handle complex video information more effectively.
- Temporal Redundancy Exploitation: The video frame grouping strategy for tokenization is crucial for efficient representation and handling long video sequences.
Key Results
- Short Video Generation: LanDiff (5B model) achieved a VBench score of 85.43, surpassing state-of-the-art open-source models like Hunyuan Video (13B) and commercial models like Sora and Kling.
- Long Video Generation: LanDiff demonstrated state-of-the-art performance on long video generation tasks, outperforming other open-source models.
- Qualitative Improvements: The model excels in spatial relationship compliance, action coherence, and visual quality. Qualitative comparisons show LanDiff accurately depicting complex motion dynamics (e.g., a melting ice sculpture) where other models struggle.
- Video Tokenizer Effectiveness: Ablation studies confirmed that the proposed video tokenizer significantly improves both quality and semantic scores, highlighting its importance.
Limitations and Future Work
- Computational Cost: While efforts have been made (e.g., streaming diffusion), video generation remains computationally intensive.
- Minor Discrepancies: The paper notes minor discrepancies in clothing details during video reconstruction from tokens, suggesting room for improvement in the tokenizer's fidelity.
- Future Directions: The authors' work opens avenues for further exploration in optimizing the balance between semantic understanding and visual fidelity, as well as developing more efficient and controllable video generation models. The demo website and code are made available, encouraging further research.
Summary updated