Multi-Class Traffic Assignment using Multi-View Heterogeneous Graph Attention Networks
Tong Liu, Hadi Meidani
TL;DR
The paper tackles efficient multi-class traffic assignment on large networks by introducing a multi-view heterogeneous graph attention network (M-HetGAT) that assigns a dedicated view to each vehicle class, includes origin-destination links, and enforces flow conservation as a loss regularizer. The model uses intra- and inter-class attention to capture both within-class and cross-class interactions, and predicts edge-level metrics such as the flow-capacity ratio to obtain link flows and utilization. Through extensive experiments on Sioux Falls, EMA, and Anaheim networks under user-equilibrium and system-optimal scenarios, M-HetGAT outperforms baseline multi-view GNNs in MAE/RMSE, exhibits high correlation with ground truth, and generalizes to altered topologies with robust conservation behavior. The approach provides a scalable surrogate capable of accelerating TAP computations and can be extended to dynamic demand, weather, and other external factors, offering practical benefits for real-time transportation management.
Abstract
Solving traffic assignment problem for large networks is computationally challenging when conventional optimization-based methods are used. In our research, we develop an innovative surrogate model for a traffic assignment when multi-class vehicles are involved. We do so by employing heterogeneous graph neural networks which use a multiple-view graph attention mechanism tailored to different vehicle classes, along with additional links connecting origin-destination pairs. We also integrate the node-based flow conservation law into the loss function. As a result, our model adheres to flow conservation while delivering highly accurate predictions for link flows and utilization ratios. Through numerical experiments conducted on urban transportation networks, we demonstrate that our model surpasses traditional neural network approaches in convergence speed and predictive accuracy in both user equilibrium and system optimal versions of traffic assignment.
