Skip to main content
QUICK REVIEW

[Paper Review] Coresets for Clustering in Graphs of Bounded Treewidth

D. N. Baker, Vladimir Braverman|arXiv (Cornell University)|Jul 10, 2019
Data Management and AlgorithmsComputer Science8 citations
TL;DR

This paper presents a near-linear time algorithm to construct an $ϵ$-coreset for $k$-Median clustering in graphs of bounded treewidth, with coreset size $O_{ϵ,k}(\operatorname{tw}(G))$, independent of the data set size $n$. The method leverages a uniform bound on shattering dimension and achieves significant speedups in clustering workloads, especially when combined with local search on the coreset.

ABSTRACT

We initiate the study of coresets for clustering in graph metrics, i.e., the shortest-path metric of edge-weighted graphs. Such clustering problems are essential to data analysis and used for example in road networks and data visualization. A coreset is a compact summary of the data that approximately preserves the clustering objective for every possible center set, and it offers significant efficiency improvements in terms of running time, storage, and communication, including in streaming and distributed settings. Our main result is a near-linear time construction of a coreset for k-Median in a general graph $G$, with size $O_{ε, k}(\mathrm{tw}(G))$ where $\mathrm{tw}(G)$ is the treewidth of $G$, and we complement the construction with a nearly-tight size lower bound. The construction is based on the framework of Feldman and Langberg [STOC 2011], and our main technical contribution, as required by this framework, is a uniform bound of $O(\mathrm{tw}(G))$ on the shattering dimension under any point weights. We validate our coreset on real-world road networks, and our scalable algorithm constructs tiny coresets with high accuracy, which translates to a massive speedup of existing approximation algorithms such as local search for graph k-Median.

Motivation & Objective

  • To address the lack of coreset constructions for $k$-Median clustering in graph metrics, especially in structured graphs like road networks.
  • To design a coreset construction that is efficient (near-linear time) and has size independent of the input size $n$ for graphs of bounded treewidth.
  • To establish theoretical guarantees on coreset size via shattering dimension bounds and validate the approach empirically on real-world road networks.
  • To demonstrate practical speedups in clustering pipelines, particularly when integrating coresets with existing approximation algorithms like local search.

Proposed method

  • Adapts the Feldman-Langberg framework for coreset construction, which requires bounding the shattering dimension under any point weights.
  • Establishes a uniform upper bound of $O(\operatorname{tw}(G))$ on the shattering dimension for any point weight distribution in graphs of bounded treewidth.
  • Uses this bound to construct an $\epsilon$-coreset of size $O_{\epsilon,k}(\operatorname{tw}(G))$ for $k$-Median in graph metrics.
  • Employs a weighted sampling procedure based on sensitivity sampling to generate the coreset from the original data set.
  • Validates the coreset via empirical evaluation on real road network data, comparing with uniform random sampling and measuring maximum empirical error.
  • Integrates the coreset into the local search algorithm for $k$-Median, evaluating performance on both $D \times V$ and $D \times D$ search spaces.

Experimental results

Research questions

  • RQ1Can coresets be constructed efficiently for $k$-Median clustering in graph metrics, particularly in graphs of bounded treewidth?
  • RQ2What is the dependence of coreset size on the treewidth $\operatorname{tw}(G)$, and can it be made independent of the data set size $n$?
  • RQ3How does the coreset perform in practice compared to uniform sampling, especially in terms of accuracy and speedup?
  • RQ4To what extent can coresets accelerate existing approximation algorithms like local search in graph $k$-Median?

Key findings

  • The coreset construction runs in near-linear time and produces a coreset of size $O_{\epsilon,k}(\operatorname{tw}(G))$, independent of $n$, which is a significant improvement over general metric coreset constructions.
  • The coreset achieves $5\%$ error using only about 1,000 points on real-world road networks, outperforming uniform sampling by 3–5 times in accuracy on Manhattan-concentrated data.
  • Coresets of the same size maintain consistent accuracy across different data set sizes, confirming the theoretical independence from $n$.
  • Local search on the coreset $D \times D$ achieves a speedup of up to 1,000 times compared to local search on the full data set $X \times V$, with only $5\%$–$10\%$ error in objective value.
  • A coreset constructed for a larger $k$ (e.g., $k=25$) remains effective for smaller $k'$, enabling reuse across multiple clustering experiments.
  • The coreset construction time is about 100 times faster than local search on the full data set, making it a viable one-time preprocessing step.

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.