[Paper Review] A Deep Learning Object Detection Method for an Efficient Clusters Initialization
This paper proposes a YOLO-v5-based deep learning method to automatically detect optimal clustering initialization parameters—number of clusters, centroids, and sizes—reducing reliance on manual or computationally heavy initialization. The approach achieves near-optimal clustering with low computational overhead and faster convergence, especially for large datasets, by leveraging object detection to identify cluster structures in data distributions.
Clustering is an unsupervised machine learning method grouping data samples into clusters of similar objects. In practice, clustering has been used in numerous applications such as banking customers profiling, document retrieval, image segmentation, and e-commerce recommendation engines. However, the existing clustering techniques present significant limitations, from which is the dependability of their stability on the initialization parameters (e.g. number of clusters, centroids). Different solutions were presented in the literature to overcome this limitation (i.e. internal and external validation metrics). However, these solutions require high computational complexity and memory consumption, especially when dealing with big data. In this paper, we apply the recent object detection Deep Learning (DL) model, named YOLO-v5, to detect the initial clustering parameters such as the number of clusters with their sizes and centroids. Mainly, the proposed solution consists of adding a DL-based initialization phase making the clustering algorithms free of initialization. Two model solutions are provided in this work, one for isolated clusters and the other one for overlapping clusters. The features of the incoming dataset determine which model to use. Moreover, The results show that the proposed solution can provide near-optimal clusters initialization parameters with low computational and resources overhead compared to existing solutions.
Motivation & Objective
- To address the instability and high computational cost of traditional clustering initialization methods, especially for large-scale or frequently updated datasets.
- To reduce dependency on external validation metrics (e.g., AIC, BIC) that are computationally expensive and memory-intensive.
- To develop a lightweight, fast, and robust initialization method using deep learning to predict cluster count, centroids, and sizes directly from data.
- To enable real-time clustering applications by minimizing convergence time and iteration count.
- To generalize across various cluster shapes—including isolated, overlapping, noisy, and anisotropic forms—through adaptive model selection.
Proposed method
- Train a YOLO-v5 object detection model to identify cluster centroids and sizes as bounding boxes in 2D data space, treating clusters as detectable objects.
- Use two distinct models: one for isolated clusters and another for overlapping clusters, selected based on input data characteristics such as cluster density and separation.
- Transform the clustering initialization problem into an object detection task, where each cluster is represented as a detected object with class label (cluster), bounding box (centroid and size), and confidence score.
- Apply transfer learning during training on small, synthetic datasets with known cluster configurations to improve generalization to unseen data with higher cluster counts.
- Integrate the predicted initialization parameters (number of clusters, centroids) directly into k-means and FCM algorithms to accelerate convergence.
- Use internal validation metrics (e.g., silhouette score) and convergence speed as evaluation criteria to compare performance against standard initialization methods.
Experimental results
Research questions
- RQ1Can a deep learning object detection model effectively predict the number of clusters and their centroids without prior knowledge of cluster structure?
- RQ2How does the proposed YOLO-v5-based initialization method compare to traditional internal validation metrics (AIC, BIC) in terms of computational efficiency and convergence speed?
- RQ3To what extent does the proposed method improve clustering accuracy and stability across diverse cluster shapes, including overlapping and noisy configurations?
- RQ4Can the model generalize to datasets with more clusters than seen during training, demonstrating robust transfer learning capability?
- RQ5Does the use of predicted initialization reduce the number of iterations required for k-means and FCM to converge, especially in large-scale datasets?
Key findings
- The proposed method reduced the number of iterations required for k-means convergence from 4 to 2 when the correct number of clusters (nc=7) was detected, significantly improving efficiency.
- For a dataset with 6 clusters, clustering accuracy increased from 0.854 to 0.999 when using the predicted initialization parameters, demonstrating a substantial performance gain.
- Execution time for cluster initialization was significantly lower than AIC and BIC methods, especially as dataset size increased, due to the model’s independence from data point count.
- The average execution time ratio between clustering with and without predicted initialization was reduced to below 0.5, indicating a 50% reduction in runtime.
- The model generalized well, successfully detecting cluster configurations with higher numbers of clusters than seen during training, confirming strong transfer learning capability.
- The method achieved high robustness across various cluster types, including blobs, noisy circles, moons, and anisotropic distributions, confirming its flexibility and broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.