English

Linear time small coresets for k-mean clustering of segments with applications

Machine Learning 2025-11-21 v2 Computational Geometry Computer Vision and Pattern Recognition

Abstract

We study the kk-means problem for a set SRd\mathcal{S} \subseteq \mathbb{R}^d of nn segments, aiming to find kk centers XRdX \subseteq \mathbb{R}^d that minimize D(S,X):=SSminxXD(S,x)D(\mathcal{S},X) := \sum_{S \in \mathcal{S}} \min_{x \in X} D(S,x), where D(S,x):=pSpxdpD(S,x) := \int_{p \in S} |p - x| dp measures the total distance from each point along a segment to a center. Variants of this problem include handling outliers, employing alternative distance functions such as M-estimators, weighting distances to achieve balanced clustering, or enforcing unique cluster assignments. For any ε>0\varepsilon > 0, an ε\varepsilon-coreset is a weighted subset CRdC \subseteq \mathbb{R}^d that approximates D(S,X)D(\mathcal{S},X) within a factor of 1±ε1 \pm \varepsilon for any set of kk centers, enabling efficient streaming, distributed, or parallel computation. We propose the first coreset construction that provably handles arbitrary input segments. For constant kk and ε\varepsilon, it produces a coreset of size O(log2n)O(\log^2 n) computable in O(nd)O(nd) time. Experiments, including a real-time video tracking application, demonstrate substantial speedups with minimal loss in clustering accuracy, confirming both the practical efficiency and theoretical guarantees of our method.

Keywords

Cite

@article{arxiv.2511.12564,
  title  = {Linear time small coresets for k-mean clustering of segments with applications},
  author = {David Denisov and Shlomi Dolev and Dan Felmdan and Michael Segal},
  journal= {arXiv preprint arXiv:2511.12564},
  year   = {2025}
}

Comments

First published in WALCOM 2026 by Springer Nature