[Paper Review] Latent-Shift: Latent Diffusion with Temporal Shift for Efficient Text-to-Video Generation
Latent-Shift finetunes a pretrained text-to-image latent diffusion model with a parameter-free temporal shift module to enable efficient text-to-video generation, achieving competitive results with reduced parameters and no extra temporal modules.
We propose Latent-Shift -- an efficient text-to-video generation method based on a pretrained text-to-image generation model that consists of an autoencoder and a U-Net diffusion model. Learning a video diffusion model in the latent space is much more efficient than in the pixel space. The latter is often limited to first generating a low-resolution video followed by a sequence of frame interpolation and super-resolution models, which makes the entire pipeline very complex and computationally expensive. To extend a U-Net from image generation to video generation, prior work proposes to add additional modules like 1D temporal convolution and/or temporal attention layers. In contrast, we propose a parameter-free temporal shift module that can leverage the spatial U-Net as is for video generation. We achieve this by shifting two portions of the feature map channels forward and backward along the temporal dimension. The shifted features of the current frame thus receive the features from the previous and the subsequent frames, enabling motion learning without additional parameters. We show that Latent-Shift achieves comparable or better results while being significantly more efficient. Moreover, Latent-Shift can generate images despite being finetuned for T2V generation.
Motivation & Objective
- Extend a text-to-image latent diffusion model (LDM) to text-to-video (T2V) generation without adding new temporal parameters.
- Introduce a parameter-free temporal shift module to model temporal dynamics in the U-Net.
- Show that finetuned Latent-Shift can also perform text-to-image generation.
- Demonstrate efficiency and effectiveness on MSR-VTT and UCF-101, including a user study.
Proposed method
- Use a pretrained autoencoder to encode frames into a latent space and a U-Net diffusion model trained for T2I in that latent space.
- Incorporate a temporal shift module inside the residual branch of 2D ResNet blocks to enable motion learning without new parameters.
- Shift one-third of the channel groups forward and one-third backward along the temporal dimension, with zero-padding at the sequence ends.
- Apply cross-attention in transformer blocks for text conditioning and use classifier-free guidance during sampling.
- Train with a latent video diffusion objective on encoded frame sequences and a text-conditioned denoising loss similar to LDMs.
Experimental results
Research questions
- RQ1Can a parameter-free temporal shift module enable effective temporal modeling for T2V without adding temporal convolutions or attention layers?
- RQ2How does Latent-Shift compare to temporal-attention-based latent video diffusion models in quality and efficiency?
- RQ3Does finetuning a T2I model with temporal shift preserve T2I capabilities while enabling T2V generation?
- RQ4What are the trade-offs in model size, speed, and video quality on standard benchmarks?
Key findings
- Latent-Shift achieves competitive zero-shot T2V results on MSR-VTT compared to prior methods.
- It uses fewer parameters and runs faster than temporal-attention-based latent video models while maintaining quality.
- In UCF-101 evaluation, Latent-Shift achieves strong IS and competitive FVD, approaching state-of-the-art figures.
- User studies show Latent-Shift is preferred over CogVideo in quality and faithfulness.
- Latent-Shift retains T2I generation capability after finetuning for T2V.
- The parameter-free temporal shift enables motion learning without extra temporal modules.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.