Abstract
As GPS-enabled devices become ubiquitous, the volume of trajectory data—digital footprints of vehicles, animals, and people—has increased exponentially. Extracting meaningful collective behavior from this raw data is a significant challenge. This paper introduces the concept of "convoys": groups of moving objects that remain density-connected over a minimum time threshold. Unlike previous models that rely on fixed geometric shapes, the convoy model accommodates groups of arbitrary shapes. To process massive datasets efficiently, we propose the CuTS (Convoy discovery using Trajectory Simplification) algorithm family. By leveraging trajectory simplification as a pruning mechanism in a filter-refinement framework, our approach achieves speedups of up to 33 times over traditional snapshot-based clustering methods.
Introduction
The proliferation of location-aware technology has transformed trajectory analysis into a cornerstone of spatial data mining. A primary goal in this field is identifying groups of objects that move together. Early research focused on "flocks," defined as a set of objects moving within a circular disk of a fixed radius. However, this rigid geometric constraint often fails to capture real-world movement patterns, such as a line of cars on a highway or a dispersed herd of animals.
The Lossy-Flock Problem
The fundamental limitation of the flock model is the lossy-flock problem. Because a flock is constrained to a circular disk, it cannot effectively represent groups with elongated or irregular shapes. If the disk is too small, it excludes valid members of a group; if it is enlarged to include them, it may capture unrelated nearby objects.
To address this, we define a convoy using density-based clustering principles (similar to DBSCAN). A convoy consists of at least $m$ objects that are density-connected with respect to a distance $\epsilon$ for at least $k$ consecutive time points. This allows the group to take any shape—strings, clusters, or rings—while maintaining a stable core of members.
Methodology: The CuTS Algorithm
Discovering convoys by checking every object at every timestamp is computationally prohibitive. We introduce a Filter-Refinement framework to optimize this process. The core of this framework is the CuTS (Convoy discovery using Trajectory Simplification) algorithm.
1. Filter Step
Instead of clustering raw data points, CuTS simplifies trajectories using the Douglas-Peucker (DP) algorithm. By representing complex paths as a series of line segments within a specified error tolerance $\delta$, we can perform clustering on these simplified segments. We mathematically prove distance bounds: if simplified segments are separated by a distance greater than a specific threshold (accounting for $\delta$), the original objects cannot possibly belong to the same convoy. This allows the algorithm to prune the vast majority of non-candidate trajectories early.
2. Refinement Step
The filter step yields a set of candidate convoys. In the refinement phase, the algorithm retrieves the original high-resolution data for these candidates only, verifying if they meet the strict $m, \epsilon, k$ criteria. This two-step process avoids the "snapshot-by-snapshot" bottleneck of traditional methods.
We further improved this with CuTS, which utilizes a temporal-aware simplification (DP). By considering when an object reached a specific point, CuTS* calculates the Closest Point of Approach (CPA) between segments, providing even tighter distance bounds and reducing false positives in the filter step.
Experimental Evaluation
We evaluated the CuTS family against the CMC (Coherent Moving Cluster) baseline using four real-world datasets:
- Truck: 276 concrete delivery trucks in Athens.
- Cattle: 13 cows with high-frequency GPS tags.
- Car: 183 private cars in Copenhagen.
- Taxi: 500 taxis in Beijing with irregular sampling.
Key Results
- Efficiency: CuTS and CuTS outperformed the baseline by factors ranging from 3.9x to 33.1x*.
- Pruning Power: CuTS* proved most effective, reducing the number of candidates requiring refinement by over 50% in several scenarios compared to basic CuTS.
- Robustness: The framework handled the "dirty" data of the Taxi dataset (irregular intervals) effectively by employing interpolation to maintain continuity.
Conclusion
The convoy model provides a flexible, density-based alternative to the rigid flock model, successfully capturing groups of arbitrary shapes. By integrating trajectory simplification into the discovery process, the CuTS algorithms offer a scalable solution for massive trajectory databases. Future work includes adapting these methods for real-time streaming data and incorporating semantic information to identify groups moving between specific types of functional locations.
Summary updated