English

An Algorithm for Online K-Means Clustering

Data Structures and Algorithms 2015-02-24 v2 Machine Learning

Abstract

This paper shows that one can be competitive with the k-means objective while operating online. In this model, the algorithm receives vectors v_1,...,v_n one by one in an arbitrary order. For each vector the algorithm outputs a cluster identifier before receiving the next one. Our online algorithm generates ~O(k) clusters whose k-means cost is ~O(W*). Here, W* is the optimal k-means cost using k clusters and ~O suppresses poly-logarithmic factors. We also show that, experimentally, it is not much worse than k-means++ while operating in a strictly more constrained computational model.

Keywords

Cite

@article{arxiv.1412.5721,
  title  = {An Algorithm for Online K-Means Clustering},
  author = {Edo Liberty and Ram Sriharsha and Maxim Sviridenko},
  journal= {arXiv preprint arXiv:1412.5721},
  year   = {2015}
}
R2 v1 2026-06-22T07:36:19.113Z