Unsupervised Visual Representation Learning by Online Constrained K-Means

CVPR 2022  ·  Qi Qian, Yuanhong Xu, Juhua Hu, Hao Li, Rong Jin ·

Cluster discrimination is an effective pretext task for unsupervised representation learning, which often consists of two phases: clustering and discrimination. Clustering is to assign each instance a pseudo label that will be used to learn representations in discrimination. The main challenge resides in clustering since prevalent clustering methods (e.g., k-means) have to run in a batch mode. Besides, there can be a trivial solution consisting of a dominating cluster. To address these challenges, we first investigate the objective of clustering-based representation learning. Based on this, we propose a novel clustering-based pretext task with online \textbf{Co}nstrained \textbf{K}-m\textbf{e}ans (\textbf{CoKe}). Compared with the balanced clustering that each cluster has exactly the same size, we only constrain the minimal size of each cluster to flexibly capture the inherent data structure. More importantly, our online assignment method has a theoretical guarantee to approach the global optimum. By decoupling clustering and discrimination, CoKe can achieve competitive performance when optimizing with only a single view from each instance. Extensive experiments on ImageNet and other benchmark data sets verify both the efficacy and efficiency of our proposal. Code is available at \url{https://github.com/idstcv/CoKe}.

PDF Abstract CVPR 2022 PDF CVPR 2022 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Unsupervised Image Classification CIFAR-10 CoKe Accuracy 85.7 # 5
Image Clustering CIFAR-10 CoKe Accuracy 0.857 # 11
NMI 0.766 # 11
Train set Train # 1
ARI 0.732 # 11
Backbone ResNet-18 # 1
Unsupervised Image Classification CIFAR-20 CoKe Accuracy 49.7 # 7
Self-Supervised Image Classification ImageNet CoKe (ResNet-50) Top 1 Accuracy 76.4% # 58

Methods


No methods listed for this paper. Add relevant methods here