A dual-level graph attention network and transformer for enhanced trajectory prediction under road network constraints
Jiayu Zhang,Lucas Guo,Guiling Wang,Jian Yu,Xin Zheng,Yusheng Mei,Boyang Han
DOI: https://doi.org/10.1016/j.eswa.2024.125510
IF: 8.5
2024-10-21
Expert Systems with Applications
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 ( H ierarchical G raph Attention Network and T ransformer Networks for Enhanced Trajectory Prediction under R oad N etwork 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 .
computer science, artificial intelligence,engineering, electrical & electronic,operations research & management science