LAMP: Learn A Motion Pattern for Few-Shot-Based Video Generation

Ruiqi Wu, Liangyu Chen, Tong Yang, Chunle Guo, Chongyi Li +1 more
10/16/2023
cs.CV

No official code found. Best implementation: RQ-Wu/LAMP (284 stars, last commit 2024-04-22).

Abstract

With the impressive progress in diffusion-based text-to-image generation, extending such powerful generative ability to text-to-video raises enormous attention. Existing methods either require large-scale text-video pairs and a large number of training resources or learn motions that are precisely aligned with template videos. It is non-trivial to balance a trade-off between the degree of generation freedom and the resource costs for video generation. In our study, we present a few-shot-based tuning framework, LAMP, which enables text-to-image diffusion model Learn A specific Motion Pattern with 8~16 videos on a single GPU. Specifically, we design a first-frame-conditioned pipeline that uses an off-the-shelf text-to-image model for content generation so that our tuned video diffusion model mainly focuses on motion learning. The well-developed text-to-image techniques can provide visually pleasing and diverse content as generation conditions, which highly improves video quality and generation freedom. To capture the features of temporal dimension, we expand the pretrained 2D convolution layers of the T2I model to our novel temporal-spatial motion learning layers and modify the attention blocks to the temporal level. Additionally, we develop an effective inference trick, shared-noise sampling, which can improve the stability of videos with computational costs. Our method can also be flexibly applied to other tasks, e.g. real-world image animation and video editing. Extensive experiments demonstrate that LAMP can effectively learn the motion pattern on limited data and generate high-quality videos. The code and models are available at https://rq-wu.github.io/projects/LAMP.

View on arXivView PDF

Code Implementations(1)

RQ-Wu/LAMPCommunity100%

[CVPR 2024] | LAMP: Learn a Motion Pattern for Few-Shot Based Video Generation

28413PythonOct 6, 20232 years agoNOASSERTION
aigcdiffusiondiffusion-modeldiffusion-modelsfew-shot-learning+3 more

Similar Papers

Cite this paper

@article{wu2023lamp,
  title  = {LAMP: Learn A Motion Pattern for Few-Shot-Based Video Generation},
  author = {Ruiqi Wu and Liangyu Chen and Tong Yang and Chunle Guo and Chongyi Li and Xiangyu Zhang},
  year   = {2023},
  eprint = {2310.10769},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.10769v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.10769.svg)](https://codeofpaper.com/paper/2310.10769)

Discussion