mlsanityData to 7 Oct 2026

Systematically and efficiently improving k-means initialization by pairwise-nearest-neighbor smoothing

arXiv 2202.03949 ↗First posted 8 Feb 2022cs.LG stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

We present a meta-method for initializing (seeding) the k-means clustering algorithm called PNN-smoothing. It consists in splitting a given dataset into J random subsets, clustering each of them individually, and merging the resulting clusterings with the pairwise-nearest-neighbor (PNN) method. It is a meta-method in the sense that when clustering the individual subsets any seeding algorithm can be used. If the computational complexity of that seeding algorithm is linear in the size of the data N and the number of clusters k, PNN-smoothing is also almost linear with an appropriate choice of J, and quite competitive in practice. We show empirically, using several existing seeding methods and testing on several synthetic and real datasets, that this procedure results in systematically better costs. In particular, our method of enhancing k-means++ seeding proves superior in both effectiveness and speed compared to the popular "greedy" k-means++ variant. Our implementation is publicly available at https://github.com/carlobaldassi/KMeansPNNSmoothing.jl.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 2 of its 26 references that are in the map. First posted on arXiv 8 Feb 2022.

Builds on

2 of 26 references.

References · 2

  1. 2016Fast K-Means with Accurate Boundscited by 10
  2. 2019Recombinator-k-means: An evolutionary algorithm that exploits k-means++ for recombinationcited by 1

Built on by

Not cited yet.