# Multi-Class Traffic Assignment using Multi-View Heterogeneous Graph Attention Networks

arXiv: https://arxiv.org/abs/2501.09117 · HTML: https://mlsanity.com/paper/2501.09117/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- Builds on 11 of its 38 references that are in the map.
- First posted on arXiv 15 Jan 2025.

## Builds on (most cited first, 11 of 11)

- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Graph Attention Networks](https://mlsanity.com/paper/1710.10903/) (2017)
- [Inductive Representation Learning on Large Graphs](https://mlsanity.com/paper/1706.02216/) (2017)
- [Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting](https://mlsanity.com/paper/1709.04875/) (2017)
- [Heterogeneous Graph Attention Network](https://mlsanity.com/paper/1903.07293/) (2019)
- [MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding](https://mlsanity.com/paper/2002.01680/) (2020)
- [Missing Data Reconstruction in Remote Sensing image with a Unified Spatial-Temporal-Spectral Deep Convolutional Neural Network](https://mlsanity.com/paper/1802.08369/) (2018)
- [End-to-End Heterogeneous Graph Neural Networks for Traffic Assignment](https://mlsanity.com/paper/2310.13193/) (2023)
- [Data-Driven Traffic Assignment: A Novel Approach for Learning Traffic Flow Patterns Using a Graph Convolutional Neural Network](https://mlsanity.com/paper/2202.10508/) (2022)
- [Graph Neural Network Surrogate for Seismic Reliability Analysis of Highway Bridge Systems](https://mlsanity.com/paper/2210.06404/) (2022)
- [Heterogeneous Graph Sequence Neural Networks for Dynamic Traffic Assignment](https://mlsanity.com/paper/2408.04131/) (2024)

## Built on by (most cited first, 4 of 4)

- [Scalable and Reliable Multi-agent Reinforcement Learning for Traffic Assignment](https://mlsanity.com/paper/2506.17029/) (2025)
- [From Optimization to Prediction: Transformer-Based Path-Flow Estimation to the Traffic Assignment Problem](https://mlsanity.com/paper/2510.19889/) (2025)
- [Metalearning traffic assignment for network disruptions with graph convolutional neural networks](https://mlsanity.com/paper/2603.06763/) (2026)
- [GUIDED Network-Agnostic Feature Initialization for Spatial Transferability in GNN-based Models](https://mlsanity.com/paper/2607.19270/) (2026)

## Abstract (arXiv)

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.
