How to Use K-means for Big Data Clustering?

Rustam Mussabayev, Nenad Mladenovic, Bassem Jarboui, Ravil Mussabayev
4/14/2022
cs.LG

Official code: R-Mussabayev/bigmeans (4 stars, C++, MIT, last commit 2026-03-28).

Abstract

K-means plays a vital role in data mining and is the simplest and most widely used algorithm under the Euclidean Minimum Sum-of-Squares Clustering (MSSC) model. However, its performance drastically drops when applied to vast amounts of data.

Show full abstract

Therefore, it is crucial to improve K-means by scaling it to big data using as few of the following computational resources as possible: data, time, and algorithmic ingredients. We propose a new parallel scheme of using K-means and K-means++ algorithms for big data clustering that satisfies the properties of a ``true big data'' algorithm and outperforms the classical and recent state-of-the-art MSSC approaches in terms of solution quality and runtime. The new approach naturally implements global search by decomposing the MSSC problem without using additional metaheuristics. This work shows that data decomposition is the basic approach to solve the big data clustering problem. The empirical success of the new algorithm allowed us to challenge the common belief that more data is required to obtain a good clustering solution. Moreover, the present work questions the established trend that more sophisticated hybrid approaches and algorithms are required to obtain a better clustering solution.

View on arXivView PDF

Code Implementations(1)

MIT

Big-Means: A Simple and Effective Algorithm for Big Data Minimum Sum-of-Squares Clustering

42C++, PythonAug 2, 20228 months agoMIT

Similar Papers

Cite this paper

@article{mussabayev2022kmeans,
  title  = {How to Use K-means for Big Data Clustering?},
  author = {Rustam Mussabayev and Nenad Mladenovic and Bassem Jarboui and Ravil Mussabayev},
  year   = {2022},
  eprint = {2204.07485},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07485}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.07485.svg)](https://codeofpaper.com/paper/2204.07485)

Discussion