Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Swap Attention in Spatiotemporal Diffusions for Text-to-Video Generation

About

With the explosive popularity of AI-generated content (AIGC), video generation has recently received a lot of attention. Generating videos guided by text instructions poses significant challenges, such as modeling the complex relationship between space and time, and the lack of large-scale text-video paired data. Existing text-video datasets suffer from limitations in both content quality and scale, or they are not open-source, rendering them inaccessible for study and use. For model design, previous approaches extend pretrained text-to-image generation models by adding temporal 1D convolution/attention modules for video generation. However, these approaches overlook the importance of jointly modeling space and time, inevitably leading to temporal distortions and misalignment between texts and videos. In this paper, we propose a novel approach that strengthens the interaction between spatial and temporal perceptions. In particular, we utilize a swapped cross-attention mechanism in 3D windows that alternates the "query" role between spatial and temporal blocks, enabling mutual reinforcement for each other. Moreover, to fully unlock model capabilities for high-quality video generation and promote the development of the field, we curate a large-scale and open-source video dataset called HD-VG-130M. This dataset comprises 130 million text-video pairs from the open-domain, ensuring high-definition, widescreen and watermark-free characters. A smaller-scale yet more meticulously cleaned subset further enhances the data quality, aiding models in achieving superior performance. Experimental quantitative and qualitative results demonstrate the superiority of our approach in terms of per-frame quality, temporal correlation, and text-video alignment, with clear margins.

Wenjing Wang, Huan Yang, Zixi Tuo, Huiguo He, Junchen Zhu, Jianlong Fu, Jiaying Liu• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-Video GenerationMSR-VTT (test)
CLIP Similarity0.3005
85
Text-to-Video GenerationUCF-101
FVD410
61
Video GenerationUCF101
FVD410
54
Text-to-Video GenerationUCF-101 zero-shot
FVD410
44
Text-to-Video GenerationMSR-VTT
CLIPSIM0.3005
28
Text-to-Video GenerationUCF-101 (test)
FVD410
25
Text-to-Video GenerationMSR-VTT zero-shot
CLIPSIM30.05
20
Zero-shot video generationUCF-101 v1.0 (train test)
FVD410
12
Text-to-Video GenerationWebVid-10M (val)
FVD292.4
4
Showing 9 of 9 rows

Other info

Follow for update