English

A near-linear time approximation scheme for $(k,\ell)$-median clustering under discrete Fr\'echet distance

Data Structures and Algorithms 2025-08-12 v1

Abstract

A time series of complexity mm is a sequence of mm real valued measurements. The discrete Fr\'echet distance ddF(x,y)d_{dF}(x,y) is a distance measure between two time series xx and yy of possibly different complexity. Given a set of nn time series represented as mm-dimensional vectors over the reals, the (k,)(k,\ell)-median problem under discrete Fr\'echet distance aims to find a set CC of kk time series of complexity \ell such that xPmincCddF(x,c)\sum_{x\in P} \min_{c\in C} d_{dF}(x,c) is minimized. In this paper, we give the first near-linear time (1+ε)(1+\varepsilon)-approximation algorithm for this problem when \ell and ε\varepsilon are constants but kk can be as large as Ω(n)\Omega(n). We obtain our result by introducing a new dimension reduction technique for discrete Fr\'echet distance and then adapt an algorithm of Cohen-Addad et al. (J. ACM 2021) to work on the dimension-reduced input. As a byproduct we also improve the best coreset construction for (k,)(k,\ell)-median under discrete Fr\'echet distance (Cohen-Addad et al., SODA 2025) and show that its size can be independent of the number of input time series \emph{ and } their complexity.

Keywords

Cite

@article{arxiv.2508.07008,
  title  = {A near-linear time approximation scheme for $(k,\ell)$-median clustering under discrete Fr\'echet distance},
  author = {Anne Driemel and Jan Höckendorff and Ioannis Psarros and Christian Sohler},
  journal= {arXiv preprint arXiv:2508.07008},
  year   = {2025}
}