MED-VT++: Unifying Multimodal Learning with a Multiscale Encoder-Decoder Video Transformer

Rezaul Karim, He Zhao, Richard P. Wildes, Mennatullah Siam

Abstract

In this paper, we present an end-to-end trainable unified multiscale encoder-decoder transformer that is focused on dense prediction tasks in video. The presented Multiscale Encoder-Decoder Video Transformer (MED-VT) uses multiscale representation throughout and employs an optional input beyond video (e.g., audio), when available, for multimodal processing (MED-VT++). Multiscale representation at both encoder and decoder yields three key benefits: (i) implicit extraction of spatiotemporal features at different levels of abstraction for capturing dynamics without reliance on input optical flow, (ii) temporal consistency at encoding and (iii) coarse-to-fine detection for high-level (e.g., object) semantics to guide precise localization at decoding. Moreover, we present a transductive learning scheme through many-to-many label propagation to provide temporally consistent video predictions. We showcase MED-VT/MED-VT++ on three unimodal video segmentation tasks (Automatic Video Object Segmentation (AVOS), actor-action segmentation and Video Semantic Segmentation (VSS)) as well as a multimodal segmentation task (Audio-Visual Segmentation (AVS)). Results show that the proposed architecture outperforms alternative state-of-the-art approaches on multiple benchmarks using only video (and optional audio) as input, without reliance on optical flow. Finally, to document details of the model's internal learned representations, we present a detailed interpretability study, encompassing both quantitative and qualitative analyses.

Introduction

Video dense prediction—the task of labeling every pixel in every frame—is a fundamental challenge in computer vision. To be successful, a model must balance high-level semantic understanding (identifying what an object is) with fine-grained localization (delineating exactly where its boundaries are). Furthermore, maintaining temporal consistency is crucial to prevent mask flickering or drift over time.

Overview of video segmentation tasks supported by MED-VT++

Historically, researchers have relied on pre-computed optical flow to capture motion dynamics, which is computationally expensive and error-prone. Additionally, specialized architectures were often required for different modalities. MED-VT++ addresses these limitations with a single, unified transformer framework that handles multiple scales and modalities without requiring optical flow.

Methodology

The Multiscale Encoder-Decoder Video Transformer (MED-VT) architecture introduces several novel components to unify video segmentation tasks.

Detailed architecture of the MED-VT framework, showing the multiscale encoder, decoder, and label propagation modules

Unified Multiscale Processing

Unlike prior architectures that utilize multiscale features primarily in the encoder, MED-VT employs them throughout the entire pipeline. The Encoder uses "within-scale" and "between-scale" attention to capture spatiotemporal features at varying levels of abstraction. The Decoder implements a coarse-to-fine strategy, where high-level semantic information from deeper layers guides precise localization at finer resolutions in shallower layers.

Many-to-Many Label Propagation

To ensure temporal consistency, the authors introduce a transductive learning scheme. Instead of causal propagation (frame-to-frame), this module propagates labels across the entire video clip simultaneously. This "many-to-many" approach allows the model to smooth predictions and recover missing object parts by leveraging information from both the past and the future.

Multimodal Integration (MED-VT++)

When audio is available, MED-VT++ utilizes a bidirectional cross-attention mechanism. Audio acts as a "context cue," enabling the model to selectively segment objects based on acoustic signals, such as segmenting a person only when they are speaking.

Experimental Results

MED-VT++ was evaluated across a wide range of benchmarks, consistently outperforming or matching state-of-the-art models.

  • Camouflaged Object Detection: On the MoCA dataset, where objects are nearly indistinguishable from the background without motion, MED-VT achieved a 78.5 J Mean. This significantly outperforms models using RGB+Flow, which peaked at approximately 64.2.
  • Actor-Action Segmentation: On the A2D dataset, the model reached 57.1 mIoU, representing a substantial improvement over the previous best of 39.5.
  • Audio-Visual Segmentation: In AVSBench tasks, MED-VT++ set new records for both single (83.22 mIoU) and multiple (66.61 mIoU) sound source scenarios.
  • Efficiency: Despite its multiscale complexity, the model is efficient. On the MoCA dataset, it achieved a processing speed of 0.6s per clip, outperforming competitors like RTNet (1.9s) while maintaining comparable memory usage.

Discussion and Conclusion

The success of MED-VT++ highlights the power of multiscale representations in both encoding and decoding for video dense prediction. By internalizing motion dynamics through attention mechanisms, the model removes the dependency on optical flow. The transductive label propagation further ensures superior temporal stability. While the current multiscale encoder is memory-intensive, future work will explore more efficient transformer designs and extend the framework to other modalities, such as text-based referring expressions.

Summary updated

Abstract

In this paper, we present an end-to-end trainable unified multiscale encoder-decoder transformer that is focused on dense prediction tasks in video. The presented Multiscale Encoder-Decoder Video Transformer (MED-VT) uses multiscale representation throughout and employs an optional input beyond video (e.g., audio), when available, for multimodal processing (MED-VT++). Multiscale representation at both encoder and decoder yields three key benefits: (i) implicit extraction of spatiotemporal features at different levels of abstraction for capturing dynamics without reliance on input optical flow, (ii) temporal consistency at encoding and (iii) coarse-to-fine detection for high-level (e.g., object) semantics to guide precise localization at decoding. Moreover, we present a transductive learning scheme through many-to-many label propagation to provide temporally consistent video predictions. We showcase MED-VT/MED-VT++ on three unimodal video segmentation tasks (Automatic Video Object Segmentation (AVOS), actor-action segmentation and Video Semantic Segmentation (VSS)) as well as a multimodal segmentation task (Audio-Visual Segmentation (AVS)). Results show that the proposed architecture outperforms alternative state-of-the-art approaches on multiple benchmarks using only video (and optional audio) as input, without reliance on optical flow. Finally, to document details of the model's internal learned representations, we present a detailed interpretability study, encompassing both quantitative and qualitative analyses.
BibTeX
@misc{karim2023med,
  author = {Rezaul Karim and He Zhao and Richard P. Wildes and Mennatullah Siam},
  title = {{MED-VT++: Unifying Multimodal Learning with a Multiscale Encoder-Decoder Video Transformer}},
  year = {2023},
  eprint = {2304.05930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.05930},
}
Figure