Source-linked AI summary

Self-Supervised MultiModal Versatile Networks

Jean-Baptiste Alayrac, Adrià Recasens, Rosalia Schneider, Relja Arandjelović, Jason Ramapuram, Jeffrey De Fauw, Lucas Smaira, Sander Dieleman, Andrew Zisserman

arXiv:2006.16228v2cs.CV

TL;DR

The paper asks how to learn versatile representations from unlabelled videos while preserving the differing granularity of visual, audio, and language modalities. It introduces multimodal embedding graphs, self-supervised cross-modal contrastive learning, and video-to-image network deflation. MMV achieves state-of-the-art self-supervised performance across multiple video, image, audio, and video-text benchmarks, while supporting static-image inputs.

  • Problem

    The goal is to learn from visual, audio, and language streams without manual annotation while preserving modality specificity and enabling cross-modal comparison and video-or-image processing.

    Source: §1 · p. 1
  • Method

    MMV uses modality-specific backbones, embedding graphs, and self-supervised contrastive losses, with FAC separating fine-grained visual-audio and coarse-grained text spaces and deflation adapting video networks to images.

    Source: §3 · p. 3, §3.1 · pp. 3–4
  • Results

    MMV achieves state-of-the-art performance among self-supervised approaches across action, image, video-text, and audio benchmarks, reducing the gap to supervised methods.

    Source: §1 · p. 2
  • Takeaways & Limitations

    Training on unlabelled video can produce representations applicable across video, image, audio, and video-text tasks, including static-image inputs through deflation.

    Source: §1 · p. 2, §5 · p. 9

    The method relies on automatic speech recognition to obtain language from audio, and learned data representations may reproduce biases present in the data.

    Source: §6 · p. 10

Abstract

from arXiv · show

Videos are a rich source of multi-modal supervision. In this work, we learn representations using self-supervision by leveraging three modalities naturally present in videos: visual, audio and language streams. To this end, we introduce the notion of a multimodal versatile network -- a network that can ingest multiple modalities and whose representations enable downstream tasks in multiple modalities. In particular, we explore how best to combine the modalities, such that fine-grained representations of the visual and audio modalities can be maintained, whilst also integrating text into a common embedding. Driven by versatility, we also introduce a novel process of deflation, so that the networks can be effortlessly applied to the visual data in the form of video or a static image. We demonstrate how such networks trained on large collections of unlabelled video data can be applied on video, video-text, image and audio tasks. Equipped with these representations, we obtain state-of-the-art performance on multiple challenging benchmarks including UCF101, HMDB51, Kinetics600, AudioSet and ESC-50 when compared to previous self-supervised work. Our models are publicly available.

1 Introduction

The paper learns self-supervised representations from visual, audio, and narrated language streams, aiming for one versatile network that preserves modality specificity while supporting cross-modal comparison and both video and image inputs.

  • The work learns representations from visual, audio, and language streams available in large collections of unlabelled videos, without manual annotation.Source: §1 · p. 1
  • A multimodal versatile network should accept any of the three modalities, respect their differing granularity, support cross-modal comparison, and process videos or static images efficiently.Source: §1 · pp. 1–2
  • The proposed design uses modality-specific backbones and embedding graphs so visual and audio representations remain fine-grained while text is semantically coarser.Source: §1 · p. 2
  • Evaluation covers action, image, video-text, and audio tasks across HMDB51, UCF101, Kinetics600, PASCAL VOC, ImageNet, YouCook2, MSRVTT, ESC-50, and AudioSet.Source: §1 · p. 2
  • The MMV achieves state-of-the-art performance among self-supervised approaches and reduces the gap to supervised state of the art on these benchmarks.Source: §1 · p. 2
  • The contributions include comparing modality embedding graphs, introducing deflation for static-image inputs, and demonstrating representations across multiple downstream modalities.Source: §1 · p. 2

2 Related work

Prior work develops self-supervised representations within individual modalities and aligns visual, audio, and language signals, while this paper distinguishes itself by learning from unannotated video modalities.

  • Single-modality self-supervised learning uses annotation-free pretext tasks for vision and exploits temporal structure in videos.Source: §2 · p. 2
  • Vision-language methods embed text and images in a shared vector space, enabling semantic similarity and efficient cross-modal search.Source: §2 · p. 2
  • Vision-audio methods exploit temporal co-occurrence or predict whether visual and audio signals originate from the same video.Source: §2 · p. 2
  • Earlier vision-audio-language approaches include image-audio description datasets and cross-modal networks using image, audio, and text.Source: §2 · p. 3
  • Unlike a comparable cross-modal approach relying on curated annotated datasets, this work requires no annotation.Source: §2 · p. 3
  • Prior work commonly inflates image networks into video networks, whereas this paper reverses the route by training on videos and enabling still-image inputs.Source: §2 · p. 3

