A Unified Framework for Contrastive Learning from a Perspective of Affinity Matrix
Wenbin Li, Meihao Kong, Xuesong Yang, Lei Wang, Jing Huo, Yang Gao,, Jiebo Luo

TL;DR
This paper introduces UniCLR, a unified contrastive learning framework based on affinity matrices, which encompasses various existing methods and improves training convergence and stability.
Contribution
The paper proposes a novel unified framework for contrastive learning that integrates multiple existing methods and introduces new variants and a symmetric loss for better convergence.
Findings
UniCLR achieves state-of-the-art or comparable results.
The symmetric loss accelerates training convergence.
SimTrace prevents mode collapse without asymmetry or stop-gradients.
Abstract
In recent years, a variety of contrastive learning based unsupervised visual representation learning methods have been designed and achieved great success in many visual tasks. Generally, these methods can be roughly classified into four categories: (1) standard contrastive methods with an InfoNCE like loss, such as MoCo and SimCLR; (2) non-contrastive methods with only positive pairs, such as BYOL and SimSiam; (3) whitening regularization based methods, such as W-MSE and VICReg; and (4) consistency regularization based methods, such as CO2. In this study, we present a new unified contrastive learning representation framework (named UniCLR) suitable for all the above four kinds of methods from a novel perspective of basic affinity matrix. Moreover, three variants, i.e., SimAffinity, SimWhitening and SimTrace, are presented based on UniCLR. In addition, a simple symmetric loss, as a new…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Image and Video Retrieval Techniques · Advanced Computing and Algorithms · Neuroinflammation and Neurodegeneration Mechanisms
MethodsBatch Normalization · Bootstrap Your Own Latent · Momentum Contrast · InfoNCE · Contrastive Learning
