OmniVec: Learning robust representations with cross modal sharing

Siddharth Srivastava, Gaurav Sharma · DOI

Introduction

OmniVec is a unified framework designed to learn robust representations across six major modalities—images, video, audio, text, depth maps, and 3D point clouds—using a shared transformer backbone. By combining self-supervised masked pre-training with a novel "modality mixing" strategy, it achieves state-of-the-art results on 22 diverse benchmarks and demonstrates remarkable generalization to unseen tasks and datasets.

The Challenge of Multimodal Specialization

In the current machine learning landscape, most models are specialists: a model trained for image classification is typically ineffective for text summarization or audio recognition. While "multimodal" models exist, they often rely on separate architectures for each data type or require expensive "paired" data (like images with exact captions) to learn relationships.

The authors of OmniVec tackle two main challenges:

  1. Fragmented Architectures: The inefficiency of designing and training separate networks for every modality and task.
  2. Information Silos: The missed opportunity to share "common sense" knowledge across modalities—for instance, the visual concept of a "dog" and the sound of a "bark" should ideally inform the same internal representation.

Methodology: The Hub-and-Spoke Architecture

OmniVec uses a "hub-and-spoke" architecture consisting of modality-specific encoders, meta tokens, a shared transformer trunk, and task-specific heads.

OmniVec Architecture: A shared transformer backbone processes multiple modalities into a common embedding space.
  • Modality-Specific Encoders: Small, specialized "front-ends" (like ViT for images or BERT for text) convert raw data into initial embeddings.
  • Meta Tokens: These provide the network with context about the input, such as modality type, spatial dimensions, and temporal length.
  • Shared Transformer Trunk: The core of the model. All modalities pass through this same set of transformer layers, forcing the network to learn a unified "Omni Embedding" space.
  • Task-Specific Heads: Modular "back-ends" for specific outputs like classification or segmentation.

Training Strategy

The model undergoes Masked Pre-training, a self-supervised approach where it learns to reconstruct missing parts of the input across all modalities simultaneously. Furthermore, the authors employ Task Grouping & Modality Mixing, categorizing tasks into "simple" (label-level) and "dense" (pixel-level) groups. Training involves mixing samples from different modalities within these groups, ensuring the shared backbone learns features that are universally useful.

Experimental Results

OmniVec was evaluated on 22 public benchmarks, including iNaturalist-2018, Kinetics-400, and ESC50. It achieved state-of-the-art (SOTA) or near-SOTA results across nearly every tested benchmark, significantly outperforming existing modality-agnostic and multi-modal models.

Comparison of OmniVec against other multimodal methods across various datasets and modalities.

Key performance highlights include:

  • Image Recognition: 93.8% top-1 accuracy on iNaturalist-2018 and 88.6% on ImageNet1K.
  • Audio: 98.4% on ESC50 and 44.7% on AudioSet (Audio only), significantly higher than previous specialized models.
  • Video: 91.1% on Kinetics-400 and 80.1% on Something-Something v2 (SSv2).
  • Zero-Shot Generalization: On the MSR-VTT text-to-video retrieval task, OmniVec achieved a Recall@10 of 89.4%, outperforming many models specifically designed for video-text alignment.

Discussion and Future Work

A striking finding is that training on multiple modalities improves performance on unimodal tasks, acting as a powerful regularizer. Additionally, OmniVec does not require paired data, allowing it to scale using existing, unlabeled data simply by processing different modalities through the same bottleneck.

However, the model faces challenges such as computational overhead from multiple encoders and the complexity of synchronous training across many tasks. Future work aims to expand the framework to more modalities like tactile or infrared data and explore applications in robotics and autonomous agents.

Summary updated

BibTeX
@inproceedings{srivastava2024omnivec,
  author = {Siddharth Srivastava and Gaurav Sharma},
  title = {{OmniVec: Learning robust representations with cross modal sharing}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00127},
}
Figure