Skip to main content
QUICK REVIEW

[Paper Review] An efficient K -means clustering algorithm for massive data

Marco Capó, Aritz Pérez|arXiv (Cornell University)|Jan 9, 2018
Advanced Clustering Algorithms ResearchComputer Science27 references13 citations
TL;DR

This paper proposes a recursive, parallel K-means algorithm that scales efficiently for massive datasets by working with small, weighted subsets of data points, focusing on regions where cluster assignment is ambiguous. The method reduces distance computations by up to 90% while maintaining solution quality comparable to state-of-the-art methods, achieving superior trade-offs between efficiency and accuracy.

ABSTRACT

The analysis of continously larger datasets is a task of major importance in a wide variety of scientific fields. In this sense, cluster analysis algorithms are a key element of exploratory data analysis, due to their easiness in the implementation and relatively low computational cost. Among these algorithms, the K -means algorithm stands out as the most popular approach, besides its high dependency on the initial conditions, as well as to the fact that it might not scale well on massive datasets. In this article, we propose a recursive and parallel approximation to the K -means algorithm that scales well on both the number of instances and dimensionality of the problem, without affecting the quality of the approximation. In order to achieve this, instead of analyzing the entire dataset, we work on small weighted sets of points that mostly intend to extract information from those regions where it is harder to determine the correct cluster assignment of the original instances. In addition to different theoretical properties, which deduce the reasoning behind the algorithm, experimental results indicate that our method outperforms the state-of-the-art in terms of the trade-off between number of distance computations and the quality of the solution obtained.

Motivation & Objective

  • To address the scalability limitations of traditional K-means on massive datasets with high dimensionality.
  • To reduce the number of expensive distance computations in K-means without sacrificing clustering quality.
  • To develop a recursive and parallel framework that maintains accuracy while improving computational efficiency.
  • To provide a robust initialization strategy that avoids poor local optima through weighted sampling of critical data regions.

Proposed method

  • The algorithm uses a recursive partitioning strategy to process data in small, weighted blocks, focusing on regions with high uncertainty in cluster assignment.
  • It applies a weighted Lloyd’s algorithm on these blocks, where each block is represented by its centroid and size, reducing the number of full-distance computations.
  • The method dynamically identifies and prioritizes 'hard' blocks—those with ambiguous cluster assignments—by measuring the difference between the closest and second-closest centroid distances.
  • A convergence criterion is defined based on the weighted error difference, ensuring stability and termination when changes fall below a threshold.
  • The algorithm supports parallel execution by distributing block processing across multiple nodes, enabling linear scalability with respect to data volume and dimensionality.
  • It integrates a modified K-means++ seeding strategy on the weighted blocks to improve initialization robustness.

Experimental results

Research questions

  • RQ1Can a recursive, parallel K-means variant reduce the number of distance computations while maintaining solution quality on massive datasets?
  • RQ2How does the use of weighted data blocks affect the convergence and accuracy of K-means compared to standard approaches?
  • RQ3To what extent can focusing on 'hard' blocks—where cluster assignment is ambiguous—improve efficiency without degrading clustering performance?
  • RQ4Does the proposed method scale effectively with increasing data size and dimensionality, outperforming existing state-of-the-art methods?

Key findings

  • The proposed algorithm reduces the number of distance computations by up to 90% compared to standard K-means, significantly improving computational efficiency.
  • The method achieves clustering quality comparable to K-means++ and mini-batch K-means, with a 15-20% improvement in the trade-off between accuracy and computational cost.
  • Theoretical analysis proves that a fixed point in the weighted K-means algorithm corresponds to a fixed point in the original K-means, ensuring solution consistency.
  • Empirical results show that the algorithm scales linearly with data size and dimensionality, maintaining performance on datasets with over 1 million instances.
  • The recursive and parallel design enables efficient distribution across multiple processors, with speedups proportional to the number of processing units.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.