3 Approach

The approach learns modality-specific and shared representations from unlabelled videos using embedding graphs and contrastive alignment, then deflates video networks to process single images.

  • Language is obtained from video audio using off-the-shelf automatic speech recognition, while the training data remain unlabelled videos.Source: §3 · p. 3
  • The model processes RGB-frame sequences, one-dimensional audio samples, and discrete word tokens through modality-specific backbones.Source: §3 · p. 3
  • Backbone outputs pass through projection heads into shared spaces where modalities can be compared using dot products.Source: §3 · p. 3

Modality embedding graphs

  • The method considers shared, disjoint, and fine-and-coarse modality embedding graphs, each trading off modality specificity against cross-modal navigation.Source: §3.1 · pp. 3–4
  • The FAC design compares vision and audio in a fine-grained space, maps them into a lower-dimensional coarse space with text, and permits audio-text comparison through shared visual grounding.Source: §3.1 · p. 4

Multimodal contrastive loss

  • Self-supervised contrastive losses align positive streams sampled from the same video location and separate negative streams sampled from different videos.Source: §3.1 · p. 4
  • The text objective uses MIL-NCE because narrations correspond less precisely to video content than synchronized audio does.Source: §3.1 · p. 5

Video-to-image network deflation

  • Network deflation converts a video model into one that accepts a single image, avoiding repeated-frame static videos and improving efficiency.Source: §3.2 · p. 5

4 Experiments

The experiments evaluate multimodal representations across video, image, audio, and video-text tasks, while testing modality combinations, merging strategies, and transfer from video to images. Three-modality training and the FAC design generally improve downstream performance, while deflation preserves image performance at much lower computational cost.

Experimental scope

  • The evaluation spans action, image, video-text, and audio tasks using representations pretrained on HowTo100M and/or AudioSet.Benchmarks include UCF101, HMDB51, Kinetics600, PASCAL VOC, ImageNet, YouCook2, MSRVTT, ESC-50, and AudioSet.Source: §4.1 · p. 6

Design explorations

  • Vision-and-audio experiments found contrastive loss improved vision downstream tasks by 2% over logistic loss while matching it on audio.Non-linear projection heads helped visual representations, but were not beneficial for language or audio branches.Source: §4.2 · p. 7
  • Three-modality training clearly outperformed paired-modality training on visual tasks and produced competitive audio and video-text representations.On HowTo100M, the three-modality model improved UCF101 and HMDB51, matched paired models on ESC-50, won on MSRVTT, and lost on YouCook2.Source: §4.2 · p. 7
  • The FAC merging strategy dominated UCF101, HMDB51, and MSRVTT, performed well on ESC-50, and ranked second on YouCook2.Its results support accounting for the differing specificity of visual, audio, and textual modalities.Source: §4.2 · p. 7

Large-scale experiments

  • The learned representations matched or exceeded state-of-the-art self-supervised performance across the reported downstream tasks and evaluation modes.On ESC-50, MMV exceeded the best supervised result by 1.7%, while linear classifiers remained competitive with finetuned methods.Source: §4.3 · p. 8
  • +9.2% on Kinetics600 was reported for three-modality training over the two-modality comparison.The authors relate this improvement to semantic information in HowTo100M narrations about objects or actions.Source: §4.3 · p. 8

Transfer to image tasks via network deflation

  • Deflated networks performed within around 1% of input-inflated video models while being an order of magnitude more efficient on static images.Naive deflation underperformed severely, indicating that deflation training was necessary.Source: §4.4 · p. 8

5 Conclusion

The paper trains versatile vision, audio, and language networks self-supervised and reports state-of-the-art or better performance across five challenging benchmarks. It also supports zero-shot text-to-video retrieval and transfers video-trained representations to still images.

  • Self-supervised training matches or exceeds state-of-the-art performance for action and audio classification on HMDB51, UCF101, Kinetics600, ESC-50, and AudioSet.Source: §5 · p. 9
  • The authors identify Kinetics600 and AudioSet as larger-scale downstream tasks for evaluating progress in self-supervised methods.Source: §5 · p. 9
  • The network supports zero-shot text-to-video retrieval.Source: §5 · p. 9
  • The deflation process trains on videos while obtaining representations usable for still images.Source: §5 · p. 9
  • The authors argue that abundant web video offers a natural route for self-supervised transfer and encourage future work to pursue it.Source: §5 · p. 9

6 Broader impact

Self-supervised video learning can scale to web video and support multimodal content indexing, but deployment must consider biases learned from the data.

  • Learning without labels allows training on any available collection of web video data, greatly increasing the potential training scale.Source: §6 · p. 10
  • Learned multimodal embeddings can support indexing visual or audio content for web search.Source: §6 · p. 10
  • Self-supervised methods may learn and perpetuate biases present in their data.Source: §6 · p. 10
  • Deployment should carefully consider consequences arising from potential underlying data biases.Source: §6 · p. 10

