FIFO-Diffusion: Generating Infinite Videos from Text without Training

Jihwan Kim, Junoh Kang, Jinyoung Choi, Bohyung Han · OpenReview

Abstract

We present FIFO-Diffusion, a training-free inference technique for text-to-video diffusion models that enables the generation of infinitely long videos. By conceptualizing the denoising process as a First-In-First-Out (FIFO) queue, our method performs "diagonal denoising," processing a sequence of frames with increasing noise levels. This approach maintains a constant memory footprint regardless of video length. To address the discrepancy between training and inference, we introduce latent partitioning and lookahead denoising. Our results demonstrate that FIFO-Diffusion can generate over 10,000 frames with high temporal consistency and visual quality.

Introduction

Generating long-form video remains a significant challenge for current diffusion models, which are typically trained on short clips of 16 to 24 frames. Extending these models to longer sequences usually results in prohibitive memory costs or temporal "drifting," where the subject or scene loses coherence over time. FIFO-Diffusion addresses these issues by treating video generation as a continuous stream rather than a fixed-length block.

Methodology

The core of FIFO-Diffusion is the FIFO queue and diagonal denoising. In a standard diffusion process, all frames in a batch are denoised simultaneously at the same noise level. In contrast, FIFO-Diffusion maintains a queue where the head is the least noisy and the tail is pure noise.

Diagonal Denoising and Latent Partitioning

In each step, the model denoises the entire queue. The fully denoised frame at the head is dequeued, and a new noise frame is enqueued at the tail. However, because the model was trained on uniform noise levels, the gradient of noise in the FIFO queue creates a "training-inference gap." Latent partitioning mitigates this by dividing the queue into blocks, narrowing the noise variance the model encounters in a single pass.

Lookahead Denoising

To further stabilize the generation, lookahead denoising allows noisier frames to reference cleaner frames further ahead in the queue. This forward-referencing acts as a temporal anchor, ensuring that the motion and structure of the video remain consistent as new frames are introduced.

Key Results

FIFO-Diffusion was evaluated using several pretrained baselines, including VideoCrafter1/2, zeroscope, and Open-Sora Plan. The method successfully generates seamless videos exceeding 10,000 frames without perceptual degradation.

Figure 5: An astronaut sequence showing consistent generation from frame 0 to frame 10,000.
Figure 1: The 10,000th frame of a penguin video, showcasing the model's ability to maintain detail and consistency over long durations.

Quantitative and Qualitative Evaluation

On the UCF-101 dataset, FIFO-Diffusion achieved an FVD128 score of 596.64, outperforming PVDM (648.4) and StyleGAN-V (1773.4). User studies further confirmed a preference for FIFO-Diffusion over existing training-free baselines like FreeNoise, particularly in terms of motion plausibility. Furthermore, the method is highly efficient; using 8 GPUs in parallel, it achieves an inference speed of 1.84 seconds per frame.

Conclusion

FIFO-Diffusion provides a robust, training-free framework for infinite video generation. By maintaining a constant memory profile and leveraging diagonal denoising, it overcomes the primary bottlenecks of long-form video synthesis. Future work will focus on closing the training-inference gap further and improving transitions between complex prompts.

Summary updated

BibTeX
@inproceedings{kim2024fifo,
  author = {Jihwan Kim and Junoh Kang and Jinyoung Choi and Bohyung Han},
  title = {{FIFO-Diffusion: Generating Infinite Videos from Text without Training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uikhNa4wam},
}
Figure