Abstract
Finding clusters in high-dimensional data is a challenging research problem due to the exponential increase in the number of subspaces with the dimensionality of data. Subspace clustering algorithms aim to find clusters in all possible subsets of dimensions, but most are hindered by data dependencies that make parallelization difficult. This paper explores the parallelization of SUBSCALE, a scalable subspace clustering algorithm. By leveraging multi-core CPUs and many-core GPUs, the authors achieve significant performance improvements, including linear speedups on multi-core systems and over 15x acceleration on GPUs.
Introduction: The Curse of Dimensionality
In big data analysis, the "curse of dimensionality" refers to the phenomenon where data becomes increasingly sparse as the number of dimensions grows. Traditional clustering methods like k-means often fail because distance metrics lose their meaning in high-dimensional spaces. Subspace clustering addresses this by identifying clusters within specific subsets of dimensions. However, checking every possible subspace is computationally expensive, with the number of subspaces growing at a rate of $2^d$ for $d$ dimensions.
The SUBSCALE Algorithm
SUBSCALE is designed to be scalable by breaking the clustering process into independent steps:
- Density Chunking: Identifying dense regions in 1D space.
- Signature Generation: Creating unique identifiers for these dense units.
- Hash Table Collision: Using a hash table to find overlapping signatures across dimensions, which indicates a multi-dimensional cluster.
Parallelization Strategies
Multi-core CPU Optimization
The primary challenge in parallelizing SUBSCALE on multi-core CPUs is memory contention. When multiple threads attempt to write to a single global hash table simultaneously, synchronization locks create a bottleneck. To overcome this, the authors implemented a slicing strategy. By dividing the hash table into independent slices based on signature value ranges, threads can operate in parallel without interference, leading to linear scalability.
Many-core GPU Acceleration
For GPUs, the bottleneck shifts to the combinatorial explosion of generating point subsets. Traditional sequential generation is unsuitable for the SIMD (Single Instruction, Multiple Data) architecture of GPUs. The authors utilized combinatorial decomposition (combinadics) to enable fine-grained parallelism.
As shown in the figure above, this mathematical approach allows each GPU thread to independently calculate its assigned subset without global synchronization. This "math over memory" strategy avoids the need to store massive bit-strings, significantly reducing the memory footprint and synchronization overhead.
Experimental Evaluation
The approach was tested on two major datasets:
- Madelon: A synthetic dataset with 500 dimensions.
- Pedestrian: A real-world dataset with 6,144 dimensions.
On a 48-core server, the multi-core implementation achieved a 27x speedup, demonstrating near-perfect scaling. For the Pedestrian dataset—which would take approximately 30 days to process sequentially—the parallel version finished in just 26 hours. The GPU implementation provided an additional 15.2x boost for signature generation compared to a high-end CPU.
Conclusion
By re-engineering the SUBSCALE algorithm for modern parallel hardware, this research makes high-dimensional subspace clustering more practical for real-world applications. The combination of hash table slicing for CPUs and combinatorial decomposition for GPUs effectively bypasses traditional bottlenecks in data mining. Future work will focus on deeper GPU integration and hybrid CPU-GPU memory management to handle even larger datasets.
Summary updated