SOTAVerified

Pattern-Matching Dynamic Memory Network for Dual-Mode Traffic Prediction

2024-08-12Code Available1· sign in to hype

Wenchao Weng, Mei Wu, Hanyu Jiang, Wanzeng Kong, Xiangjie Kong, Feng Xia

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In recent years, deep learning has increasingly gained attention in the field of traffic prediction. Existing traffic prediction models often rely on GCNs or attention mechanisms with O(N^2) complexity to dynamically extract traffic node features, which lack efficiency and are not lightweight. Additionally, these models typically only utilize historical data for prediction, without considering the impact of the target information on the prediction. To address these issues, we propose a Pattern-Matching Dynamic Memory Network (PM-DMNet). PM-DMNet employs a novel dynamic memory network to capture traffic pattern features with only O(N) complexity, significantly reducing computational overhead while achieving excellent performance. The PM-DMNet also introduces two prediction methods: Recursive Multi-step Prediction (RMP) and Parallel Multi-step Prediction (PMP), which leverage the time features of the prediction targets to assist in the forecasting process. Furthermore, a transfer attention mechanism is integrated into PMP, transforming historical data features to better align with the predicted target states, thereby capturing trend changes more accurately and reducing errors. Extensive experiments demonstrate the superiority of the proposed model over existing benchmarks. The source codes are available at: https://github.com/wengwenchao123/PM-DMNet.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
PeMS07PM-DMnet(R)MAE@1h19.18Unverified
PeMS07PM-DMNet(P)MAE@1h19.35Unverified
PeMS08PM-DMNet(P)MAE@1h13.55Unverified
PeMS08PM-DMNet(R)MAE@1h13.4Unverified
PeMSD4PM-DMNet(P)12 steps MAE18.34Unverified
PeMSD4PM-DMNet(R)12 steps MAE18.37Unverified
PeMSD7PM-DMNet(P)12 steps MAE19.35Unverified
PeMSD7PM-DMNet(R)12 steps MAE19.18Unverified
PeMSD7(L)PM-DMNet(P)12 steps MAE2.81Unverified
PeMSD7(L)PM-DMNet(R)12 steps MAE2.79Unverified
PeMSD7(M)PM-DMNet(R)12 steps MAE2.6Unverified
PeMSD7(M)PM-DMNet(P)12 steps MAE2.61Unverified
PeMSD8PM-DMNet(P)12 steps MAE13.55Unverified
PeMSD8PM-DMNet(R)12 steps MAE13.4Unverified

Reproductions