Saved in:
Bibliographic Details
Main Authors: Lei, Bin, Chen, le, Ding, Caiwen
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2401.00869
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914626427420672
author Lei, Bin
Chen, le
Ding, Caiwen
author_facet Lei, Bin
Chen, le
Ding, Caiwen
contents In the evolving field of machine learning, video generation has witnessed significant advancements with autoregressive-based transformer models and diffusion models, known for synthesizing dynamic and realistic scenes. However, these models often face challenges with prolonged inference times, even for generating short video clips such as GIFs. This paper introduces FlashVideo, a novel framework tailored for swift Text-to-Video generation. FlashVideo represents the first successful adaptation of the RetNet architecture for video generation, bringing a unique approach to the field. Leveraging the RetNet-based architecture, FlashVideo reduces the time complexity of inference from $\mathcal{O}(L^2)$ to $\mathcal{O}(L)$ for a sequence of length $L$, significantly accelerating inference speed. Additionally, we adopt a redundant-free frame interpolation method, enhancing the efficiency of frame interpolation. Our comprehensive experiments demonstrate that FlashVideo achieves a $\times9.17$ efficiency improvement over a traditional autoregressive-based transformer model, and its inference speed is of the same order of magnitude as that of BERT-based transformer models.
format Preprint
id arxiv_https___arxiv_org_abs_2401_00869
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle FlashVideo: A Framework for Swift Inference in Text-to-Video Generation
Lei, Bin
Chen, le
Ding, Caiwen
Computer Vision and Pattern Recognition
In the evolving field of machine learning, video generation has witnessed significant advancements with autoregressive-based transformer models and diffusion models, known for synthesizing dynamic and realistic scenes. However, these models often face challenges with prolonged inference times, even for generating short video clips such as GIFs. This paper introduces FlashVideo, a novel framework tailored for swift Text-to-Video generation. FlashVideo represents the first successful adaptation of the RetNet architecture for video generation, bringing a unique approach to the field. Leveraging the RetNet-based architecture, FlashVideo reduces the time complexity of inference from $\mathcal{O}(L^2)$ to $\mathcal{O}(L)$ for a sequence of length $L$, significantly accelerating inference speed. Additionally, we adopt a redundant-free frame interpolation method, enhancing the efficiency of frame interpolation. Our comprehensive experiments demonstrate that FlashVideo achieves a $\times9.17$ efficiency improvement over a traditional autoregressive-based transformer model, and its inference speed is of the same order of magnitude as that of BERT-based transformer models.
title FlashVideo: A Framework for Swift Inference in Text-to-Video Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.00869