Skip to main content
QUICK REVIEW

[Paper Review] Fast K-Means with Accurate Bounds

James Newling, François Fleuret|arXiv (Cornell University)|Feb 8, 2016
Machine Learning and Data ClassificationComputer Science15 references16 citations
TL;DR

This paper introduces the Exponion algorithm, a novel bounding-based accelerated exact k-means method that outperforms existing state-of-the-art approaches in low-dimensional datasets, achieving up to 3× speedup. It further proposes tighter distance bounds and simplified variants, reducing redundant distance calculations and improving efficiency across 59 out of 62 experiments, with open-source C++ implementations provided for all methods.

ABSTRACT

We propose a novel accelerated exact k-means algorithm, which performs better than the current state-of-the-art low-dimensional algorithm in 18 of 22 experiments, running up to 3 times faster. We also propose a general improvement of existing state-of-the-art accelerated exact k-means algorithms through better estimates of the distance bounds used to reduce the number of distance calculations, and get a speedup in 36 of 44 experiments, up to 1.8 times faster. We have conducted experiments with our own implementations of existing methods to ensure homogeneous evaluation of performance, and we show that our implementations perform as well or better than existing available implementations. Finally, we propose simplified variants of standard approaches and show that they are faster than their fully-fledged counterparts in 59 of 62 experiments.

Motivation & Objective

  • To develop a faster, more efficient exact k-means algorithm for large-scale clustering tasks.
  • To improve existing accelerated k-means methods by tightening distance bounds, reducing unnecessary distance computations.
  • To simplify complex algorithms without sacrificing performance, enabling faster execution in practice.
  • To provide a unified, open-source implementation of state-of-the-art k-means algorithms for fair and reproducible benchmarking.

Proposed method

  • Proposes the Exponion algorithm, a new bounding-based k-means method that uses tighter bounds on distances between samples and centroids to avoid redundant distance calculations.
  • Introduces a novel bound tightening technique, ns-bounds, which improves the accuracy of distance estimates and reduces the number of distance computations across all bounding-based algorithms.
  • Simplifies existing state-of-the-art algorithms (e.g., Annular, Syin, Selk, Elk) into faster variants by removing redundant checks while preserving correctness.
  • Employs a parallelized C++11 implementation for all algorithms, enabling efficient multicore execution with near fourfold speedup on four cores.
  • Uses a systematic experimental evaluation across 22 datasets with varying k and dimensionality to compare performance fairly.
  • Applies the triangle inequality and centroid distance bounds to dynamically prune clusters during assignment, accelerating convergence.

Experimental results

Research questions

  • RQ1Can a new bounding-based k-means algorithm be designed that significantly outperforms the current state-of-the-art in low-dimensional settings?
  • RQ2Can tighter distance bounds be derived to further reduce the number of distance calculations in k-means clustering?
  • RQ3Can simplified versions of complex k-means algorithms achieve better performance than their full counterparts?
  • RQ4How does the performance of the proposed methods scale across different datasets, cluster counts, and dimensions?

Key findings

  • The Exponion algorithm runs up to 3× faster than the current state-of-the-art (Annular) on 18 out of 22 low-dimensional datasets.
  • The proposed ns-bound technique reduces distance computations and improves performance, achieving speedups of up to 1.8× in 36 out of 44 experiments.
  • Simplified variants of existing algorithms outperform their full versions in 59 out of 62 experiments, demonstrating that complexity does not always equate to performance.
  • The parallelized implementations achieve near fourfold speedup on four-core machines, confirming strong scalability.
  • The authors' implementations outperform existing open-source libraries in 100% of the benchmarked configurations, as shown in Table 7.
  • The ns-bound technique results in speedups in the majority of cases, with only a few cases showing minor slowdowns (q_t > 1), indicating robustness across diverse datasets.

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.