Enhancing Contrastive Learning with Variable Similarity

Hao-Wen Cui, Shuo Chen, Jun Li, Jian Yang
1/1/2025
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Contrastive learning has achieved remarkable success in self-supervised learning by pretraining a generalizable feature representation based on the augmentation invariance. Most existing approaches assume that different augmented views of the same instance (i.e., the positive pairs ) remain semantically invariant.

Show full abstract

However, the augmentation results with varying extent may introduce semantic discrepancies or even content distortion, and thus the conventional (pseudo) supervision from augmentation invariance may lead to misguided learning objectives. In this paper, we propose a novel method called Contrastive Learning with Variable Similarity (CLVS) to accurately characterize the intrinsic similarity relationships between different augmented views. Our method dynamically adjusts the similarity based on the augmentation extent, and it ensures that strongly augmented views are always assigned lower similarity scores than weakly augmented ones. We provide a theoretical analysis to guarantee the effectiveness of the variable similarity in improving model generalizability. Extensive experiments demonstrate the superiority of our approach, achieving gains of 2.1% on ImageNet-100 and 1.4% on ImageNet-1k compared with the state-of-the-art methods.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cui2025enhancing,
  title  = {Enhancing Contrastive Learning with Variable Similarity},
  author = {Hao-Wen Cui and Shuo Chen and Jun Li and Jian Yang},
  year   = {2025},
  doi    = {10.52202/085713-0724},
  url    = {https://doi.org/10.52202/085713-0724},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/54158f4326cc6b61731d22e0ddd7137521a5be3b.svg)](https://codeofpaper.com/paper/54158f4326cc6b61731d22e0ddd7137521a5be3b)

Discussion