Skip to main content
QUICK REVIEW

[Paper Review] Matten: Video Generation with Mamba-Attention

Yu Gao, Jiancheng Huang|arXiv (Cornell University)|May 5, 2024
Human Motion and AnimationEngineering3 citations
TL;DR

Matten proposes a novel latent diffusion model for video generation that combines Mamba-Attention architecture, using spatial-temporal attention for local spatio-temporal modeling and bidirectional Mamba for global long-range dependencies. It achieves state-of-the-art FVD scores with 25% fewer FLOPs than Latte, demonstrating superior efficiency and strong scalability across model sizes.

ABSTRACT

In this paper, we introduce Matten, a cutting-edge latent diffusion model with Mamba-Attention architecture for video generation. With minimal computational cost, Matten employs spatial-temporal attention for local video content modeling and bidirectional Mamba for global video content modeling. Our comprehensive experimental evaluation demonstrates that Matten has competitive performance with the current Transformer-based and GAN-based models in benchmark performance, achieving superior FVD scores and efficiency. Additionally, we observe a direct positive correlation between the complexity of our designed model and the improvement in video quality, indicating the excellent scalability of Matten.

Motivation & Objective

  • To develop a more efficient and scalable video generation model by integrating Mamba and attention mechanisms in a latent diffusion framework.
  • To investigate the optimal architectural configuration of Mamba and attention for spatio-temporal video modeling.
  • To evaluate the performance and scalability of the proposed model across multiple video generation benchmarks.
  • To demonstrate that Mamba-based modeling can achieve competitive results without relying on pre-trained image models.

Proposed method

  • Matten employs a latent diffusion model with a U-Net backbone enhanced by Mamba-Attention blocks for joint spatial-temporal modeling.
  • Spatial-temporal attention is used to capture local dependencies within and across frames, while bidirectional Mamba models long-range global temporal relationships.
  • The model integrates timestep and class information via M-AdaN, a learnable injection mechanism that ensures coherent distribution across tokens.
  • Four model variants are trained from scratch with controlled parameter counts to compare the impact of attention-only, Mamba-only, and hybrid configurations.
  • The architecture leverages a pre-trained VAE from Stable Diffusion v1-4 and uses EMA weight averaging with a decay rate of 0.99 for improved inference stability.
  • Training uses horizontal flipping augmentation and is conducted from scratch due to the absence of pre-trained Mamba-based image models.

Experimental results

Research questions

  • RQ1How does combining Mamba and attention mechanisms affect video generation quality and efficiency?
  • RQ2What is the optimal architectural configuration of Mamba and attention for modeling spatio-temporal video dynamics?
  • RQ3Can a Mamba-based video diffusion model achieve competitive performance without pre-trained image models?
  • RQ4How does model size and complexity scale in terms of video quality and FVD performance?

Key findings

  • Matten achieves state-of-the-art Fréchet Video Distance (FVD) scores across all benchmarks, matching or exceeding models that use image-pretrained weights.
  • The model reduces FLOPs by approximately 25% compared to Latte, a leading Transformer-based model, while maintaining competitive performance.
  • Model variant 3, which combines local attention and global Mamba, outperforms variants focused solely on local or global modeling, confirming the benefit of a hybrid approach.
  • A direct positive correlation exists between model complexity and video quality, demonstrating strong scalability across XL, L, B, and S model sizes.
  • M-AdaN injection of timestep and class information significantly improves performance over conditional tokens, due to better synchronization and distribution across video tokens.
  • The model generates high-quality, high-resolution (256×256) videos with accurate facial motion and dynamic scene handling, especially excelling on challenging datasets like UCF101.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.