paper

Efficient Greedy Discrete Subtrajectory Clustering

arXiv:2503.14115

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échet distance between subtrajectories in a cluster. A -cluster of T is a cluster of subtrajectories of T with a centre with complexity , where all subtrajectories in have Fréchet distance at most to . Buchin, Buchin, Gudmundsson, Löffler and Luo present two -time algorithms: SC(, , , T) computes a single -cluster where has at least vertices and maximises the cardinality of . SC(, , , T) computes a single -cluster where has cardinality and maximises the complexity of . We use such maximum-cardinality clusters in a greedy clustering algorithm. We provide an efficient implementation of SC(, , , T) and SC(, , , 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 and T, these two functions always output a point on the Pareto front of some bivariate function . We design a new algorithm PSC(, T) that in time computes a -approximation of this Pareto front. This yields a broader set of candidate clusters, with comparable quality. We show that using PSC(, T) as a subroutine improves the clustering quality and performance even further.

To appear at SoCG 2025

Efficient Greedy Discrete Subtrajectory Clustering · wovepaper