Introduction
Generating video from text is a formidable challenge, requiring not only spatial consistency but also temporal coherence—ensuring objects move realistically over time. Existing state-of-the-art models typically rely on computationally intensive pixel-space diffusion or the addition of millions of new parameters through temporal layers, such as 1D convolutions or temporal attention. These approaches often increase memory requirements and can lead to "model collapse," where the ability to generate high-quality static images is compromised.
Latent-Shift introduces a highly efficient text-to-video (T2V) framework that adapts pre-trained text-to-image (T2I) models without adding any new parameters to the core architecture. By incorporating a parameter-free "temporal shift" module into the latent space, Latent-Shift achieves state-of-the-art efficiency, generating videos up to 18x faster than heavyweights like CogVideo while maintaining the model's original generative capabilities.
Methods: The Temporal Shift Module
The core innovation of Latent-Shift is the adaptation of the Temporal Shift Module (TSM) for generative diffusion within the latent space of a pre-trained autoencoder. This technique, originally developed for video recognition, allows the model to learn temporal dependencies without introducing new weights.
The process operates within each ResNet block of the U-Net:
- Channel Splitting: Feature map channels $Z_i$ are split into three segments ($Z_i^1, Z_i^2, Z_i^3$).
- Temporal Shifting: One segment is shifted one frame forward in time, another one frame backward, and the third remains stationary.
- Pseudo-3D Convolution: By rearranging the channels to include data from neighboring frames, standard 2D spatial convolutions effectively function as 3D convolutions. The spatial kernels "see" the previous and next frames through the shifted channels, enabling the learning of motion.
- Zero-Padding: Zero-padding at the clip boundaries serves as a natural signal. When generating a single image, the shifted channels are empty, prompting the model to ignore temporal context and focus on spatial quality, thus preventing model collapse.
Datasets and Training
The researchers utilized several standard benchmarks for training and evaluation:
- WebVid-10M: A dataset of 10 million text-video pairs used for primary training.
- MSR-VTT: Used for zero-shot evaluation to test generalization to unseen prompts.
- UCF-101: A dataset of human actions used for finetuning and evaluating specific motion capture (e.g., "typing" or "fencing").
Key Results and Comparison
Latent-Shift demonstrates significant improvements in both speed and quality. On an NVIDIA A100 GPU, it generates a video in 23.4 seconds, compared to 434.5 seconds for CogVideo—an 18x speedup. This efficiency is achieved with a much smaller footprint: roughly 1.5 billion parameters compared to CogVideo's 15.5 billion.
Quantitatively, Latent-Shift achieved a state-of-the-art Inception Score (IS) of 92.72 on UCF-101, significantly outperforming VDM (57.80) and Make-A-Video (82.55). User studies also favored Latent-Shift for both video quality and text faithfulness.
Discussion and Limitations
The success of Latent-Shift suggests that explicit temporal weights are not strictly necessary for learning motion; rearranging existing feature maps is sufficient for spatial kernels to learn temporal logic. This approach preserves the model's ability to generate high-quality static images, making it a versatile "universal" generator.
However, limitations remain. The model can still produce artifacts when handling complex object compositions and may struggle with very subtle motions. Future work will focus on scaling latent resolution and exploring combinations with advanced distillation techniques to further push the boundaries of real-time video generation.
Summary updated