Connecting Multi-modal Contrastive Representations

Zehan Wang, Yang Zhao, Xize Cheng, Haifeng Huang, Jiageng Liu, Li Tang, Linjun Li, Yongqi Wang, Aoxiong Yin, Ziang Zhang, Zhou Zhao · OpenReview

Abstract

Multi-modal Contrastive Representation (MCR) learning aims to encode different modalities into a semantically aligned shared space. However, the reliance on massive high-quality data pairs limits its development. This paper proposes Connecting Multi-modal Contrastive Representations (C-MCR), a training-efficient method for learning MCR without paired data. By projecting existing MCRs (e.g., CLIP and CLAP) into a new space and using an overlapping modality (text) for alignment, C-MCR transfers connections to non-overlapping pairs (audio-visual). With semantic enhancement and inter/intra-MCR alignment, C-MCR achieves state-of-the-art performance on audio-visual tasks without any paired audio-visual data.

Introduction

Modern AI excels at mapping different data types into shared semantic spaces. Models like CLIP demonstrate that large-scale image-text pairs can build powerful joint representations. However, a significant "data bottleneck" exists: while image-text and audio-text pairs are abundant, direct audio-image or 3D-text pairs are scarce and expensive. C-MCR addresses this by asking: can we connect modality A (Audio) to modality C (Images) using only models that connect A to B (Text) and B to C?

Methodology: The C-MCR Framework

C-MCR treats existing MCR models as nodes and overlapping modalities as links. The architecture utilizes two frozen, pre-trained models (e.g., CLIP for image-text and CLAP for audio-text) and introduces two learnable MLP projectors to map embeddings into a new, shared space.

The C-MCR architecture, illustrating the connection of representation spaces, inference, and noise injection.

To ensure robust alignment, the framework employs two primary strategies:

  1. Semantic Enhancement: Large memory banks of unpaired audio or images are used to generate semantically consistent embeddings. For a given text, similar items are retrieved from the memory bank to create a more diverse representation.
  2. Intra-modality Completion: Gaussian noise is injected into embeddings during training, forcing the model to learn semantic regions rather than single points.
  3. Closing the Modality Gap: An Intra-MCR alignment loss pulls different modalities from the same model closer together in the new space, ensuring the text-based connection transfers effectively to images and audio.

Experimental Results

The effectiveness of C-MCR was evaluated on audio-visual retrieval tasks using datasets like AVE and Flickr-SoundNet. Despite using zero paired audio-image data during training, C-MCR significantly outperformed existing models that utilized paired data.

Quantitative comparison of C-MCR against baseline methods on AVE and Flickr-SoundNet datasets.

As shown in the results, C-MCR achieves superior mAP and Recall metrics while remaining highly efficient, training only 2.1 million parameters. This is orders of magnitude smaller than training multi-modal models from scratch. Beyond audio-visual tasks, C-MCR also demonstrated strong performance in 3D-language tasks, achieving 64.9% zero-shot accuracy on ModelNet40 by connecting CLIP to ULIP.

Conclusion and Future Work

C-MCR provides a "Lego-like" strategy for connecting disparate modalities without direct paired data. While highly effective, the method's performance is bounded by the quality of the "bridge" modality. Future research may explore reducing data requirements further and applying this framework to specialized modalities like medical scans or thermal imaging.

Summary updated

BibTeX
@inproceedings{wang2023connecting,
  author = {Zehan Wang and Yang Zhao and Xize Cheng and Haifeng Huang and Jiageng Liu and Li Tang and Linjun Li and Yongqi Wang and Aoxiong Yin and Ziang Zhang and Zhou Zhao},
  title = {{Connecting Multi-modal Contrastive Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=IGTbT9P1ti},
}
Figure