[Paper Review] Review and Perspective for Distance Based Trajectory Clustering
This paper proposes the Symmetrized Segment-Path Distance (SSPD), a novel shape-based trajectory distance that is time-insensitive and compares trajectories by their geometric shape, physical proximity, and total length. Evaluated via hierarchical clustering and affinity propagation, SSPD outperforms existing distances—especially warping-based methods—by achieving the lowest within-cluster similarity criterion and producing homogeneous, interpretable clusters reflecting driver behavior patterns on road networks.
In this paper we tackle the issue of clustering trajectories of geolocalized observations. Using clustering technics based on the choice of a distance between the observations, we first provide a comprehensive review of the different distances used in the literature to compare trajectories. Then based on the limitations of these methods, we introduce a new distance : Symmetrized Segment-Path Distance (SSPD). We finally compare this new distance to the others according to their corresponding clustering results obtained using both hierarchical clustering and affinity propagation methods.
Motivation & Objective
- To address limitations in existing trajectory clustering methods that rely on time-dependent or computationally heavy distances.
- To develop a data-driven, road network-agnostic distance metric that captures trajectory shape and spatial proximity without requiring GPS mapping or temporal alignment.
- To evaluate the performance of multiple trajectory distances using both hierarchical clustering (CAH) and affinity propagation (AP) on real vehicle trajectory data.
- To identify the optimal distance metric for clustering vehicle trajectories based on shape consistency and cluster homogeneity.
- To enable more accurate modeling of driver behavior for applications such as destination prediction.
Proposed method
- Proposes the Symmetrized Segment-Path Distance (SSPD), a shape-based distance that compares trajectories as whole geometric objects without relying on time indexing.
- SSPD computes dissimilarity based on the total length of trajectories, the variation in path segments, and the physical distance between corresponding segments, using a symmetrized formulation to ensure consistency.
- Employs piecewise linear trajectory representation to model trajectories as sequences of line segments, avoiding assumptions about temporal sampling or GPS precision.
- Applies hierarchical clustering (CAH) with Ward linkage and affinity propagation (AP) to evaluate clustering performance across multiple distance metrics.
- Uses Within-Like and Between-Like criteria to assess cluster quality, with lower Within-Like values indicating better clustering homogeneity.
- Implements distances in Python and Cython to compare computational efficiency, leveraging static typing and C math library calls for performance.
Experimental results
Research questions
- RQ1How do different trajectory distance metrics—especially warping-based and shape-based—perform in clustering vehicle trajectories?
- RQ2Can a time-insensitive, shape-aware distance improve clustering quality compared to traditional methods like DTW or LCSS?
- RQ3Does the proposed SSPD distance yield more homogeneous and interpretable clusters than existing alternatives?
- RQ4What is the optimal number of clusters for different distance metrics and clustering algorithms?
- RQ5How does the computational efficiency of SSPD compare to other distances in practical implementations?
Key findings
- SSPD achieved the lowest Within-Like criterion across all cluster sizes in both CAH-Ward and affinity propagation clustering, indicating superior cluster homogeneity.
- Affinity propagation with SSPD required 38 clusters, which was higher than the optimal 20 clusters found with CAH-Ward, but still produced consistent and interpretable clusters.
- Warping-based distances (DTW and LCSS) produced the poorest clustering results, with LCSS significantly worse than DTW.
- Shape-based distances (Fréchet, Hausdorff, and Discrete Fréchet) outperformed warping-based methods, with Fréchet and Hausdorff showing very similar performance.
- SSPD was computationally efficient when implemented in Cython, benefiting from static typing and C math library integration, outperforming DTW and LCSS in speed due to lack of backtracking steps.
- Visual analysis confirmed that SSPD-based clusters grouped trajectories by path similarity, with clear spatial coherence and minimal intra-cluster variation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.