Improving Unsupervised Image Clustering With Robust Learning

Sungwon Park, Sundong Kim, Danu Kim, Sungkyu Park, Seunghoon Hong, Meeyoung Cha

Abstract

Unsupervised image clustering aims to group images into meaningful categories without human-provided labels. A persistent challenge in this field is the tendency of models to become overconfident in erroneous predictions, creating a feedback loop of "misaligned knowledge." We present RUC (Robust learning for Unsupervised Clustering), a framework that treats the outputs of existing clustering models as a noisy dataset. By applying robust learning techniques—including sample filtering, co-training, and label smoothing—RUC "cleans" these pseudo-labels to significantly boost accuracy, improve model calibration, and provide defense against adversarial noise.

Introduction

Unsupervised image clustering is often considered a "holy grail" task in computer vision. While deep learning has made significant strides, models frequently latch onto trivial features like color or texture. If a model mistakenly groups images early in training, it often becomes increasingly certain of that wrong decision. This results in low-entropy but incorrect predictions and high Expected Calibration Error (ECE). RUC addresses this by viewing the clustering process not as a search for absolute truth, but as the generation of a noisy dataset that can be refined using established robust learning principles.

Methodology

RUC is designed as an "add-on" module that "refurbishes" the results of off-the-shelf clustering algorithms like SCAN or TSUC. The framework operates in two primary stages: data cleaning and robust retraining.

Extracting Clean Samples

The first stage involves separating "clean" (likely correct) from "unclean" (likely noisy) pseudo-labels generated by the base model. RUC employs three strategies for this partition:

  1. Confidence-based: Trusting samples where the model is extremely certain.
  2. Metric-based: Using an independent unsupervised embedding (like SimCLR) to check if a sample's label matches its $k$-nearest neighbors in feature space.
  3. Hybrid: A combination of both for maximum reliability.
Overview of the RUC framework, illustrating the transition from unlabeled data to robustly learned clusters.

Robust Retraining via Co-training

Once the data is split into labeled (clean) and unlabeled (unclean) sets, RUC uses a semi-supervised approach to retrain the model. This stage incorporates several key robust learning ingredients:

  • Label Smoothing: Injecting a small amount of uniform noise into labels to prevent the model from becoming overconfident.
  • Co-training: Training two networks simultaneously that "teach" each other, preventing a single network from simply memorizing its own mistakes.
  • Co-refurbishing: Dynamically moving samples from the "unclean" set to the "clean" set as the model's confidence and accuracy improve during the retraining process.
Detailed workflow of the robust learning stage, highlighting co-refinement, MixMatch, and label smoothing across training epochs.

Key Results and Insights

RUC consistently improved the performance of every baseline model it was paired with across standard benchmarks including CIFAR-10, CIFAR-20, STL-10, and ImageNet-50.

  • Performance Gains: When added to the SCAN algorithm, RUC achieved 90.3% accuracy on CIFAR-10 and 86.7% on STL-10. On the STL-10 dataset specifically, RUC provided a massive 5.3 percentage point increase over previous state-of-the-art results.
  • Improved Calibration: Most unsupervised models think they are right even when they are wrong. RUC spreads out the confidence distribution, ensuring the model's certainty actually correlates with its accuracy.
  • Adversarial Defense: The mechanisms used to filter out noisy pseudo-labels also make the model significantly more resistant to adversarial attacks (such as FGSM), which typically exploit overconfidence in specific feature directions.

Conclusion and Future Work

RUC demonstrates that the performance of unsupervised clustering can be significantly enhanced by treating initial outputs as noisy supervision. While the framework's success depends on the initial quality of the base clustering model, it provides a robust path for improving accuracy and reliability. Future research may explore integrating these robust learning principles directly into the initial clustering phase or extending the framework to non-image data types like text or graphs.

Summary updated

BibTeX
@inproceedings{park2021improving,
  author = {Sungwon Park and Sungwon Han and Sundong Kim and Danu Kim and Sungkyu Park and Seunghoon Hong and Meeyoung Cha},
  title = {{Improving Unsupervised Image Clustering With Robust Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01210},
}
Figure