MA2GCN: Multi Adjacency relationship Attention Graph Convolutional Networks for Traffic Prediction using Trajectory data

Zhengke Sun, Yuliang Ma
1/16/2024
cs.LGcs.AI

Official code: zachysun/Taxi_Traffic_Benchmark (14 stars, last commit 2025-03-16).

Abstract

The problem of traffic congestion not only causes a large amount of economic losses, but also seriously endangers the urban environment. Predicting traffic congestion has important practical significance. So far, most studies have been based on historical data from sensors placed on different roads to predict future traffic flow and speed, to analyze the traffic congestion conditions of a certain road segment. However, due to the fixed position of sensors, it is difficult to mine new information. On the other hand, vehicle trajectory data is more flexible and can extract traffic information as needed. Therefore, we proposed a new traffic congestion prediction model - Multi Adjacency relationship Attention Graph Convolutional Networks(MA2GCN). This model transformed vehicle trajectory data into graph structured data in grid form, and proposed a vehicle entry and exit matrix based on the mobility between different grids. At the same time, in order to improve the performance of the model, this paper also built a new adaptive adjacency matrix generation method and adjacency matrix attention module. This model mainly used gated temporal convolution and graph convolution to extract temporal and spatial information, respectively. Compared with multiple baselines, our model achieved the best performance on Shanghai taxi GPS trajectory dataset. The code is available at https://github.com/zachysun/Taxi_Traffic_Benchmark.

View on arXivView PDF

Code Implementations(1)

Taxi Traffic Speed/Flow Prediction Benchmark(based on Shanghai Taxi Dataset)

145PythonJun 13, 20231 years ago

Similar Papers

Cite this paper

@article{sun2024magcn,
  title  = {MA2GCN: Multi Adjacency relationship Attention Graph Convolutional Networks for Traffic Prediction using Trajectory data},
  author = {Zhengke Sun and Yuliang Ma},
  year   = {2024},
  eprint = {2401.08727},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.08727v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.08727.svg)](https://codeofpaper.com/paper/2401.08727)

Discussion