Parameter Efficient Multimodal Transformers for Video Representation Learning

Sangho Lee, Youngjae Yu, Gunhee Kim, Thomas M. Breuel, Jan Kautz, Yale Song

Overview

Researchers have developed a highly efficient method to train multimodal Transformers for long-form video (up to 30 seconds) from scratch. By introducing a novel low-rank parameter sharing scheme and a content-aware negative sampling strategy, the proposed model reduces its parameter count by a staggering 97%. Despite this massive reduction, it achieves state-of-the-art results in audio-visual classification while remaining lightweight enough to be trained end-to-end.

Introduction

While Transformers have revolutionized natural language processing, adapting them for video representation learning has historically been a "memory nightmare." Standard Transformers require massive amounts of VRAM, especially when processing long video sequences that incorporate multiple modalities, such as synchronized audio and video tracks.

Due to these severe hardware constraints, previous research often relied on "frozen" pre-trained language models (like BERT) to handle multimodal fusion. However, this approach is fundamentally flawed: a model trained on text corpora like Wikipedia is not inherently optimized to understand the physical and temporal relationships between the sound of a splashing wave and the visual sight of the ocean. The authors of this paper set out to create a Transformer architecture efficient enough to be trained end-to-end on audio-visual data from scratch, enabling the model to capture long-term dependencies that short-clip models typically miss.

Methodology

The authors propose a three-stage "mid-level fusion" architecture designed to process and merge audio and visual streams efficiently.

Architecture and Parameter Sharing
  1. Local Feature Embedding: Convolutional Neural Networks (SlowFast for video, ResNet-50 for audio) are first used to extract dense features from short, 1-second clips.
  2. Unimodal Contextualized Embedding: Separate Transformers for audio and video process these extracted features to understand the independent "story" within each modality over a full 30-second span.
  3. Multimodal Contextualized Embedding: A final Transformer merges the two streams. Notably, the inputs are serialized (feeding video tokens followed by audio tokens) rather than concatenated. This serialization helps the model handle real-world cases where sound and action might be slightly out of sync.

The "Secret Sauce": Parameter Reduction

To achieve the 97% reduction in model size, the architecture employs two primary techniques:

  • Cross-Layer Sharing: Reusing weights across different layers of the Transformer.
  • Low-Rank Approximation ($U\Sigma V^T$): The authors decompose the weight matrices into shared and private components. The $U$ matrix (the projection basis) is shared across all modalities, while $\Sigma$ and $V$ (which capture specific dynamics) remain private to each modality. This allows the model to learn the common underlying structure between audio and video while preserving their unique characteristics.

Content-Aware Negative Sampling (CANS)

In contrastive learning, models learn by comparing "positive" pairs (e.g., audio and video from the same clip) against "negative" pairs. Traditionally, negatives are simply random clips from the same batch. The authors introduce CANS-Similar, a strategy that uses the CNN's embedding space to find negatives that are visually or aurally similar to the positive instance. This makes the contrastive task significantly harder, forcing the model to learn much finer, more discriminative details.

Experiments and Results

The model was pretrained on large-scale datasets, including Kinetics-700 (approx. 410k 30-second videos) and AudioSet (approx. 1.8M 10-second clips). It was then evaluated on several downstream benchmarks, including UCF101 and ESC-50 for short-term classification, and Charades and Kinetics-Sounds for long-term action recognition.

Key Findings: * Massive Efficiency Gains: The parameter sharing techniques reduced the model size from 128M to just 4M parameters (a 97% reduction) while marginally increasing overall performance. * State-of-the-Art Performance: On Kinetics-Sounds, the model achieved 67.5% top-1 accuracy, outperforming the "Early" fusion baseline (64.9%) and standard models without parameter sharing. It also outperformed the previous leading multimodal Transformer (CBT) on UCF101 by 5.7%. * Robustness: The model demonstrated strong performance even when tested on only a single modality (audio-only or video-only) after being trained multimodally. * End-to-End Superiority: Training the entire system together, rather than relying on a frozen BERT model, proved crucial for learning features specifically tuned to the physics of video and sound.

Discussion and Limitations

While highly parameter-efficient, the model's pretraining phase still required 64 NVIDIA V100 GPUs, a computational cost that remains prohibitive for many smaller research labs. Furthermore, the Transformers rely heavily on the quality of the initial CNN embeddings. The authors suggest that incorporating contrastive learning directly into the CNN training phase—rather than isolating it to the Transformer—could yield even better representations.

Finally, unlike text-based models that use discrete words, this architecture relies on continuous embeddings. Future work could explore "vector quantization" (converting video into discrete "visual words") to further improve the Masked Embedding Prediction task and bridge the gap between continuous video and discrete language modeling.

Summary updated

BibTeX
@inproceedings{lee2021parameter,
  author = {Sangho Lee and Youngjae Yu and Gunhee Kim and Thomas M. Breuel and Jan Kautz and Yale Song},
  title = {{Parameter Efficient Multimodal Transformers for Video Representation Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
}
Figure