Vehicle GPS trajectories are the data foundation for many tasks in intelligent transportation. Yet, available trajectories are commonly sparse, with long sampling intervals that fail to preserve fine-grained movement and degrade the performance of downstream tasks. Trajectory recovery addresses this by recovering dense trajectories with short sampling intervals from sparse counterparts. Recent learning-based recovery methods are more accurate than traditional rule-based ones but rely on large-scale dense trajectory datasets for training, as they cannot generalize to shorter target intervals than those in their training trajectories. This is a problem as available trajectories are often capped at sparse sampling intervals. We propose TrajRoformer, a new learning-based trajectory recovery method that generalizes to target sampling intervals shorter than those in its training trajectories, through three innovations. First, encoding the relative temporal and spatial features between trajectory points as angular differences, turning recovery to a shorter interval into an interpolation within the range of relative features seen during training. Second, learning the dataset's collective movement explicitly by having the model teach itself from a denser to a sparser sampling, enabling recovery to a shorter interval to follow that movement. Third, filling the missing points from sparse to dense in halving steps, each a small upsampling within the range seen during training. We report on comprehensive experiments on two real-world trajectory datasets, showing that TrajRoformer achieves its design goal.
翻译:暂无翻译