Abstract
Predicting vehicle future trajectories enables various Location-Based Services (LBS), including traffic flow monitoring, vehicle route planning, etc. Vehicles are constrained to predefined road networks. Their traveling behaviors are influenced by both their own attributes and road network characteristics hidden in other vehicles’ travel histories. Most of the existing methods fail to sufficiently leverage such collaborative trajectory data under road network constraints. This paper proposes a novel model, called HGT-RN (Hierarchical Graph Attention Network and Transformer Networks for Enhanced Trajectory Prediction under Road Network Constraints), which exploits all vehicles’ trajectories and integrates road network constraints. Specifically, HGT-RN creates a dual-level Graph Attention Network (GAT) based on global traffic flow and local individual trajectory graph to learn trajectory embeddings: (i) Weighted-directional global traffic flow graph and Weighted-Directional GAT to learn the global-level trajectory embedding by aggregating the neighbors’ embeddings based on the spatial transitional relationships among road intersections over all vehicles’ trajectories, considering the preference of current trajectory; and (ii) Local individual trajectory graph attention network to learn the local-level trajectory embedding by modeling the transitions within the current trajectory at each intersection. When incorporating the trajectory embeddings into a transformer model for future trajectory prediction, a road network topology-aware loss function is designed to improve accuracy. Extensive experiments conducted on three city-scale real-world taxi trajectory datasets demonstrate that HGT-RN significantly outperforms existing baseline models. The code is available at https://github.com/zjy9826/HGT-RN.
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have