On the Comparison between Multi-modal and Single-modal Contrastive Learning

Wei Huang, Andi Han, Yongqiang Chen, Yuan Cao, zhiqiang xu, Taiji Suzuki

Abstract

While multi-modal models like CLIP have demonstrated superior performance and robustness compared to single-modal counterparts, a rigorous theoretical explanation for this gap has remained elusive. This paper introduces a feature learning framework to analyze the optimization dynamics of contrastive learning. We show that multi-modal learning succeeds through "cross-modal cooperation," where a high-quality modality accelerates signal learning in another. Conversely, single-modal learning often suffers from "noise memorization," where the model prioritizes task-irrelevant features, leading to poor generalization. Our findings are validated through synthetic experiments and benchmarks on ColoredMNIST.

Introduction

Contrastive learning (CL) has emerged as a cornerstone of modern self-supervised learning. In the single-modal domain, methods like SimCLR rely on data augmentations to create positive pairs. In the multi-modal domain, models like CLIP leverage naturally occurring pairs, such as images and their corresponding text descriptions. Empirically, multi-modal models exhibit significantly better zero-shot capabilities and robustness to distribution shifts.

Despite these successes, the theoretical community has largely analyzed these two paradigms in isolation. This paper addresses a fundamental question: What is the precise mathematical mechanism that allows multi-modal contrastive learning to generalize better than single-modal approaches? By employing a trajectory-based analysis of gradient descent, we isolate the variables—specifically the Signal-to-Noise Ratio (SNR)—that dictate the success or failure of the representation learning process.

Theoretical Framework: The Signal-Noise Model

To compare these methods, the authors establish a unified data model where each input consists of a task-relevant "signal" and task-irrelevant "noise."

  • Signal: Features shared across different views or modalities that are essential for downstream tasks (e.g., the shape of a digit).
  • Noise: Features that are independent to a specific view or modality and do not generalize (e.g., background textures or specific image augmentations).

The study utilizes a single-layer ReLU network encoder and optimizes the InfoMax contrastive loss (similar to NT-Xent). The core of the analysis involves tracking the optimization path of gradient descent, decomposing weight updates into two competing forces: signal learning and noise memorization.

Key Insights: Cooperation vs. Memorization

The Cross-Modal Cooperation Effect

The primary advantage of multi-modal learning lies in "cross-modal cooperation." In a multi-modal pair (e.g., image and text), if one modality possesses a higher SNR—meaning the signal is more prominent than the noise—it provides a cleaner gradient signal during training. This high-quality modality effectively guides the learning process for the other modality, helping the model focus on shared signals while ignoring modality-specific noise. This interaction creates an "effective SNR" that is higher than what either modality could achieve alone.

The Single-Modal Trap

In contrast, single-modal CL relies entirely on data augmentations to generate positive pairs. The authors prove that if these augmentations do not sufficiently suppress noise or enhance the signal, the model falls into a "memorization trap." Because the model aims to minimize training loss as quickly as possible, it may find it mathematically "easier" to memorize high-variance noise features rather than learning the underlying signal. This leads to near-zero training error but a failure to generalize to new data where that specific noise is absent.

Two-Stage Dynamics

The research identifies a distinct two-stage process in training:

  1. Growth Phase: An initial period of exponential growth for both signal and noise features.
  2. Convergence Phase: A stage where the relative scales of signal and noise determine the final error. The gap between multi-modal and single-modal performance is determined by which features "win" the race to convergence during these stages.

Empirical Results

Synthetic Validation

Using high-dimensional synthetic datasets ($d=2000$), the authors controlled SNR levels to test their theorems. The results were stark: multi-modal learning achieved nearly 100% Out-of-Distribution (OOD) accuracy, whereas single-modal learning stagnated at 50%, failing to outperform a random guess. This confirms that multi-modal learning is far more efficient at extracting signals in high-noise environments.

ColoredMNIST Benchmark

To test real-world robustness, the authors used ColoredMNIST, where digits are correlated with specific colors during training.

  • Single-modal CL: Achieved only 12.68% test accuracy, as the model over-indexed on color (noise) to satisfy the contrastive objective.
  • Multi-modal CL: Achieved 82.13% test accuracy, successfully identifying the digit shapes (signal) by leveraging the cooperation between modalities.

Conclusion and Future Work

This work provides a rigorous foundation for understanding why multi-modal learning outperforms single-modal methods. The "cooperation" mechanism allows multi-modal models to bypass the noise memorization that plagues single-modal augmentation-based strategies.

However, limitations remain. The current analysis focuses on single-layer ReLU networks and linear signal models. Future research is needed to extend these findings to deep Transformer architectures and non-linear manifold structures. Additionally, the theory assumes the presence of at least one relatively high-quality modality; the dynamics of learning from two extremely noisy modalities remains an open question.

Summary updated

BibTeX
@inproceedings{huang2024comparison,
  author = {Wei Huang and Andi Han and Yongqiang Chen and Yuan Cao and zhiqiang xu and Taiji Suzuki},
  title = {{On the Comparison between Multi-modal and Single-modal Contrastive Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=O2UwxfhY1P},
}
Figure