HARIVO: Harnessing Text-to-Image Models for Video Generation

Mingi Kwon, Seoung Wug Oh, Yang Zhou, Difan Liu, Joon-Young Lee, Haoran Cai, Baqiao Liu, Feng Liu, Youngjung Uh · DOI

Abstract

Text-to-Image (T2I) models have achieved remarkable success in generating high-quality, diverse imagery. However, extending these models to video generation (T2V) remains a significant challenge due to the computational cost of training 3D architectures and the risk of losing the artistic diversity inherent in pretrained models. This paper introduces HARIVO (Harnessing Text-to-Image Models for Video Generation), a framework that transforms frozen, pretrained T2I models into high-quality video generators. By addressing the fundamental issue of Independent and Identically Distributed (IID) noise and introducing specialized temporal consistency mechanisms, HARIVO achieves smooth, creative video generation while maintaining full compatibility with the existing T2I ecosystem.

Introduction

Creating high-quality Text-to-Video (T2V) models typically involves fine-tuning massive 3D UNet architectures on enormous video datasets. This approach is not only computationally prohibitive but often "washes out" the stylistic variety found in original T2I models like Stable Diffusion. While some research has attempted to freeze the T2I model and only train temporal layers, these methods often struggle with temporal instability.

The core of this instability lies in the noise distribution. T2I models are trained to transform random Gaussian noise into a single image. When 24 different random noise blocks are provided for 24 frames, the lack of correlation results in "visual soup" or severe flickering. HARIVO bridges this gap by teaching a frozen model to handle the temporal correlations inherent in video without altering the underlying spatial weights.

Methodology

HARIVO introduces a minimalist yet effective set of additions to the standard Stable Diffusion architecture to enable temporal coherence.

1. The Mapping Network

Rather than feeding raw Gaussian noise directly into the UNet, HARIVO utilizes a trainable mapping network. This network pre-processes the noise, transforming it into a distribution that accounts for inter-frame relationships. This allows the model to utilize the standard reparameterization trick during training while ensuring the initial latent states are temporally linked.

2. Frame-wise Token Generator

Standard T2V adaptations often use the same text prompt tokens for every frame. HARIVO introduces a generator that creates subtle, frame-specific tokens. These tokens manage "micro-variations" in motion, while the primary prompt maintains global content consistency across the sequence.

3. Temporal Regularized Self-Attention (TRS) Loss

To ensure structural stability, the authors propose the TRS loss. This loss penalizes large discrepancies in self-attention maps between adjacent frames. Since self-attention maps define the "skeleton" and layout of a scene, keeping them similar ensures the video does not jitter or lose its structural integrity.

4. Decoupled Contrastive (DC) Loss

Applied to the UNet’s bottleneck (the "h-space"), the DC loss uses contrastive learning to maintain the semantic identity of objects. This prevents "morphing" effects, such as a subject changing species or identity halfway through the video.

5. Mitigating Gradient (MG) Sampling

At inference time, HARIVO employs MG sampling, a guidance technique that uses the gradient of frame differences to nudge the denoising process toward smoother transitions, further refining the temporal flow.

Experimental Results

Quantitative Performance

The model was trained on the WebVid-10M dataset and evaluated using standard benchmarks:

  • UCF101: HARIVO achieved a Fréchet Video Distance (FVD) of 787.87, a substantial improvement over the AnimateDiff baseline (1934.72).
  • MSR-VTT: Evaluation via CLIP Similarity confirmed that the generated videos maintain high alignment with the input text prompts.

User Preference

In a user study involving 50 participants, HARIVO was consistently preferred over established models such as VideoLDM and PYoCo. Across categories of natural motion, consistency, and overall quality, HARIVO achieved preference scores ranging from 65% to 76% in head-to-head matchups.

Zero-Shot Compatibility

A key advantage of HARIVO is that the base T2I model remains untouched. This makes the framework "born" compatible with the entire Stable Diffusion ecosystem. Users can integrate DreamBooth-trained characters or ControlNet-based pose sequences, and HARIVO will naturally animate them without additional training.

Discussion and Limitations

While HARIVO represents a significant step forward, it inherits certain limitations from its base models. Because the T2I model is frozen, HARIVO may replicate anatomical errors or hallucinations present in Stable Diffusion v1.5 (e.g., distorted hands). Additionally, the authors note that current metrics like FVD may penalize stylistic diversity if the generated content deviates from the specific distribution of the evaluation dataset.

Future work will focus on integrating these temporal biases into larger, more modern architectures like SDXL and addressing the ethical considerations surrounding high-fidelity synthetic video generation.

Conclusion

HARIVO demonstrates that high-quality video generation does not require the destructive retraining of T2I models. By focusing on noise distribution and attention-based regularization, HARIVO provides a robust, efficient, and compatible framework for the next generation of creative video tools.

Summary updated

BibTeX
@inproceedings{kwon2024harivo,
  author = {Mingi Kwon and Seoung Wug Oh and Yang Zhou and Difan Liu and Joon-Young Lee and Haoran Cai and Baqiao Liu and Feng Liu and Youngjung Uh},
  title = {{HARIVO: Harnessing Text-to-Image Models for Video Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73668-1\_2},
}
Figure