A Unified Framework for Contrastive Learning from a Perspective of Affinity Matrix
Not on the map. Why?
Abstract (arXiv)
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 consistency regularization term, is proposed based on this framework. By symmetrizing the affinity matrix, we can effectively accelerate the convergence of the training process. Extensive experiments have been conducted to show that (1) the proposed UniCLR framework can achieve superior results on par with and even be better than the state of the art, (2) the proposed symmetric loss can significantly accelerate the convergence of models, and (3) SimTrace can avoid the mode collapse problem by maximizing the trace of a whitened affinity matrix without relying on asymmetry designs or stop-gradients.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 34 references that are in the map. First posted on arXiv 26 Nov 2022.
Builds on
29 of 34 references.
References · 29
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
17 more
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
- 2016Colorful Image Colorizationcited by 1,113
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
- 2020What Makes for Good Views for Contrastive Learning?cited by 843
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
- 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2020Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learningcited by 297
- 2020Whitening for Self-Supervised Representation Learningcited by 278
- 2019Local Aggregation for Unsupervised Learning of Visual Embeddingscited by 204
- 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
- 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
- 2020AdCo: Adversarial Contrast for Efficient Learning of Unsupervised Representations from Self-Trained Negative Adversariescited by 90
- 2020CO2: Consistent Contrast for Unsupervised Visual Representation Learningcited by 38
Built on by
Not cited yet.