NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mobile Video Diffusion

Amir Habibian

TL;DR

This paper introduces MobileVD, the first image-to-video diffusion model optimized for mobile devices. By significantly reducing computational demands through novel architectural modifications and adversarial finetuning, MobileVD achieves a 523x efficiency improvement over its base model, enabling video generation on smartphones with minimal quality loss.

What Problem Does This Paper Address?

Modern diffusion models for video generation, while capable of producing highly realistic and controllable content, are computationally intensive. This high demand for processing power and memory makes them impractical for deployment on resource-constrained devices like smartphones. The authors aim to bridge this gap by developing a video diffusion model that can run efficiently on mobile platforms, democratizing access to advanced video generation technology for everyday users.

Methods

The core of the paper lies in optimizing the spatio-temporal UNet architecture of Stable Video Diffusion (SVD) for mobile deployment. Key techniques include:

  • Resolution Reduction: The model's latent resolution is reduced to 512x256 pixels, leading to smaller feature maps and reduced memory usage.
  • Multi-Scale Temporal Representations: Novel temporal down- and up-sampling operations are introduced to capture temporal dynamics across different scales, further reducing computational cost.
  • Optimized Cross-Attention: A lossless optimization is applied to the cross-attention mechanism, removing redundant computations by leveraging the fact that the conditioning image embedding is a single token. This significantly reduces GPU latency and, crucially, prevents out-of-memory errors on mobile devices.
  • Channel Funnels: A novel technique called "channel funnels" is introduced to reduce the number of channels in affine layers. These "funnels" are merged with the original weight matrices during inference, effectively reducing model width without quality degradation. Coupled Singular Initialization (CSI) is proposed for initializing these funnel matrices.
  • Temporal Block Pruning: A learnable pruning technique is employed to remove less important temporal blocks within the UNet, leading to significant reductions in FLOPs and latency.
  • Adversarial Finetuning: The model is finetuned using an adversarial approach to reduce the number of denoising steps to a single step, drastically speeding up inference.

Datasets

  • Training: A curated dataset of approximately 31,000 videos was used for finetuning, selected based on motion and aesthetic scores.
  • Evaluation: The UCF-101 dataset was used for evaluating video quality metrics (FVD) and performance. The VBench-I2V toolkit was also used for evaluating video generation across different speeds and motion degrees.

Key Insights and Ideas

  • Mobile Latency is Key: The authors emphasize that while FLOPs are a good proxy for computational cost, on-device latency is the ultimate bottleneck. Optimizations that might seem minor on GPUs (like removing softmax operations in cross-attention) can have a substantial impact on mobile performance.
  • Resolution vs. Quality Trade-off: Simply reducing resolution can degrade quality. The introduction of multi-scale temporal representations helps maintain visual fidelity while benefiting from lower resolutions.
  • Channel Funnels: A Practical Compression: The channel funnel technique offers an effective way to compress model width at inference time without the complexity of low-rank decomposition or the potential for quality loss associated with aggressive pruning.
  • Pruning Temporal Blocks is Effective: Removing a significant portion of temporal blocks (up to 70%) can yield substantial efficiency gains with minimal impact on video quality, suggesting that not all temporal information processing is equally critical.

Key Results

  • Efficiency: MobileVD achieves a remarkable 523x efficiency improvement (4.34 TFLOPS vs. 2280 TFLOPS for the finetuned SVD baseline) and generates a 14-frame clip at 512x256 resolution in just 1.7 seconds on a Xiaomi 14 Pro.
  • Quality: The model achieves a competitive Fréchet Video Distance (FVD) of 171, only slightly worse than the finetuned SVD baseline (133) and SF-V (168).
  • Ablation Studies: The paper demonstrates the individual impact of each optimization. For instance, optimized cross-attention unlocks on-device execution, temporal downsampling speeds up inference by 29%, temporal block pruning by 13%, and channel funneling by 9%.

Limitations and Future Work

  • Output Resolution and Duration: The current output is limited to 14 frames at a resolution of 256x512 pixels.
  • Lack of Textual Control: MobileVD inherits the lack of textual control from the SVD model it's based on, as SVD was finetuned from a text-to-video model to an image-to-video model.
  • Future Directions: The authors plan to explore more efficient autoencoders for higher spatial and temporal compression, enabling longer and higher-resolution videos. They also aim to reintroduce textual control, potentially through reverse finetuning or by using a different backbone.

Summary updated

BibTeX
@misc{habibian2024mobile,
  author = {Amir Habibian},
  title = {{Mobile Video Diffusion}},
  year = {2024},
  eprint = {2412.07583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.07583},
}
Figure