Skip to main content
QUICK REVIEW

[Paper Review] Fast Approximate $K$-Means via Cluster Closures

Jingdong Wang, Jing Wang|arXiv (Cornell University)|Dec 11, 2013
Advanced Clustering Algorithms ResearchComputer Science20 citations
TL;DR

This paper proposes a novel approximate $K$-means algorithm that accelerates cluster assignment by identifying active points near cluster boundaries using cluster closures built from multiple random partition trees. By restricting distance computations to only those clusters whose closures contain a point, the method reduces complexity while improving clustering quality and efficiency, achieving over 2.5× speedup on 1M-point datasets and outperforming state-of-the-art methods in image retrieval with smaller codebooks.

ABSTRACT

$K$-means, a simple and effective clustering algorithm, is one of the most widely used algorithms in multimedia and computer vision community. Traditional $k$-means is an iterative algorithm---in each iteration new cluster centers are computed and each data point is re-assigned to its nearest center. The cluster re-assignment step becomes prohibitively expensive when the number of data points and cluster centers are large. In this paper, we propose a novel approximate $k$-means algorithm to greatly reduce the computational complexity in the assignment step. Our approach is motivated by the observation that most active points changing their cluster assignments at each iteration are located on or near cluster boundaries. The idea is to efficiently identify those active points by pre-assembling the data into groups of neighboring points using multiple random spatial partition trees, and to use the neighborhood information to construct a closure for each cluster, in such a way only a small number of cluster candidates need to be considered when assigning a data point to its nearest cluster. Using complexity analysis, image data clustering, and applications to image retrieval, we show that our approach out-performs state-of-the-art approximate $k$-means algorithms in terms of clustering quality and efficiency.

Motivation & Objective

  • To address the high computational cost of the assignment step in traditional $K$-means when dealing with large-scale, high-dimensional data.
  • To improve the efficiency and accuracy of approximate $K$-means by focusing only on points that are likely to change clusters—those near cluster boundaries.
  • To reduce the number of distance computations during assignment by leveraging spatial neighborhood information through random partition trees.
  • To develop a scalable, parallelizable clustering method suitable for large-scale multimedia applications such as image retrieval with massive codebooks.
  • To outperform existing approximate $K$-means methods in both clustering quality and runtime on real-world datasets.

Proposed method

  • Pre-assemble data points into spatial neighborhoods using multiple random partition trees to create a locality-aware data structure.
  • Construct a cluster closure for each cluster by expanding its points to include their neighborhood sets, enabling fast candidate cluster filtering.
  • For each data point, only consider clusters whose closures contain the point when computing the nearest center, drastically reducing candidate clusters.
  • Use the closure-based filtering to limit distance computations to a small subset of clusters during the assignment step.
  • Leverage the observation that only points near cluster boundaries (active points) change assignments, making the method both efficient and accurate.
  • Integrate the closure mechanism into the iterative $K$-means framework, maintaining convergence while reducing per-iteration cost.

Experimental results

Research questions

  • RQ1Can we significantly reduce the computational cost of the $K$-means assignment step by focusing only on points near cluster boundaries?
  • RQ2Can we efficiently identify active points near cluster boundaries using spatial partitioning structures without sacrificing clustering accuracy?
  • RQ3Does the use of cluster closures built from random partition trees lead to faster convergence and better codebook quality in large-scale image retrieval?
  • RQ4How does the proposed method compare to state-of-the-art approximate $K$-means algorithms in terms of speed, accuracy, and codebook size efficiency?
  • RQ5Can a smaller codebook learned with this method outperform larger codebooks from existing methods in image retrieval tasks?

Key findings

  • The proposed method achieves over 2.5× faster convergence than state-of-the-art algorithms when clustering 1 million 384-dimensional GIST features into 10,000 clusters.
  • With a 750K-word codebook, the method outperforms codebooks of size 1M learned by other state-of-the-art methods in image retrieval, achieving a mAP of 0.666 on the Oxford 5K dataset.
  • The method achieves superior performance across all codebook sizes, with the best mAP of 0.674 using a 750K-word codebook, outperforming even 1M-word codebooks from AKM and HKM.
  • The method maintains high accuracy even with smaller codebooks, indicating higher quality clustering and better codebook efficiency.
  • The performance is robust across different bucket sizes in random partition trees, with a bucket size of 10 providing optimal balance between speed and accuracy.
  • Visual retrieval results show consistent improvements, with top results consistently ranking higher than those from AKM and HKM.

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.