TL;DR
MDSGen is an ultra-efficient framework for generating high-quality sound from silent video. By replacing heavy U-Net architectures with lightweight Masked Diffusion Transformers and stripping away redundant visual information, the authors achieve state-of-the-art audio-visual alignment using 172x fewer parameters and 36x faster inference than previous leading models.
The Challenge of Video-to-Audio Generation
Generating realistic audio for a silent video (Video-to-Audio or V2A) requires solving two major hurdles: semantic alignment (ensuring a cat video produces a "meow" and not a "bark") and temporal synchronization (ensuring the sound happens exactly when the action occurs).
Current state-of-the-art models are massive, often relying on hundreds of millions of parameters and pre-trained image diffusion backbones. These models are not only slow and memory-hungry but also inefficient; they often process every frame of a video even though consecutive frames are nearly identical. This redundancy leads to overfitting and wasted computation. MDSGen aims to prove that "less is more" by building a specialized, lightweight architecture designed specifically for the temporal nature of audio.
Methods: A Lightweight, Temporal-Aware Architecture
The MDSGen framework moves away from traditional U-Net designs in favor of a Denoising Masked Diffusion Transformer. Its architecture consists of three core innovations:
- Vision Extractor with a Reducer Module: Instead of feeding every video frame into the diffusion process, MDSGen uses a "Reducer" (a 1x1 convolutional layer). This module condenses the temporal information of the video into a single, concise feature vector, effectively filtering out the 90%+ similarity found between adjacent video frames.
- Temporal-Aware Masking (TAM): While standard masked transformers for images hide random "patches," MDSGen hides entire time-slices of the audio's latent representation. This forces the model to learn the deep temporal context of the sound, which is vital for synchronization.
- Masked Temporal-Aware Network (MTANet): During training, this side-network helps the model reconstruct the masked audio tokens, acting as a powerful regularizer that boosts final generation accuracy.
Datasets
The authors evaluated MDSGen on two primary benchmarks:
- VGGSound: A large-scale dataset containing ~175k training and ~15k test samples of diverse audio-visual pairs.
- Flickr-SoundNet: Used as a secondary test set (5k samples) to evaluate how well the model generalizes to new, unseen data.
Key Insights
- Efficiency is a Feature, Not a Compromise: The most striking insight is that a tiny 5M parameter model can outperform a massive 860M parameter model in alignment accuracy. This suggests that V2A tasks benefit more from smart architectural choices (like temporal masking) than raw parameter count.
- Redundancy is the Enemy: The authors found that the video features used by previous models were highly redundant. By using the Reducer module to create a "bottleneck," they actually improved the model's ability to align audio with visual cues because the model was forced to focus on the most salient changes in the video.
- Audio is Not Just an Image: Treating a mel-spectrogram exactly like an image (using spatial masking) is sub-optimal. Because audio is fundamentally a time-series, masking across the temporal dimension (TAM) is far more effective for training generative models.
Key Results
MDSGen sets a new benchmark for efficiency and accuracy in open-domain sound generation:
- Superior Alignment: The smallest MDSGen model (5M parameters) achieved 97.9% alignment accuracy, surpassing the previous state-of-the-art (93.9% at 860M parameters). The 131M parameter "Base" model reached nearly 99% accuracy.
- Massive Speedups: MDSGen-Tiny offers 36x faster inference and uses 371% less memory than the current leading model, Diff-Foley.
- Resource Efficiency: It can be trained on a single A100 GPU in roughly 3-4 days, whereas competing methods often require clusters of 8 GPUs for much longer periods.
Limitations and Future Work
Despite its efficiency, MDSGen still relies on a multi-step diffusion process, which is inherently slower than single-step generative methods like GANs. The current design is also constrained to a fixed video length of 8.2 seconds.
The authors suggest that future work could involve integrating single-step diffusion techniques to further boost speed and exploring 1D Variational Autoencoders (VAEs) to better capture the one-dimensional nature of raw audio waveforms, potentially improving sound quality even further.
Summary updated