We present Consistent Assignment of Views over Random Partitions (CARP), a self-supervised clustering method for representation learning of visual features. CARP learns prototypes in an end-to-end online fashion using gradient descent without additional non-differentiable modules to solve the cluster assignment problem. CARP optimizes a new pretext task based on random partitions of prototypes that regularizes the model and enforces consistency between views' assignments. Additionally, our method improves training stability and prevents collapsed solutions in joint-embedding training. Through an extensive evaluation, we demonstrate that CARP's representations are suitable for learning downstream tasks. We evaluate CARP's representations capabilities in 17 datasets across many standard protocols, including linear evaluation, few-shot classification, k-NN, k-means, image retrieval, and copy detection. We compare CARP performance to 11 existing self-supervised methods. We extensively ablate our method and demonstrate that our proposed random partition pretext task improves the quality of the learned representations by devising multiple random classification tasks. In transfer learning tasks, CARP achieves the best performance on average against many SSL methods trained for a longer time.
翻译:我们提出基于随机划分视图一致分配(CARP)——一种用于视觉特征表征学习的自监督聚类方法。CARP通过梯度下降以端到端在线方式学习原型,无需额外的不可微模块来解决聚类分配问题。它优化了一个基于原型随机划分的新颖前置任务,该任务可正则化模型并强制视图间分配的一致性。此外,我们的方法能提升训练稳定性,并防止联合嵌入训练中的坍缩解。通过广泛评估,我们证明CARP的表征适用于下游任务的学习。我们在17个数据集上评估了CARP的表征能力,涵盖线性评估、小样本分类、k-NN、k-means、图像检索和拷贝检测等多种标准协议。我们将CARP与11种现有自监督方法进行了性能比较。我们对该方法进行了全面消融实验,证明所提出的随机划分前置任务通过设计多个随机分类任务,能有效提升所学表征的质量。在迁移学习任务中,CARP相较于许多训练时间更长的自监督方法,平均性能达到最佳。