Skip to main content
QUICK REVIEW

[Paper Review] Zorro: the masked multimodal transformer

Adrià Recasens, Jason Lin|arXiv (Cornell University)|Jan 23, 2023
Speech and Audio ProcessingComputer Science11 citations
TL;DR

Zorro introduces modality-aware masking in Transformers to yield unimodal and multimodal outputs within a single backbone, enabling self-supervised contrastive learning and unimodal inference alongside multimodal tasks. It achieves strong audio-visual benchmarks while retaining unimodal evaluation capabilities.

ABSTRACT

Attention-based models are appealing for multimodal processing because inputs from multiple modalities can be concatenated and fed to a single backbone network - thus requiring very little fusion engineering. The resulting representations are however fully entangled throughout the network, which may not always be desirable: in learning, contrastive audio-visual self-supervised learning requires independent audio and visual features to operate, otherwise learning collapses; in inference, evaluation of audio-visual models should be possible on benchmarks having just audio or just video. In this paper, we introduce Zorro, a technique that uses masks to control how inputs from each modality are routed inside Transformers, keeping some parts of the representation modality-pure. We apply this technique to three popular transformer-based architectures (ViT, Swin and HiP) and show that with contrastive pre-training Zorro achieves state-of-the-art results on most relevant benchmarks for multimodal tasks (AudioSet and VGGSound). Furthermore, the resulting models are able to perform unimodal inference on both video and audio benchmarks such as Kinetics-400 or ESC-50.

Motivation & Objective

  • Motivate multimodal perception that remains functional when some modalities are absent, inspired by human perception flexibility.
  • Develop a Transformer architecture that splits representation into unimodal and fusion streams via masking to prevent undesired cross-modal entanglement.
  • Enable both supervised learning and self-supervised contrastive pre-training within a single model that can operate on audio, video, or both.
  • Demonstrate state-of-the-art or competitive performance on audio-visual benchmarks and show unimodal inference capability on unimodal benchmarks.

Proposed method

  • Propose Zorro masking to create three representation streams: unimodal (audio or video) and fusion, within a standard Transformer backbone.
  • Apply modality-specific and fusion-attention masking to block information flow from unimodal streams into other modalities, preserving modality-pure representations.
  • Extend Zorro to ViT, Swin, and HiP backbones with architecture-specific adjustments.
  • Use cross-attention-based decoding queries to produce outputs for audio, video, fusion, and a global representation.
  • Pre-train with an audio-visual contrastive loss that aligns unimodal outputs with the fusion outputs via auxiliary projections and a temperature-scaled Noise-Contrastive Estimation loss.
  • During supervised training, learn four outputs (audio, video, fusion, and global) and train classifiers for each output, averaging predictions.

Experimental results

Research questions

  • RQ1Can masking within a Transformer preserve unimodal representations while enabling cross-modal fusion, without collapsing self-supervised losses?
  • RQ2Does a single Zorro backbone support effective self-supervised audio-visual pre-training and competitive supervised fine-tuning across multimodal benchmarks?
  • RQ3Can unimodal inference be maintained or recovered when evaluating a multimodal backbone on single modalities?
  • RQ4What are the comparative gains of Zorro over prior multimodal architectures in AudioSet, VGGSound, Kinetics-400, and ESC-50?
  • RQ5How do different masking configurations affect performance in supervised and self-supervised settings?

Key findings

  • Zorro achieves state-of-the-art performance on several self-supervised benchmarks for multimodal tasks (AudioSet and VGGSound).
  • Under self-supervised pre-training, Zorro closes the gap to supervised pre-training on AudioSet and remains competitive on VGGSound and Kinetics-400.
  • Zorro enables unimodal inference on both video and audio benchmarks even when trained on multimodal data, outperforming architectures that do not support unimodal evaluation.
  • Compared architectures (ViT, Swin, HiP) show varying trade-offs; Zorro-Swin achieves strong results in the baseline trained-from-scratch setting, with ViT offering robust performance when modality-wise parameter sharing is used.
  • The masking strategy (Zorro) helps preserve modality-pure streams, enabling effective self-supervision without representation collapse and allowing cross-modal outputs for fusion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.