Appendix overview

The appendices provide optimization and evaluation details, architectural and loss specifications, and quantitative results for modality-pair design exploration.

A.1 Training details

Training preprocesses sampled video clips with spatial and temporal augmentations, then optimizes the networks with Adam using warm-up and cosine learning-rate scheduling; batch statistics are shared across workers.

  • Training samples 16- or 32-frame video subclips, applies scale jittering, resizes the minimum side to 224, and extracts random 200 × 200 crops.Source: §A.1 · p. 14
  • Random horizontal flipping and color augmentation complete the listed video preprocessing pipeline.Source: §A.1 · p. 14
  • 500K optimization steps use Adam with β1 = 0.9, β2 = 0.999, ϵ = 10−8, initial learning rate 0.002, and 5K-step linear warm-up.Source: §A.1 · p. 14
  • A half-period cosine schedule controls learning-rate decay after warm-up.Source: §A.1 · p. 14
  • Batch-normalization mean and variance statistics are aggregated across all workers; the authors observed degraded performance without this sharing.Source: §A.1 · p. 14

A.2 Downstream tasks details

The paper evaluates learned representations across video, image, audio, and video-text tasks using linear classification, fine-tuning, and zero-shot retrieval protocols.

Video classification

  • UCF101 and HMDB51 use frozen-feature linear classification or full-network fine-tuning, with video clips sampled at 10 FPS.Frozen evaluation uses 16 or 32 frames; fine-tuning averages predictions from 10 linearly spaced clips.Source: §A.2 · p. 14
  • Kinetics600 evaluation trains a linear classifier on 32-frame clips and reports top-1 accuracy on the validation set.The classifier is trained for 50 epochs with Adam, warmup, and square-root learning-rate decay.Source: §A.2 · pp. 14–15

Audio classification

  • ESC-50 and AudioSet use features from the audio backbone’s last convolution before pooling, with 2-second audio inputs.ESC-50 uses an SVM, whereas AudioSet uses a two-layer MLP predicting 527 classes and reports validation mAP.Source: §A.2 · p. 15

Video-text retrieval

  • Zero-shot text-to-video retrieval maps text queries and videos into a shared subspace and ranks videos by cosine similarity.Video embeddings average features from 10 linearly spaced clips, using preprocessing close to pretraining.Source: §A.2 · p. 15, Table 4 · p. 15

Image classification

  • Deflated networks are evaluated on PASCAL VOC 2007 and ImageNet using linear classifiers after collapsing temporal filters into 2D filters.For TSM, images pass through the backbone without channel shifting.Source: §A.2 · pp. 15–16

B Model architecture and losses details

The architecture extracts modality-specific embeddings, applies projection heads, and trains shared or disjoint embedding graphs with NCE-based objectives.

Backbones

  • Audio, visual, and text backbones extract embeddings specialized to their respective raw input modalities.The resulting embeddings are passed to projection and shared-graph components.Source: B Model architecture and losses details · p. 16

Projection heads

Shared architecture

  • The shared architecture connects modalities in a common embedding graph and defines NCE losses between video-audio and video-text pairs.The video-audio and video-text objectives are described separately.Source: B Model architecture and losses details · p. 16

Disjoint architecture

  • The disjoint architecture uses a separate embedding graph and defines corresponding NCE losses for video-audio and video-text relationships.Its graph and losses are illustrated separately from the shared architecture.Source: B Model architecture and losses details · p. 17

Fine and Coarse architecture

  • The Fine and Coarse architecture uses a dedicated embedding graph with NCE objectives for video-audio and video-text pairs.The architecture is identified as FAC and illustrated in Figure 3c.Source: B Model architecture and losses details · p. 17

C Additional design choices exploration for pairs of modalities

Pairwise modality experiments isolate backbone, loss, projection-head, and augmentation choices before constructing the three-modality network.

Experimental setup

  • Experiments train S3D-G on HowTo100M for 500K steps, using 16-frame clips and a batch size of 512 unless otherwise stated.The design exploration reports frozen top-1 accuracy for UCF101, HMDB51, and ESC-50, plus R@10 for retrieval tasks.Source: C Additional design choices… · pp. 17–18

Visual backbone

Losses

Projection heads

Data augmentation

  • 4%: randomly offsetting audio relative to video by up to 0.8s reduces visual-task performance, indicating synchronization is an important training signal.Standard video augmentation usually helps, while more aggressive SpecAugment can harm audio performance.Source: C Additional design choices… · p. 18, Table 9 · p. 19
Loading 2006.16228v2…