DCMatchBoosted - Improving Deep Clustering by Architecture Recommendation

Mamdouh Aljoud, Gabriel Marques Tavares, Collin Leiber, Thomas Seidl

Abstract

Deep clustering algorithms such as Deep Embedded Clustering (DEC), Deep K-Means (DKM), and Deep Clustering Network (DCN) are highly sensitive to the architecture of the underlying neural network, heavily influencing clustering quality. Although Neural Architecture Search (NAS) methods aim at properly configuring deep neural networks, traditional NAS approaches are unsuitable in this context due to the absence of labels. We propose DCMatchBoosted, an extension of our previous framework (DCMatch), which leverages dataset characterization and a gradient boosting surrogate to recommend effective autoencoder architectures for deep clustering. Our method combines high-level semantic embeddings from CLIP with complementary statistical descriptors, extracted from a small subset of randomly sampled images, to build a compact representation of each dataset. These dataset features are paired with architecture metadata and used to train an XGBoost model that predicts clustering performance. In extensive experiments on 20 image datasets and three clustering algorithms (DEC, DKM, DCN), DCMatchBoosted consistently outperforms the default configurations, achieving statistically significant improvements in clustering accuracy on the majority of datasets.

Introduction

Deep Clustering (DC) is a powerful technique that simultaneously learns data representations (via autoencoders) and groups them into clusters. However, DC algorithms like Deep Embedded Clustering (DEC) are notoriously "architecture-sensitive." If an autoencoder is too shallow, it fails to capture sufficient detail; if it is too deep or the bottleneck is incorrectly sized, the latent space becomes unsuitable for clustering.

In supervised learning, Neural Architecture Search (NAS) identifies optimal models by evaluating performance against labeled validation sets. In clustering, the absence of labels makes finding the "Goldilocks" architecture—the one that is just right for a specific dataset—an expensive and often blind guessing game.

Methodology: The DCMatchBoosted Framework

DCMatchBoosted treats architecture selection as a recommendation problem using a meta-learning approach.

The DCMatchBoosted framework: Dataset characterization via CLIP and statistical features feeds into an XGBoost surrogate model to predict architecture performance.

The framework consists of three main components:

  1. Dataset Characterization: To efficiently represent a new dataset, the system samples just 100 random images. It extracts two types of features:
  2. High-level semantics: A pre-trained CLIP model provides a semantic "vibe" of the image content.
  3. Low-level statistics: Seven descriptors, including Canny edge density, Local Binary Patterns for texture, and color distribution, capture structural nuances.
  4. Surrogate Modeling: An XGBoost model is trained on historical performance data. It maps dataset features and architecture metadata (e.g., layer count, bottleneck size) to a predicted Unsupervised Clustering Accuracy (UCA).
  5. Recommendation Engine: For an unseen dataset, the system extracts features, evaluates candidate architectures through the XGBoost model, and recommends the configuration with the highest predicted score.

Experimental Setup

The method was evaluated across 20 diverse image datasets, ranging from classic digits (MNIST, USPS) and natural images (CIFAR-10, SVHN) to specialized medical datasets (OrganAMNIST, BloodMNIST) and object sets (COIL-100). This diversity ensures the recommender is robust across varying levels of data complexity.

Key Insights: Complexity vs. Quality

A core finding of this research is that "deeper is not always better" in the context of unsupervised clustering.

Performance (Mean UCA) vs. Complexity across different datasets. Each dataset exhibits a unique peak, demonstrating that increasing complexity often leads to performance degradation.

As shown in the figure above, simply increasing the number of layers often leads to a drop in clustering performance. Every dataset has a unique "peak" complexity, and DCMatchBoosted is designed to find this optimal point. Furthermore, the authors discovered that a subset of only 100 images provides a representation nearly indistinguishable from the full dataset (cosine similarity ≈ 1), making the recommendation process highly efficient.

Results and Discussion

DCMatchBoosted was tested against three major algorithms: DEC, DKM, and DCN. Key results include:

  • Performance Gains: The system consistently outperformed "default" architectures, with average improvements in clustering accuracy of 9.55% for DEC, 5.14% for DKM, and 3.21% for DCN.
  • Reliability: Recommended architectures exhibited lower variance across multiple runs compared to baselines, indicating higher stability.
  • Statistical Significance: Welch’s t-tests confirmed that these improvements were statistically significant ($p < 0.05$) for the majority of tested datasets.

Conclusion and Future Work

DCMatchBoosted demonstrates that meta-learning can effectively bridge the gap left by the lack of labels in deep clustering architecture search. While currently focused on feed-forward autoencoders for image data, future work aims to expand the search space to include Convolutional Neural Networks (CNNs) and Transformers, and to adapt the feature extraction process for text and tabular data modalities.

Code available at: https://github.com/mamdouhJ/DCMatch

Summary updated

BibTeX
@article{aljoud2026dcmatchboosted,
  author = {Mamdouh Aljoud and Gabriel Marques Tavares and Collin Leiber and Thomas Seidl},
  title = {{DCMatchBoosted - Improving Deep Clustering by Architecture Recommendation}},
  journal = {International Journal of Data Science and Analytics},
  year = {2026},
  doi = {10.1007/s41060-025-01009-1},
}
Figure