
TL;DR
This paper introduces specialized triangle inequality pruning and a dynamic priority queue to accelerate K-Means++ and K-Means|, achieving over 500x reduction in distance computations and significant speedups in runtime while maintaining the original algorithms' integrity.
Contribution
It presents the first algorithmic acceleration of K-Means++ and K-Means| using pruning strategies and a priority queue, resulting in substantial speedups without altering the algorithms' core logic.
Findings
Over 500x reduction in distance computations
Up to 17x speedup for K-Means++
Up to 551x speedup for K-Means|
Abstract
K-Means++ and its distributed variant K-Means have become de facto tools for selecting the initial seeds of K-means. While alternatives have been developed, the effectiveness, ease of implementation, and theoretical grounding of the K-means++ and methods have made them difficult to "best" from a holistic perspective. By considering the limited opportunities within seed selection to perform pruning, we develop specialized triangle inequality pruning strategies and a dynamic priority queue to show the first acceleration of K-Means++ and K-Means that is faster in run-time while being algorithmicly equivalent. For both algorithms we are able to reduce distance computations by over . For K-means++ this results in up to a 17 speedup in run-time and a speedup for K-means. We achieve this with simple, but carefully chosen, modifications to known…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsPruning
