[Paper Review] Embed and Conquer: Scalable Embeddings for Kernel k-Means on MapReduce
This paper proposes a scalable MapReduce framework for kernel k-means clustering using a novel family of low-dimensional embeddings called Approximate Nearest Centroid (APNC) embeddings. By embedding data instances into a lower-dimensional space that preserves kernel similarity, the method enables efficient, unified parallelization on distributed systems, achieving high clustering accuracy with significantly reduced runtime compared to exact kernel k-means and prior approximations on large-scale datasets like ImageNet and RCV1.
The kernel $k$-means is an effective method for data clustering which extends the commonly-used $k$-means algorithm to work on a similarity matrix over complex data structures. The kernel $k$-means algorithm is however computationally very complex as it requires the complete data matrix to be calculated and stored. Further, the kernelized nature of the kernel $k$-means algorithm hinders the parallelization of its computations on modern infrastructures for distributed computing. In this paper, we are defining a family of kernel-based low-dimensional embeddings that allows for scaling kernel $k$-means on MapReduce via an efficient and unified parallelization strategy. Afterwards, we propose two methods for low-dimensional embedding that adhere to our definition of the embedding family. Exploiting the proposed parallelization strategy, we present two scalable MapReduce algorithms for kernel $k$-means. We demonstrate the effectiveness and efficiency of the proposed algorithms through an empirical evaluation on benchmark data sets.
Motivation & Objective
- To address the scalability limitations of kernel k-means on large-scale data due to full kernel matrix computation and storage.
- To enable efficient parallelization of kernel k-means on commodity-based distributed clusters using the MapReduce model.
- To design a family of low-dimensional embeddings that preserve kernel similarity while allowing correct and efficient clustering approximation.
- To develop two practical embedding methods—APNC-Nys based on Nyström approximation and APNC-SD using p-stable distributions—that satisfy the required embedding properties.
- To empirically validate the proposed algorithms on medium- and large-scale benchmark datasets, demonstrating superior accuracy and efficiency.
Proposed method
- Introduces a family of embeddings, APNC, defined by four key properties ensuring correctness and scalability for kernel k-means on MapReduce.
- Proposes a unified parallelization strategy: first compute embeddings for all data points, then perform clustering on the embedded space using MapReduce.
- Employs the Nyström method to construct APNC-Nys embeddings by sampling a subset of data points and approximating the full kernel matrix.
- Uses p-stable distributions to construct APNC-SD embeddings that approximate ℓ1-norms of kernel-encoded vectors, enabling efficient distance computation.
- Designs a discrepancy function based on ℓ1 and ℓ2 distances to guide cluster assignment in the embedded space, minimizing approximation error.
- Executes the algorithm in a MapReduce pipeline: embedding computation in Map phase, and iterative clustering with nearest centroid assignment in Reduce phase.
Experimental results
Research questions
- RQ1Can a family of low-dimensional embeddings be defined such that they preserve the necessary properties for correct kernel k-means approximation in a distributed setting?
- RQ2How can kernel k-means be efficiently parallelized on MapReduce by leveraging such embeddings?
- RQ3Can the Nyström method and p-stable distributions be used to construct embeddings that satisfy the required properties and enable high-accuracy clustering?
- RQ4How do the proposed APNC-Nys and APNC-SD methods compare in accuracy and efficiency to existing kernel k-means approximations on large-scale datasets?
- RQ5To what extent can the proposed MapReduce-based algorithms scale to datasets like ImageNet and RCV1 while maintaining competitive clustering quality?
Key findings
- APNC-SD achieved the highest NMI on the ImageNet dataset (11.10% with l=1500), outperforming the prior best of 10.4% using Approx-KKM.
- On the RCV1 dataset, APNC-SD achieved 13.56% NMI with l=1500, comparable to the best reported result of 28.65% using spectral clustering, but with significantly faster runtime.
- With only 300 samples (l=300), both APNC-Nys and APNC-SD achieved clustering accuracy nearly identical to exact kernel k-means, confirming their reliability.
- APNC-SD reduced total clustering time to 15.6 minutes on RCV1 (l=1500), compared to 29 minutes for APNC-Nys and 95 minutes for a distributed spectral clustering baseline.
- The embedding time was comparable between APNC-Nys and APNC-SD, but APNC-SD’s clustering step was faster due to its use of ℓ1-distance, which is more efficient to compute.
- On the CovType dataset, APNC-SD achieved 15.56% NMI (l=1500), surpassing the prior best of 14% using RFF, and outperforming APNC-Nys in NMI while maintaining similar runtime.
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.