A Principled Framework for Multi-View Contrastive Learning

Panagiotis Koromilas, Efthymios Georgiou, Giorgos Bouritsas, Theodoros Giannakopoulos, Mihalis A. Nicolaou, Yannis PanagakisarXiv 2025 · DOI

Introduction

Contrastive Learning (CL) has emerged as a cornerstone of self-supervised representation learning. By training models to recognize augmented "views" of the same data point as similar while pushing others apart, CL learns robust features. While increasing the number of views typically improves performance, standard methods often rely on a "sum-of-pairs" approach that aggregates pairwise losses (e.g., View 1 vs. View 2, View 1 vs. View 3). This paper identifies fundamental flaws in this approach, including conflicting objectives and dimensionality collapse, and proposes a unified mathematical framework for Multi-View Contrastive Learning (MV-CL).

The "Sum-of-Pairs" Problem

The authors highlight four key issues with traditional multi-view aggregation:

  1. Conflicting Objectives: Separate loss terms for each pair can lead to a "gradient tug-of-war" where optimizing one pair might hurt another.
  2. Missing Interactions: Global relationships between all views are not captured simultaneously, failing to leverage the full context of the data instance.
  3. Coupling of Alignment and Uniformity: In standard InfoNCE, these two forces are mathematically entangled, which hinders optimization and leads to instability.
  4. Dimensionality Collapse: Representations often collapse into low-dimensional subspaces as view multiplicity increases, failing to utilize the full capacity of the embedding space.

Proposed Principles and Methods

To address these failures, the authors define three fundamental principles (P1-P3) for a sound multi-view objective: Simultaneous Alignment (P1), an Accurate Energy Term (P2), and One Term per Data Instance (P3) to avoid conflicting gradients.

Comparison of multi-view objectives and their adherence to the proposed principles P1-P3.

Based on these principles, two novel losses are introduced:

  • MV-InfoNCE: A direct generalization of the popular InfoNCE loss that pulls all positive views together within a single logarithmic term, ensuring they are considered simultaneously against negative samples.
  • MV-DHEL: An extension of the Decoupled Hyperspherical Energy Loss. This method mathematically separates the alignment and uniformity components, allowing for stable scaling to many views without the optimization becoming unstable or collapsing the embedding space.

Visualizing the Objectives

The differences in how these losses behave on the representation hypersphere are stark. While standard methods like NT-Xent (sum-of-pairs) struggle with conflicting optima across different pairs, MV-InfoNCE and MV-DHEL achieve a more unified alignment and optimal uniformity.

Visualization of loss terms and their optima on the hypersphere for NT-Xent, MV-InfoNCE, and MV-DHEL.

Key Results and Insights

The framework was rigorously evaluated on ImageNet-1K, CIFAR, and multimodal datasets like CMU-MOSEI (Video, Audio, and Text).

  • State-of-the-Art Performance: MV-DHEL consistently outperforms existing multi-view methods. On ImageNet-100 with 4 views, it achieved 70.1% k-NN accuracy, compared to 65.6% for the previous best method (PVC).
  • Scalability: Unlike baseline methods that plateau or degrade after 3-4 views, MV-DHEL shows consistent accuracy gains all the way up to 8 views.
  • Curing Dimensionality Collapse: MV-DHEL effectively utilizes the full embedding space. Analysis shows it is the only method that increases the effective rank of representations as more views are added, whereas others plateau at a much lower dimensionality.

Conclusion

By moving from pairwise aggregation to a unified multi-view objective, this framework provides a principled way to leverage multiple data augmentations or modalities. MV-DHEL, in particular, offers a scalable and robust solution for high-performance self-supervised learning, effectively addressing the long-standing issue of dimensionality collapse in multi-view settings.

Summary updated

BibTeX
@misc{koromilas2025principled,
  author = {Panagiotis Koromilas and Efthymios Georgiou and Giorgos Bouritsas and Theodoros Giannakopoulos and Mihalis A. Nicolaou and Yannis Panagakis},
  title = {{A Principled Framework for Multi-View Contrastive Learning}},
  year = {2025},
  eprint = {2507.06979},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.06979},
}
Figure