Selective Pseudo-Label Clustering

Louis Mahon, Thomas Lukasiewicz

TL;DR

Selective Pseudo-label Clustering (SPC) improves deep unsupervised learning by using an ensemble of models to identify and train only on the most "confident" data points. By ignoring noisy, uncertain labels and focusing on consensus, the method achieves state-of-the-art clustering performance on benchmark image datasets.

What Problem Does This Paper Address?

Clustering high-dimensional data (like images) is notoriously difficult because of the "curse of dimensionality"—traditional metrics like Euclidean distance break down when there are too many features. Deep clustering solves this by using Deep Neural Networks (DNNs) to compress data into a lower-dimensional "latent space" where clusters are easier to find.

However, this creates a "chicken-and-egg" problem: to train the DNN to extract good features, you need labels; but in unsupervised clustering, you have no labels. Most researchers use "pseudo-labels" (the model's own best guess) to train the network. The catch? These guesses are often wrong. Training a model on its own mistakes creates a feedback loop of noise that degrades performance.

Methods

The authors introduce Selective Pseudo-label Clustering (SPC), which uses a "consensus" strategy to filter out these errors. The process follows four main steps:

  1. Ensemble Initialization: Train $K$ different autoencoders (networks that learn to compress and reconstruct data) in parallel. Because they start with different random weights, they develop slightly different "opinions" on the data.
  2. Clustering & Alignment: Cluster the data in the latent space of each autoencoder. Since cluster "0" in one model might be cluster "5" in another, they use the Hungarian algorithm to align the labels across the ensemble.
  3. The Consensus Filter: Identify "agreed points"—data points that received the exact same label from every single model in the ensemble.
  4. Selective Training:
    • For agreed points, the model performs pseudo-label training (classification).
  5. For unagreed points, the model only performs reconstruction training (autoencoding).

This loop repeats until the number of agreed points plateaus. By only "trusting" the consensus, the model avoids being led astray by noisy, incorrect labels during the critical feature-learning phase.

Datasets

The authors evaluated SPC on three widely used image benchmarks:

  • MNIST: 70,000 handwritten digits (0-9).
  • USPS: A smaller dataset of 9,298 handwritten digits.
  • FashionMNIST: 70,000 images of clothing items (e.g., coats, sneakers, bags), which is significantly more complex than digit recognition.

Key Insights and Ideas

  • Silence is Golden: The most important insight is that not training on a label is often better than training on a wrong one. By falling back to simple reconstruction for uncertain points, the model continues to learn general features without being forced to memorize incorrect categories.
  • Theoretical Rigor: Unlike many empirical deep learning papers, this one includes a formal proof. The authors mathematically demonstrate that "agreed" labels are statistically more likely to be correct than individual labels and that training on these more accurate targets directly improves the "clusterability" of the latent space.
  • Ensemble Variance as a Feature: Usually, variance between models is seen as a weakness. Here, the authors leverage that variance to identify "hard" cases (like a digit '3' that looks like a '5') that should be excluded from label-based training.

Key Results

SPC achieved state-of-the-art results on the digit datasets, even outperforming models that use advanced data augmentation techniques:

  • MNIST: Achieved 99.21% accuracy, surpassing previous leaders like DynAE (98.7%).
  • USPS: Achieved 98.44% accuracy, a significant jump over the previous best of 98.1%.
  • FashionMNIST: While it achieved a state-of-the-art Normalized Mutual Information (NMI) score, the raw accuracy was lower (~67.9%). The authors found that the model tended to collapse several similar categories (like shirts and pullovers) into one giant "coat" cluster.

Ablation studies showed that the ensemble size matters: performance generally improved as the number of models ($K$) increased toward 15, after which it began to plateau or slightly decline.

Limitations and Future Work

  • Cluster Size Imbalance: The model struggled with FashionMNIST because it doesn't have a mechanism to force clusters to be of equal size. This led to the "super-cluster" problem where one category swallowed others.
  • Computational Cost: Training an ensemble of 15+ autoencoders in parallel is computationally more expensive than training a single model.
  • Domain Expansion: The current work focuses on images. The authors suggest that future research should investigate how SPC performs on other types of data, such as text or audio, and how it might be combined with other self-supervised learning techniques.

Summary updated

BibTeX
@inproceedings{mahon2021selective,
  author = {Louis Mahon and Thomas Lukasiewicz},
  title = {{Selective Pseudo-Label Clustering}},
  booktitle = {KI},
  year = {2021},
  url = {https://openreview.net/forum?id=JOfMAcDT4uO},
}

Loading related content...

Figure