Adaptive Self-supervised Robust Clustering for Unstructured Data with Unknown Cluster Number

Chen-Lu Ding, Jiancan Wu, Wei Lin, Shiyang Shen, Xiang Wang, Yancheng YuanarXiv 2024 · DOI

Abstract

Clustering unstructured data remains a fundamental challenge, particularly when the number of clusters ($k$) is unknown. Traditional methods often require $k$ as a predefined parameter or rely on static, noisy graph representations. This paper presents Adaptive Self-supervised Robust Clustering (ASRC), a framework that integrates adaptive graph structure learning with self-supervised contrastive learning. By iteratively refining feature representations and graph connectivity, ASRC effectively estimates the natural cluster count while producing high-quality embeddings. Experimental results across diverse datasets demonstrate that ASRC outperforms state-of-the-art methods, even those provided with the ground-truth cluster number.

Introduction

In real-world scenarios, the intrinsic number of categories within a dataset is rarely known a priori. While algorithms like $k$-means and spectral clustering are widely used, their performance is highly sensitive to the user-provided value of $k$. Existing approaches to automate cluster estimation, such as Robust Continuous Clustering (RCC), often struggle with high-dimensional, noisy data due to their reliance on raw features and static initial graphs. ASRC addresses these limitations by creating a mutually reinforcing loop between feature learning and graph construction.

Methodology

The ASRC framework is composed of three primary modules designed to work in tandem:

  1. Enhanced Adaptive Graph Structure Learning (EadaGAE): Rather than using a fixed $k$-nearest neighbor graph, ASRC learns a weighted adjacency matrix where edge weights represent conditional probabilities. It employs a sparsity parameter that adaptively increases during training, allowing the model to capture both fine-grained local details and broader topological structures.
  2. Clustering-Guided Contrastive Learning: A Graph Auto-Encoder (GAE) learns discriminative embeddings. To mitigate the "sampling bias" common in contrastive learning—where points from the same cluster are mistakenly treated as negative pairs—ASRC uses intermediate clustering results to perform debiased negative sampling.
  3. Robust Continuous Clustering (RCC) Integration: The final clustering step utilizes RCC on the learned features. By employing the Geman-McClure robust estimator, the model can effectively "sever" spurious links, allowing it to converge on the natural number of clusters.
Figure 1: The ASRC framework architecture, illustrating the interplay between the GCN Encoder, contrastive learning, and adaptive graph updates.

Experimental Evaluation

The authors evaluated ASRC on seven benchmark datasets spanning text (20NEWS), images (MNIST, COIL-20, UMIST, JAFFE, USPS), and biological data (Mice Protein). These represent a mix of high-dimensional data where the intrinsic cluster count ranges from 4 to 20.

Estimating the Number of Clusters

A key strength of ASRC is its ability to accurately estimate $k$. As shown in the comparative results, ASRC significantly outperforms the original RCC in identifying the true cluster count. For instance, on the 20NEWS dataset (true $k=4$), raw RCC predicted over 2,500 clusters, while ASRC predicted 5, coming remarkably close to the ground truth without any prior hints.

Figure 4: Comparison of estimated cluster numbers across different datasets. ASRC consistently provides estimates closer to the ground truth than the baseline RCC.

Performance Metrics

ASRC demonstrated superior performance in terms of Adjusted Mutual Information (AMI) and Adjusted Rand Index (ARI). On the 20NEWS dataset, ASRC achieved an AMI of 32.10%, a massive improvement over RCC's 0.03%. Furthermore, ASRC consistently outperformed models like SDCN and MaskGAE, even though those models were provided with the true number of clusters and ASRC was not. On average, ASRC showed a 6.09% increase in AMI and a 9.12% increase in ARI over the strongest baselines.

Conclusion

ASRC provides a robust solution for clustering unstructured data without requiring the number of clusters as input. By combining adaptive graph learning with debiased contrastive learning, it creates a "virtuous cycle" that overcomes the limitations of static representations. While the $O(n^2)$ complexity of the adjacency matrix presents a scaling challenge for massive datasets, ASRC sets a new benchmark for autonomous deep clustering.

Summary updated

BibTeX
@misc{ding2024adaptive,
  author = {Chen-Lu Ding and Jiancan Wu and Wei Lin and Shiyang Shen and Xiang Wang and Yancheng Yuan},
  title = {{Adaptive Self-supervised Robust Clustering for Unstructured Data with Unknown Cluster Number}},
  year = {2024},
  eprint = {2407.20119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.20119},
}
Figure