Self-Weighted Contrastive Learning among Multiple Views for Mitigating Representation Degeneration

Jie Xu, Shuo Chen, Yazhou Ren, Xiaoshuang Shi, Heng Tao Shen, Gang Niu, Xiaofeng Zhu

TL;DR

Contrastive learning usually thrives on multiple views of data, but "bad" views can actually drag down the performance of "good" ones—a phenomenon called representation degeneration. This paper introduces SEM, a framework that adaptively weights view pairs based on their reliability and uses reconstruction tasks to ensure encoders don't "forget" important features, leading to significant performance gains across diverse multi-view datasets.

What Problem Does This Paper Address?

Contrastive Learning (CL) has become a cornerstone of self-supervised representation learning. The core idea is simple: pull similar samples (positive pairs) together and push dissimilar ones (negative pairs) apart. In a multi-view setting (e.g., a video with audio, text, and frames), we expect that more views naturally lead to better features.

However, the authors identify a critical flaw: Representation Degeneration. In the real world, not all views are created equal. Some are high-quality and rich in information, while others are noisy or irrelevant. When standard CL forces a high-quality view to align perfectly with a low-quality one, the high-quality representation actually gets worse—it "degenerates" to match the mediocrity of the poor view. Additionally, without a supervised signal, encoders often discard useful discriminative information during the transformation process, focusing instead on easy-to-match but irrelevant noise.

Methods

The authors propose SEM (SElf-weighted Multi-view contrastive learning with reconstruction regularization). The framework attacks the problem from two distinct angles:

The SEM Framework
  1. Self-Weighting Strategy ($W^{m,n}$): Instead of treating all view pairs as equally important, SEM measures the discrepancy between pairwise representations. It adaptively strengthens the weights of "useful" pairs (those with consistent, informative semantics) and weakens "unreliable" pairs. They provide three ways to measure this:
  2. Class Mutual Information (CMI): Their primary contribution here, which uses K-Means to extract discrete "class" info and measures mutual information between these clusters. This helps filter out low-level noise.
  3. Jensen-Shannon Divergence (JSD).
    • Maximum Mean Discrepancy (MMD).
  4. Reconstruction Regularization ($R^v$): To prevent the encoder from losing vital information, SEM adds a self-supervised reconstruction term. The encoder must not only produce features for contrastive tasks but also retain enough information to "rebuild" the original input. This acts as an anchor, ensuring the learned features remain discriminative. They support standard Autoencoders (AE), Denoising Autoencoders (DAE), and Masked Autoencoders (MAE).

Datasets

The authors evaluated SEM on five diverse open-source multi-view datasets:

  • DHA: Depth-included human action (RGB + Depth).
  • CCV: Columbia Consumer Video (SIFT, STIP, and MFCC features).
  • NUSWIDE: Web images with five different feature views (color histograms, etc.).
  • Caltech: A classic image dataset using six different feature extractors (Gabor, HOG, etc.).
  • YoutubeVideo: A large-scale dataset with three views (cuboids, HOG, vision misc).

Key Insights and Ideas

  • The "Weakest Link" Problem: Standard multi-view contrastive learning is only as good as its worst view. If you pair a 90% accuracy view with a 20% accuracy view, the 90% view's performance will likely drop.
  • CMI is a Noise Filter: By calculating mutual information on cluster assignments (via K-Means) rather than raw continuous features, CMI focuses on high-level semantic relationships and ignores high-frequency noise that might lead to "false" similarities.
  • Reconstruction as a Safeguard: Contrastive learning is inherently reductive—it wants to discard everything except what is common between views. Reconstruction forces the model to keep the "unique" but important details of each view, preventing the representations from becoming too "mediocre."

Key Results

The authors compared SEM against standard CL methods (InfoNCE, PSCL, RINCE) and specialized Multi-view CL (MCL) methods (CMC, DCP, MFLVC, DSIMVC).

Classification Accuracy Comparison
  • Mitigating Degeneration: On the Caltech dataset, standard InfoNCE caused the best view's accuracy to drop. SEM not only prevented this drop but improved the accuracy of all views.
  • Significant Accuracy Boosts: SEM+InfoNCE outperformed standard InfoNCE by massive margins: +25% on DHA and +13% on CCV.
  • Superiority over Single Views: While many existing MCL methods actually performed worse than the best single-view baseline (K-Means-BSV), SEM consistently outperformed the best single view across all datasets.
  • Robustness: Ablation studies showed that SEM is relatively insensitive to the choice of the trade-off hyper-parameter ($\lambda$), making it easier to deploy in practice.

Limitations and Future Work

  • The Two-View Limit: The self-weighting strategy is most effective when there are three or more views. If there are only two views, the weighting mechanism essentially collapses back into traditional contrastive learning (though the reconstruction term still helps).
  • View-Level vs. Sample-Level: Currently, SEM weights the relationship between entire views. The authors suggest that future work could extend this to sample-level weighting, identifying specific noisy samples within a view rather than discounting the entire view.
  • Computational Overhead: Calculating CMI involves an internal K-Means step, which adds some complexity, though the authors note it remains efficient enough for large datasets like YoutubeVideo.

Summary updated

BibTeX
@inproceedings{xu2023self,
  author = {Jie Xu and Shuo Chen and Yazhou Ren and Xiaoshuang Shi and Heng Tao Shen and Gang Niu and Xiaofeng Zhu},
  title = {{Self-Weighted Contrastive Learning among Multiple Views for Mitigating Representation Degeneration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=X8dbFcAox2},
}
Figure