Connecting Multi-modal Contrastive Representations

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

TL;DR

C-MCR (Connecting Multi-modal Contrastive Representations) is a highly efficient training framework designed to align disparate modalities—such as audio and images—without requiring direct paired data. By "stitching together" existing pre-trained models (e.g., CLIP and CLAP) using a shared bridge modality like text, C-MCR achieves state-of-the-art zero-shot performance on audio-visual and 3D-language tasks.

The Data Bottleneck in Multi-modal Learning

Multi-modal Contrastive Representation (MCR) models, most notably CLIP, have revolutionized artificial intelligence by mapping different types of data (like images and text) into a single, shared mathematical space. However, these models are notoriously data-hungry. CLIP's success relies heavily on the internet's vast supply of captioned images.

But what happens when we want to align modalities that lack massive, high-quality paired datasets? Semantically matching audio-image pairs are rare and often noisy, and 3D point cloud-text pairs are incredibly difficult to collect at scale. Traditionally, this meant these "low-resource" modality pairs lagged significantly behind.

The authors of this paper tackle this "data bottleneck" with a clever workaround: If we already have a pre-trained model for modalities (A, B) and another for (B, C), can we use modality B as a bridge to connect A and C?

The C-MCR Framework

To answer this, the authors introduce C-MCR, a method to connect two existing MCR spaces via an overlapping "bridge" modality.

Overview of the C-MCR framework

The framework operates on several core principles:

  1. The Bridge Strategy: By leveraging CLIP (Image ↔ Text) and CLAP (Audio ↔ Text), text serves as the bridge. By projecting the text embeddings from both models into a new shared space, the system implicitly aligns the images from CLIP with the audio from CLAP.
  2. Semantic Enhancement: To make the alignment robust, the authors utilize "unimodal memories"—large banks of unpaired images or audio. They employ a soft-clustering approach to generate semantically consistent "pseudo-pairs." Furthermore, injecting Gaussian noise into embeddings during training ensures the model learns a broader, more robust semantic region rather than overfitting to isolated points.
  3. Inter-MCR Alignment: This step uses a contrastive loss to ensure that the bridge modality (e.g., text) from the first model maps to the exact same location as the bridge modality from the second model.
  4. Intra-MCR Alignment: MCR models often suffer from a "modality gap," where text and images live in slightly different "neighborhoods" of the same latent space. C-MCR uses an intra-alignment loss to pull these neighborhoods closer together. This ensures that when an image is input during inference, it lands in the specific region the bridge modality prepared for it.
  5. Computational Efficiency: The heavy lifting is handled by frozen, pre-trained encoders. Only two lightweight "projector" networks (simple MLPs) are actively trained, making the entire process incredibly fast and computationally cheap.

Key Insights

  • Overcoming the "Modality Gap": Simply aligning the text bridges isn't enough. Because of the internal gap within CLIP or CLAP, an image might not "see" the audio even if their respective text descriptions are perfectly aligned. The Intra-MCR alignment is the crucial mechanism that resolves this disconnect.
  • Unpaired Data is a Goldmine: By utilizing unimodal memories (collections of images or audio clips without labels), the model learns a much richer, more natural distribution of what "audio" or "vision" looks like, leading to vastly improved generalization.
  • Stitching vs. Training from Scratch: C-MCR proves that we don't always need to train massive new models from the ground up. We can treat existing models as modular components and intelligently "plug" them into each other.

Key Results

Despite using zero paired data for the target modalities during training, C-MCR consistently outperformed models specifically trained on those pairs.

Audio-Image Retrieval Performance
  • Audio-Image Retrieval: As shown in the results above, C-MCR significantly outperformed baseline models like AudioCLIP and WAV2CLIP on the AVE and Flickr-SoundNet benchmarks, despite using a fraction of the trainable parameters and zero audio-visual pairs.
  • Audio-Visual Source Localization: The model achieved a relative improvement of ~25% over previous state-of-the-art methods (like SLAVC) on the VGGSS dataset.
  • 3D-Language: On the ModelNet40 dataset, C-MCR achieved 64.9% zero-shot Top-1 accuracy, surpassing the original ULIP model (60.4%) and approaching the performance of ULIP-2, which relies on much more complex training pipelines.

Limitations and Future Directions

The primary limitation of C-MCR is its Intermediate Modality Dependency. The quality of the final connection is strictly limited by the quality and expressiveness of the "bridge" modality. If the shared modality (like text) cannot adequately describe the nuances of the other two (such as the specific timbre of a sound versus the intricate geometry of a 3D shape), the resulting alignment will be inherently "blurry."

Future work will likely explore ways to reduce data requirements even further and apply this "stitching" logic to more than just two MCRs, potentially creating a massive, interconnected "web" of modality models.

Summary updated

BibTeX
@inproceedings{wang2023connecting,
  author = {Zehan Wang and Yang Zhao and Xize Cheng and Haifeng Huang and Jiageng Liu and Aoxiong Yin and Li Tang and Linjun Li and Yongqi Wang 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