English

Efficient Greedy Discrete Subtrajectory Clustering

Computational Geometry 2025-03-19 v1 Data Structures and Algorithms

Abstract

We cluster a set of trajectories T using subtrajectories of T. Clustering quality may be measured by the number of clusters, the number of vertices of T that are absent from the clustering, and by the Fr\'{e}chet distance between subtrajectories in a cluster. A Δ\Delta-cluster of T is a cluster P{\mathcal{P}} of subtrajectories of T with a centre PPP \in {\mathcal{P}} with complexity \ell, where all subtrajectories in P{\mathcal{P}} have Fr\'{e}chet distance at most Δ\Delta to PP. Buchin, Buchin, Gudmundsson, L\"{o}ffler and Luo present two O(n2+nm)O(n^2 + n m \ell)-time algorithms: SC(max\max, \ell, Δ\Delta, T) computes a single Δ\Delta-cluster where PP has at least \ell vertices and maximises the cardinality mm of P{\mathcal{P}}. SC(mm, max\max, Δ\Delta, T) computes a single Δ\Delta-cluster where P{\mathcal{P}} has cardinality mm and maximises the complexity \ell of PP. We use such maximum-cardinality clusters in a greedy clustering algorithm. We provide an efficient implementation of SC(max\max, \ell, Δ\Delta, T) and SC(mm, max\max, Δ\Delta, T) that significantly outperforms previous implementations. We use these functions as a subroutine in a greedy clustering algorithm, which performs well when compared to existing subtrajectory clustering algorithms on real-world data. Finally, we observe that, for fixed Δ\Delta and T, these two functions always output a point on the Pareto front of some bivariate function θ(,m)\theta(\ell, m). We design a new algorithm PSC(Δ\Delta, T) that in O(n2log4n)O( n^2 \log^4 n) time computes a 22-approximation of this Pareto front. This yields a broader set of candidate clusters, with comparable quality. We show that using PSC(Δ\Delta, T) as a subroutine improves the clustering quality and performance even further.

Keywords

Cite

@article{arxiv.2503.14115,
  title  = {Efficient Greedy Discrete Subtrajectory Clustering},
  author = {Ivor van der Hoog and Lara Ost and Eva Rotenberg and Daniel Rutschmann},
  journal= {arXiv preprint arXiv:2503.14115},
  year   = {2025}
}

Comments

To appear at SoCG 2025

R2 v1 2026-06-28T22:25:03.335Z