Abstract
Clustering high-dimensional data remains a significant challenge, often requiring a trade-off between computational efficiency and the ability to handle complex geometries. This paper introduces visClust, a novel algorithm that reinterprets clustering as an image processing task. By projecting data onto low-dimensional subspaces and applying Gaussian filtering and connected component analysis, visClust achieves high accuracy and linear scalability with minimal memory requirements.
Introduction
Traditional clustering methods like k-Means are computationally efficient but limited to spherical cluster shapes. Conversely, density-based and deep learning approaches can capture complex structures but often suffer from high parameter sensitivity and significant computational overhead. visClust bridges this gap by leveraging the human-like intuition of visual patterns, transforming statistical distributions into binary images to identify clusters.
Methodology
The visClust algorithm operates through an iterative process centered on orthogonal projections and image processing techniques:
- Orthogonal Projection: High-dimensional data is projected onto a 2D or 3D subspace using random orthogonal matrices.
- Quantization and Image Transformation: The projected coordinates are scaled and quantized into a grid, forming a binary integer array—essentially a "data image."
- Gaussian Smoothing: A Gaussian filter is applied to the binary image. This process merges dense point regions into continuous "blobs" while effectively suppressing sparse noise.
- Thresholding and Labeling: A threshold is applied to the smoothed image, and standard connected component labeling identifies distinct "islands."
- Validation: The algorithm checks if the number of identified islands matches the target cluster count ($n_c$). If not, a new random projection is generated, and the process repeats.
Experimental Evaluation
The performance of visClust was benchmarked against six state-of-the-art algorithms, including k-Means, GMM, and SpectACl, across diverse datasets:
- Synthetic Data: "Circles," "Moons," and "Blobs" were used to test non-linear separability.
- Real-World Data: Ten datasets from the UCI repository (e.g., Iris, Wine, Yeast) and the Digits dataset for high-dimensional image clustering.
Key Results
- Accuracy: visClust consistently matched or exceeded the Accuracy (ACC) and Adjusted Rand Index (ARI) of established methods, particularly on datasets with non-spherical clusters.
- Scalability: The algorithm exhibits linear time complexity. In tests with 1,000,000 data points, visClust completed execution in approximately 10 seconds on standard hardware, significantly outperforming graph-based methods that faced memory exhaustion.
- Robustness: The integration of Gaussian filtering provides an inherent mechanism for noise reduction, as small, isolated point groups are filtered out before labeling.
Discussion and Limitations
While visClust is highly efficient, its reliance on linear projections can be a limitation if the data's intrinsic structure is highly non-linear. In such cases, the authors recommend using non-linear dimensionality reduction techniques like t-SNE as a pre-processing step. Additionally, while the algorithm can be automated, it typically requires the user to specify the desired number of clusters.
Conclusion
visClust offers a computationally lightweight and visually intuitive alternative to traditional clustering. By treating data points as pixels, it harnesses optimized image processing routines to provide a scalable solution for large-scale data analysis.
Reference: Breger, A., Karner, C., & Ehler, M. (2023). visClust: A visual clustering algorithm based on orthogonal projections. arXiv:2211.03894v3 [cs.CV].
Summary updated