Skip to main content
QUICK REVIEW

[Paper Review] Coresets for $k$-Means and $k$-Median Clustering and their Applications

Sariel Har-Peled, Soham Mazumdar|arXiv (Cornell University)|Oct 30, 2018
Complexity and Algorithms in GraphsComputer Science25 references95 citations
TL;DR

The paper proves the existence of small coresets for k-means and k-median clustering in low dimensions and provides efficient algorithms to construct them, enabling (1+ε)-approximation with improved running times and streaming support.

ABSTRACT

$ enewcommand{\Re}{{ m I\!\hspace{-0.025em} R}} ewcommand{\eps}{\varepsilon} ewcommand{\Coreset}{\mathcal{S}} $ In this paper, we show the existence of small coresets for the problems of computing $k$-median and $k$-means clustering for points in low dimension. In other words, we show that given a point set $P$ in $\Re^d$, one can compute a weighted set $\Coreset \subseteq P$, of size $O(k \eps^{-d} \log{n})$, such that one can compute the $k$-median/means clustering on $\Coreset$ instead of on $P$, and get an $(1+\eps)$-approximation. As a result, we improve the fastest known algorithms for $(1+\eps)$-approximate $k$-means and $k$-median clustering. Our algorithms have linear running time for a fixed $k$ and $\eps$. In addition, we can maintain the $(1+\eps)$-approximate $k$-median or $k$-means clustering of a stream when points are being only inserted, using polylogarithmic space and update time.

Motivation & Objective

  • Motivate clustering in low-dimensional spaces and the need for faster approximation methods.
  • Show the existence of small (k, ε)-coresets that preserve clustering costs within (1±ε) factors.
  • Develop fast algorithms to construct coresets and to perform clustering on them with provable guarantees.
  • Extend the approach to streaming data with polylogarithmic space and update times.

Proposed method

  • Introduce (k, ε)-coresets for k-median and k-means: subsets with weights that preserve clustering costs within (1±ε) for any k-center set.
  • Provide a linear-time construction to obtain a near-optimal set of centers that induces a good approximation.
  • Build (k, ε)-coresets from the approximate centers and perform clustering on the coreset using weighted variants of known algorithms.
  • Develop a fast constant-factor approximation algorithm that outputs more than k centers (O(k log^3 n)) that approximate both k-means and k-median.
  • Use the coreset to derive a (1+ε)-approximation for k-median and k-means via a centroid-set approach and a local-search refinement.
  • Extend the framework to data streams, maintaining a coreset of size O(k ε^{-d} log n) with polylogarithmic update time.

Experimental results

Research questions

  • RQ1Can small (k, ε)-coresets be constructed for k-means and k-median in low dimensions that yield (1+ε)-approximate solutions?
  • RQ2What is the size of the coreset and the time complexity for constructing and using it, especially for fixed k and ε?
  • RQ3How can coresets be maintained in the streaming model with insert-only updates?
  • RQ4Can a fast constant-factor approximation be achieved using more centers than k, to seed a tight (1+ε)-approximation on the coreset?
  • RQ5How can discrete (k, ε)-approximation and centroid sets be combined to obtain practical (1+ε)-approximation guarantees?

Key findings

  • There exist (k, ε)-coresets of size O((k/ε^{d}) log n) for k-means and k-median in Re^d.
  • Coresets enable (1+ε)-approximation by clustering on the coreset with weighted centers.
  • A fast constant-factor approximation algorithm outputs O(k log^3 n) centers that approximate both k-means and k-median.
  • A streaming algorithm maintains a (k, ε)-coreset of size O(k ε^{-d} log n) with polylogarithmic update time and space.
  • A centroid-set based post-processing yields a (1+ε)-approximation by restricting centers to a small candidate set of size O(k^2 ε^{-2d} log^2 n).
  • The methods decouple the n in running time from the exponential constants tied to k and 1/ε, improving practical efficiency.

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.