English

Near Linear Time Approximation Schemes for Clustering of Partially Doubling Metrics

Data Structures and Algorithms 2026-03-26 v1

Abstract

Given a finite metric space (XY,d)(X\cup Y, \mathbf{d}) the kk-median problem is to find a set of kk centers CYC\subseteq Y that minimizes pXmincCd(p,c)\sum_{p\in X} \min_{c\in C} \mathbf{d}(p,c). In general metrics, the best polynomial time algorithm computes a (2+ϵ)(2+\epsilon)-approximation for arbitrary ϵ>0\epsilon>0 (Cohen-Addad et al. STOC 2025). However, if the metric is doubling, a near linear time (1+ϵ)(1+\epsilon)-approximation algorithm is known (Cohen-Addad et al. J. ACM 2021). We show that the (1+ϵ)(1+\epsilon)-approximation algorithm can be generalized to the case when either XX or YY has bounded doubling dimension (but the other set not). The case when XX is doubling is motivated by the assumption that even though XX is part of a high-dimensional space, it may be that it is close to a low-dimensional structure. The case when YY is doubling is motivated by specific clustering problems where the centers are low-dimensional. Specifically, our work in this setting implies the first near linear time approximation algorithm for the (k,)(k,\ell)-median problem under discrete Fr\'echet distance when \ell is constant. We further introduce a novel complexity reduction for time series of real values that leads to a similar result for the case of discrete Fr\'echet distance. In order to solve the case when YY has a bounded doubling dimension, we introduce a dimension reduction that replaces points from XX by sets of points in YY. To solve the case when XX has a bounded doubling dimension, we generalize Talwar's decomposition (Talwar STOC 2004) to our setting. The running time of our algorithms is 22tO~(n+m)2^{2^t} \tilde O(n+m) where t=O(ddimlogddimϵ)t=O(\mathrm{ddim} \log \frac{\mathrm{ddim}}{\epsilon}) and where ddim\mathrm{ddim} is the doubling dimension of XX (resp.\ YY). The results also extend to the metric facility location problem.

Keywords

Cite

@article{arxiv.2603.24336,
  title  = {Near Linear Time Approximation Schemes for Clustering of Partially Doubling Metrics},
  author = {Anne Driemel and Jan Höckendorff and Ioannis Psarros and Christian Sohler and Di Yue},
  journal= {arXiv preprint arXiv:2603.24336},
  year   = {2026}
}