Representation learning for clustering via building consensus

Aniket Anand Deshmukh, Jayanth Reddy Regatti, Eren Manavoglu, Urun Dogan

Abstract

In this paper, we focus on unsupervised representation learning for clustering of images. Recent advances in deep clustering and unsupervised representation learning are based on the idea that different views of an input image (generated through data augmentation techniques) must be close in the representation space (exemplar consistency), and/or similar images must have similar cluster assignments (population consistency). We define an additional notion of consistency, consensus consistency, which ensures that representations are learned to induce similar partitions for variations in the representation space, different clustering algorithms or different initializations of a single clustering algorithm. We define a clustering loss by executing variations in the representation space and seamlessly integrate all three consistencies (consensus, exemplar and population) into an end-to-end learning framework.

Introduction

Clustering images without the aid of labels remains a fundamental challenge in computer vision. It presents a classic "chicken and egg" dilemma: effective clustering requires high-quality feature representations, yet learning those features often necessitates labels or a clear grouping objective. Deep clustering attempts to solve this by learning features and cluster assignments simultaneously. However, these models are prone to "degenerate solutions," where the network minimizes loss by assigning all images to a single cluster or producing trivial mappings.

To combat this, modern self-supervised methods rely on two primary principles: exemplar consistency (ensuring different augmentations of the same image are mapped closely) and population consistency (ensuring similar images share cluster assignments). While effective, these methods often overlook the stability of the resulting partitions. This paper introduces ConCURL (Consensus Clustering using Unsupervised Representation Learning), a framework that adds a third pillar: consensus consistency.

The ConCURL Framework

ConCURL integrates three distinct types of consistency into a unified end-to-end loss function to guide the model toward robust, discriminative latent spaces.

  1. Exemplar Consistency: The model utilizes an Instance Discrimination (ID) backbone. This ensures that the representation of an image remains stable across various stochastic augmentations.
  2. Population Consistency: Following approaches like SwAV, the model employs a Sinkhorn-Knopp-based soft clustering mechanism. This forces the network to assign similar images to the same set of learnable prototypes, preventing trivial solutions by enforcing a roughly uniform distribution across clusters.
  3. Consensus Consistency: This is the core innovation. The framework generates an ensemble of partitions by applying multiple random projections to the learned embeddings. The model is then optimized to find a representation where these diverse "views" of the feature space agree on the final cluster assignments.
The ConCURL architecture detailing the computation of p, q, and p̃ codes for the Consensus Loss.

By enforcing consensus, the model treats the ensemble's average prediction as a "noisy" ground truth. As training progresses, the optimization reduces this noise, effectively guiding the representation toward a stable, hypothetical ground truth without ever accessing manual labels.

Experimental Evaluation

The researchers evaluated ConCURL across five standard computer vision benchmarks:

  • ImageNet-10 & ImageNet-Dogs: Subsets of ImageNet used to test general object recognition and fine-grained categorization.
  • STL-10: A dataset specifically curated for unsupervised learning tasks.
  • CIFAR-10 & CIFAR100-20: Standard benchmarks for small-scale image classification, with CIFAR-100 evaluated on its 20 meta-classes.

Beyond standard accuracy, the authors investigated cross-model accuracy to assess how well the learned features generalize across different data distributions—a critical but often ignored aspect of clustering research.

Key Results and Insights

ConCURL demonstrated significant performance gains, outperforming previous state-of-the-art (SOTA) methods on four of the five tested datasets.

  • Significant Performance Boosts: On the challenging ImageNet-Dogs dataset, ConCURL achieved a 17.5% improvement in accuracy over the previous leading method. Similarly, it saw a 12.7% increase on CIFAR100-20 and a 3.8% boost on CIFAR-10.
  • Robust Generalization: The model maintained high performance on test splits, indicating that it learns generalizable features rather than simply memorizing training set assignments.
  • Ablation Findings: Studies confirmed that the Consensus Loss and the Backbone ID Loss are complementary. Removing the consensus component leads to a significant drop in clustering quality, proving that stability across feature-space variations is key to learning meaningful clusters.

Limitations and Future Work

While ConCURL sets a new benchmark, several challenges remain:

  • Prior Knowledge of K: The algorithm requires the number of clusters ($K$) to be specified in advance. Future iterations might explore adaptive methods for estimating $K$ during training.
  • Class Balance: The reliance on the Sinkhorn-Knopp algorithm assumes a relatively balanced distribution of classes. Performance may degrade on highly long-tailed or imbalanced datasets.
  • Computational Complexity: Generating an ensemble of random projections adds to the training time. While this can be mitigated through parallelization, it remains more resource-intensive than simpler instance-discrimination methods.

Future research will focus on exploring alternative feature space transformations beyond random projections to further diversify the consensus ensemble and improve robustness.

Summary updated

BibTeX
@misc{deshmukh2021representation,
  author = {Aniket Anand Deshmukh and Jayanth Reddy Regatti and Eren Manavoglu and Urun Dogan},
  title = {{Representation learning for clustering via building consensus}},
  year = {2021},
  eprint = {2105.01289},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.01289},
}
Figure