HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

GMAN: A Graph Multi-Attention Network for Traffic Prediction

Chuanpan Zheng Xiaoliang Fan Cheng Wang Jianzhong Qi

GMAN: A Graph Multi-Attention Network for Traffic Prediction

Abstract

Long-term traffic prediction is highly challenging due to the complexity of traffic systems and the constantly changing nature of many impacting factors. In this paper, we focus on the spatio-temporal factors, and propose a graph multi-attention network (GMAN) to predict traffic conditions for time steps ahead at different locations on a road network graph. GMAN adapts an encoder-decoder architecture, where both the encoder and the decoder consist of multiple spatio-temporal attention blocks to model the impact of the spatio-temporal factors on traffic conditions. The encoder encodes the input traffic features and the decoder predicts the output sequence. Between the encoder and the decoder, a transform attention layer is applied to convert the encoded traffic features to generate the sequence representations of future time steps as the input of the decoder. The transform attention mechanism models the direct relationships between historical and future time steps that helps to alleviate the error propagation problem among prediction time steps. Experimental results on two real-world traffic prediction tasks (i.e., traffic volume prediction and traffic speed prediction) demonstrate the superiority of GMAN. In particular, in the 1 hour ahead prediction, GMAN outperforms state-of-the-art methods by up to 4% improvement in MAE measure. The source code is available at https://github.com/zhengchuanpan/GMAN.

Code Repositories

VincLee8188/GMAN-PyTorch
pytorch
Mentioned in GitHub
zhengchuanpan/GMAN
Official
pytorch
Mentioned in GitHub
tijsmaas/TrafficPrediction
tf
Mentioned in GitHub
SmallNana/GMAN_pytorch
pytorch
Mentioned in GitHub
VincLee8188/Gman_Ptorch_version
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-dehazing-on-kittiGMAN
PSNR: 24.64
traffic-prediction-on-ne-bjGMAN
12 steps MAE: 4.80
traffic-prediction-on-pems-bayGMAN
MAE @ 12 step: 1.92
RMSE : 4.49

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp