HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

SPICE: Semantic Pseudo-labeling for Image Clustering

Chuang Niu; Hongming Shan; Ge Wang

SPICE: Semantic Pseudo-labeling for Image Clustering

Abstract

The similarity among samples and the discrepancy between clusters are two crucial aspects of image clustering. However, current deep clustering methods suffer from the inaccurate estimation of either feature similarity or semantic discrepancy. In this paper, we present a Semantic Pseudo-labeling-based Image ClustEring (SPICE) framework, which divides the clustering network into a feature model for measuring the instance-level similarity and a clustering head for identifying the cluster-level discrepancy. We design two semantics-aware pseudo-labeling algorithms, prototype pseudo-labeling, and reliable pseudo-labeling, which enable accurate and reliable self-supervision over clustering. Without using any ground-truth label, we optimize the clustering network in three stages: 1) train the feature model through contrastive learning to measure the instance similarity, 2) train the clustering head with the prototype pseudo-labeling algorithm to identify cluster semantics, and 3) jointly train the feature model and clustering head with the reliable pseudo-labeling algorithm to improve the clustering performance. Extensive experimental results demonstrate that SPICE achieves significant improvements (~10%) over existing methods and establishes the new state-of-the-art clustering results on six image benchmark datasets in terms of three popular metrics. Importantly, SPICE significantly reduces the gap between unsupervised and fully-supervised classification; e.g., there is only a 2% (91.8% vs 93.8%) accuracy difference on CIFAR-10. Our code has been made publically available at https://github.com/niuchuangnn/SPICE.

Code Repositories

niuchuangnn/SPICE
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-clustering-on-cifar-10SPICE*
ARI: 0.836
Accuracy: 0.918
Backbone: ResNet-18
NMI: 0.850
Train set: Train
image-clustering-on-cifar-100SPICE*
ARI: 0.422
Accuracy: 0.584
NMI: 0.583
Train Set: Train
image-clustering-on-imagenet-10SPICE (Full ImageNet pre-train)
ARI: 0.933
Accuracy: 0.969
NMI: 0.927
image-clustering-on-imagenet-dog-15SPICE
ARI: 0.526
Accuracy: 0.675
NMI: 0.627
image-clustering-on-stl-10SPICE*
Accuracy: 0.929
Backbone: ResNet-34
NMI: 0.860
Train Split: Train
image-clustering-on-tiny-imagenetSPICE
ARI: 0.161
Accuracy: 0.305
NMI: 0.449

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp