MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generation

Sihyun Yu, Meera Hahn, Dan Kondratyuk, Jinwoo Shin, Agrim Gupta, José Lezama, Irfan Essa, David A. Ross, Jonathan Huang · DOI

Abstract

MALT Diffusion addresses the challenge of generating long-form, consistent video content by introducing a recurrent memory mechanism into Latent Diffusion Transformers. By compressing historical context into a persistent memory latent vector and employing noise-augmented training, the model mitigates common issues such as visual drift and quality degradation. Experimental results demonstrate significant improvements in video stability and quality across multiple benchmarks, enabling the generation of high-fidelity video sequences exceeding two minutes.

Introduction

While current video diffusion models excel at short-duration clips (2–10 seconds), extending these capabilities to long-form content remains a significant hurdle. Traditional autoregressive approaches, which use a sliding window of previous frames as context, suffer from two primary limitations:

  1. Short-term Memory: Models lose track of subjects or environments once they exit the immediate context window.
  2. Error Propagation: Minor artifacts in generated segments compound over time, leading to rapid instability and visual "melting."

Methodology: Memory-Augmented Latent Transformers

MALT (Memory-Augmented Latent Transformers) overcomes these limitations by maintaining a persistent internal state across video segments.

Overview of the MALT framework, illustrating the transition from raw video to latent segments and the diffusion process with memory-driven gradients.

Recurrent Memory Mechanism

The core innovation lies in specialized Recurrent Attention Layers integrated into a Diffusion Transformer architecture. These layers compress the hidden states of previous segments into a compact memory latent vector. During generation, the model conditions on both the current diffusion timestep and this accumulated memory, ensuring long-term temporal consistency.

The MALT Block architecture, featuring Memory Attention layers that query hidden states from previous segments to inform the current state.

Robust Training via Noisy Memory

To combat error propagation, the authors introduce Noisy Memory Training. By intentionally injecting noise into the memory vector during the training phase, the model learns to be robust against the imperfect "memories" generated during inference. This bridges the gap between training on ground-truth data and generating new content autoregressively.

Computational Efficiency

The system operates within a compressed latent space facilitated by a MAGVIT-v2 autoencoder. This approach maintains high visual fidelity while significantly reducing the computational overhead associated with processing long sequences.

Experimental Evaluation

MALT was evaluated on several standard benchmarks to assess its performance in unconditional generation and long-term prediction.

  • UCF-101: For unconditional 128-frame generation, MALT achieved an FVD (Fréchet Video Distance) of 220.4, outperforming the previous state-of-the-art (SOTA) of 648.4.
  • Kinetics-600: In long-term prediction tasks (predicting 80 frames from 20), MALT reduced the FVD from 799 to 392.
  • Large-scale T2V: Training on a dataset of 89 million text-video pairs demonstrated the model's ability to generalize to complex creative prompts.

Key Insights

  • Efficient Contextualization: Compressed hidden states provide a more efficient "receptive field" in time compared to raw pixel context.
  • Zero-Shot Generalization: Despite being trained on short clips (~5 seconds), the memory mechanism allows for stable generation of videos exceeding 120 seconds at 8 fps.
  • Parameter Efficiency: MALT achieves superior performance with roughly half the parameters of competing architectures (440M vs. 1.1B).

Limitations and Future Directions

While effective, the current MALT architecture utilizes a fixed-size memory vector, which may eventually reach capacity for extremely long durations. Future work may involve exploring dynamic memory mechanisms or scaling the model beyond the 1B parameter threshold to improve prompt adherence and stylistic variety.

Summary updated

BibTeX
@misc{yu2025malt,
  author = {Sihyun Yu and Meera Hahn and Dan Kondratyuk and Jinwoo Shin and Agrim Gupta and José Lezama and Irfan Essa and David A. Ross and Jonathan Huang},
  title = {{MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generation}},
  year = {2025},
  eprint = {2502.12632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.12632},
}
Figure