Abstract
AVSiam (Audio-Visual Siamese Network) introduces a unified approach to multimodal learning using a single, shared Vision Transformer (ViT) backbone for both audio and visual modalities. By employing a multi-ratio masking scheme and dual objectives—contrastive and reconstruction losses—AVSiam achieves state-of-the-art performance on benchmarks like AudioSet and VGGSound. Notably, it reduces pretraining costs by up to 28.9x and significantly lowers memory requirements compared to traditional dual-stream architectures.
Introduction
Modern audio-visual models are often computational gluttons. Most state-of-the-art (SOTA) approaches rely on "dual-stream" architectures—separate, specialized backbones for audio (like AST) and video (like ViT). This design leads to inflexibility when a modality is missing, high parameter counts that double memory footprints, and extreme training costs. For instance, models like MAViL require over 5,000 V100 GPU hours, making them inaccessible to many researchers. AVSiam addresses these issues by demonstrating that a single set of weights can learn both modalities without sacrificing accuracy.
Methodology
The core of the architecture is AVSiam, a Siamese network where the exact same ViT weights process both audio and video inputs.
Unified Input and Weight Sharing
Audio is converted into a 2D spectrogram and treated as a "grayscale image." To handle the channel difference (3-channel RGB vs. 1-channel audio), the model averages the weights of the first projection layer for audio inputs. This weight sharing acts as a regularizer, forcing the model to learn fundamental semantic features rather than modality-specific noise.
Multi-Ratio Random Masking
Unlike standard Masked Autoencoders (MAE) that use a fixed masking ratio (e.g., 75%), AVSiam introduces Multi-Ratio Masking. It randomly assigns a masking ratio between 0% and 50% for every instance in a batch. This forces the model to learn robust representations across a spectrum of available information, from nearly complete to half-missing data.
Dual Objectives
The model is pretrained using two losses:
- Contrastive Loss: Aligning corresponding audio and video pairs in a shared latent space.
- Reconstruction Loss: A decoder reconstructs original pixels or spectrogram patches from masked tokens.
Experimental Setup
AVSiam was evaluated on several large-scale benchmarks:
- AudioSet (2M and 20K): Standard datasets for audio-visual events.
- VGGSound: 200k clips of diverse sounds.
- MSR-VTT: Used for video-to-audio and audio-to-video retrieval tasks.
- ACAV (2.4M): Additional data to test scaling capabilities.
Key Results and Insights
AVSiam demonstrates that Vision Transformers are largely modality-agnostic; the inductive biases for 2D spectrograms are remarkably similar to those for natural images.
- Efficiency and Speed: AVSiam-Base is 28.9x faster to pretrain than MAViL (177 vs. 5,120 V100 hours). It also requires 1.7x to 1.9x less GPU memory, enabling larger batch sizes which are critical for contrastive learning performance.
- Performance: On AudioSet-2M, AVSiam-Huge achieved 54.1 mAP, outperforming previous SOTA models that utilized separate backbones.
- Zero-Shot Retrieval: AVSiam-Base outperformed the previous best (CAV-MAE) across AudioSet, VGGSound, and MSR-VTT in zero-shot retrieval tasks.
Conclusion
AVSiam represents a significant step toward efficient and scalable multimodal learning. By proving that a single ViT can master both audio and video, the authors lower the barrier to entry for high-performance audio-visual research. Future work will focus on extending this shared-backbone approach to complex tasks like audio-visual question answering (AVQA) and improving temporal modeling for longer video sequences.
Summary updated