Computer Science ›› 2026, Vol. 53 ›› Issue (7): 205-212.doi: 10.11896/jsjkx.250600133

• Database & Big Data & Data Science • Previous Articles     Next Articles

Traffic Flow Forecasting Based on Dynamic Graph Convolution and Hypergraph Learning

ZHAO Xingbo1, LIAN Defu2   

  1. 1 School of Computer Science,University of Science and Technology of China,Hefei 230000,China
    2 State Key Laboratory of Cognitive Intelligence,University of Science and Technology of China,Hefei 230000,China
  • Received:2025-06-20 Revised:2025-08-11 Online:2026-07-15 Published:2026-07-10
  • About author:ZHAO Xingbo,born in 1999,postgra-duate.His main research interest is spatio-temporal data mining.
    LIAN Defu,born in 1985,professor,Ph.D supervisor.His main research interests include retrieval-augmented large models,large model agents,trustworthy artificial intelligence,recommender systems,and time-series large models.

Abstract: The traffic flow prediction problem aims to accurately forecast future traffic conditions based on historical observation data.In order to better model the complex spatiotemporal relationships in the traffic network,it is essential to leverage various correlation patterns embedded in the data,including pairwise correlations and higher-order correlations.However,mining these correlation patterns from traffic spatiotemporal data poses significant challenges.Unlike many other domains where prior know-ledge can be used to construct effective correlation structures,traffic data often lacks clear predefined relationships.The dynamic nature of traffic networks further complicates the task,as correlation patterns can change over time due to factors such as weather conditions,accidents,or special events.Therefore,developing methods that can automatically discover and adapt to these changing patterns is crucial for improving the accuracy of traffic flow predictions.In this paper,a novel approach is proposed to address these challenges by utilizing both graph and hypergraph structures.In the pairwise correlation modeling,node embeddings are utilized to infer the graph structure.To better capture the dynamic changes in correlations within the data,a dynamic graph structure learning method is designed to capture correlation patterns from the dynamically changing data.In the higher-order correlation modeling,matrix optimization is employed to directly learn the hypergraph structure,and a contrastive learning loss function is introduced to effectively capture global dependencies.In the temporal dimension,a temporal Transformer architecture is adoptedto model the time-dependent aspects of traffic flow.The self-attention mechanism,a key component of the Transformer,is utilized to achieve multi-scale modeling of temporal dependencies.This allows the model to consider both short-term and long-term patterns in the data,which are essential for accurate traffic flow prediction.Experiments on multiple commonly used traffic flow datasets show that the proposed model can effectively model the complex spatiotemporal relationships in the traffic network,and its prediction accuracy is significantly improved compared to various baseline models.

Key words: Traffic flow forecasting, Dynamic graph convolution, Hypergraph, Spatio-temporal embedding, Graph neural network

CLC Number: 

  • TP183
[1]SIAMI-NAMINI S,TAVAKOLI N,NAMIN A S.A comparison of ARIMA and LSTM in forecasting time series[C]//2018 17th IEEE International Conference on Machine Learning and Applications(ICMLA).IEEE,2018:1394-1401.
[2]JIANG R,YIN D,WANG Z,et al.Dl-traff:Survey and benchmark of deep learning models for urban traffic prediction[C]//Proceedings of the 30th ACM International Conference on Information & Knowledge Management.2021:4515-4525.
[3]BUI K H N,CHO J,YI H.Spatial-temporal graph neural network for traffic forecasting:An overview and open research issues[J].Applied Intelligence,2022,52(3):2763-2774.
[4]TEDJOPURNOMO D A,BAO Z,ZHENG B,et al.A survey on modern deep neural network for traffic prediction:Trends,methods and challenges[J].IEEE Transactions on Knowledge and Data Engineering,2020,34(4):1544-1561.
[5]YUAN H,LI G.A survey of traffic prediction:from spatio-temporal data to intelligent transportation[J].Data Science and Engineering,2021,6(1):63-85.
[6]CUI Z,HENRICKSON K,KE R,et al.Traffic graph convolutional recurrent neural network:A deep learning framework for network-scale traffic learning and forecasting[J].IEEE Tran-sactions on Intelligent Transportation Systems,2019,21(11):4883-4894.
[7]ZHAO Z,CHEN W,WU X,et al.LSTM network:a deep learning approach for short-term traffic forecast[J].IET intelligent transport systems,2017,11(2):68-75.
[8]YU B,YIN H,ZHU Z.Spatio-temporal graph convolutional networks:A deep learning framework for traffic forecasting[J].arXiv:1709.04875,2017.
[9]LI Y,YU R,SHAHABI C,et al.Diffusion convolutional recurrent neural network:Data-driven traffic forecasting[J].arXiv:1707.01926,2017.
[10]WU Z,PAN S,LONG G,et al.Graph wavenet for deep spatial-temporal graph modeling[J].arXiv:1906.00121,2019.
[11]GUO S,LIN Y,FENG N,et al.Attention based spatial-temporal graph convolutional networks for traffic flow forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2019:922-929.
[12]SONG C,LIN Y,GUO S,et al.Spatial-temporal synchronous graph convolutional networks:A new framework for spatial-temporal network data forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:914-921.
[13]WU Z,PAN S,LONG G,et al.Connecting the dots:Multivariate time series forecasting with graph neural networks[C]//Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.2020:753-763.
[14]LAN S,MA Y,HUANG W,et al.Dstagnn:Dynamic spatial-temporal aware graph neural network for traffic flow forecasting[C]//International Conference on Machine Learning.PMLR,2022:11906-11917.
[15]BATTAGLIA P W,HAMRICK J B,BAPST V,et al.Relational inductive biases,deep learning,and graph networks[J].arXiv:1806.01261,2018.
[16]BRETTO A.Hypergraph theory[M].Cham:Springer,2013:209-216.
[17]YAN X,SONG T,JIAO Y,et al.Spatio-temporal hypergraph learning for next POI recommendation[C]//Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval.2023:403-412.
[18]ZHOU D,HUANG J,SCHÖLKOPF B.Learning with hypergraphs:Clustering,classification,and embedding[C]//Advances in Neural Information Processing Systems 19:Proceedings of the 2006 Conference.2006:1601-1608.
[19]FENG Y,YOU H,ZHANG Z,et al.Hypergraph neural networks[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2019:3558-3565.
[20]ZHAO Y,LUO X,JU W,et al.Dynamic hypergraph structure learning for traffic flow forecasting[C]//2023 IEEE 39th International Conference on Data Engineering(ICDE).IEEE,2023:2303-2316.
[21]YADATI N,NIMISHAKAVI M,YADAV P,et al.Hypergcn:A new method for training graph convolutional networks on hypergraphs[C]//NeurIPS 2019.2019.
[22]JIANG J,WEI Y,FENG Y,et al.Dynamic hypergraph neural networks[C]//IJCAI.2019:2635-2641.
[23]CAO D,WANG Y,DUAN J,et al.Spectral temporal graph neural network for multivariate time-series forecasting[J].Advances in Neural Information Processing Systems,2020,33:17766-17778.
[24]LU B,GAN X,JIN H,et al.Spatiotemporal adaptive gatedgraph convolution network for urban traffic flow forecasting[C]//Proceedings of the 29th ACM International Conference on Information & Knowledge Management.2020:1025-1034.
[25]DIAO Z,WANG X,ZHANG D,et al.Dynamic spatial-temporal graph convolutional neural networks for traffic forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2019:890-897.
[26]GUO K,HU Y,SUN Y,et al.Hierarchical graph convolutionnetwork for traffic forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021:151-159.
[27]LI M,ZHU Z.Spatial-temporal fusion graph neural networksfor traffic flow forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021:4189-4196.
[28]CIRSTEA R G,YANG B,GUO C,et al.Towards spatio-temporal aware traffic time series forecasting[C]//2022 IEEE 38th International Conference on Data Engineering(ICDE).IEEE,2022:2900-2913.
[29]SHAO Z,ZHANG Z,WANG F,et al.Spatial-temporal identity:A simple yet effective baseline for multivariate time series forecasting[C]//Proceedings of the 31st ACM International Confe-rence on Information & Knowledge Management.2022:4454-4458.
[30]SHAO Z,ZHANG Z,WEI W,et al.Decoupled dynamic spatial-temporal graph neural network for traffic forecasting[J].arXiv:2206.09112,2022.
[31]BAI L,YAO L,LI C,et al.Adaptive graph convolutional recurrent network for traffic forecasting[J].Advances in neural information processing systems,2020,33:17804-17815.
[32]LI Z,HUANG C,XIA L,et al.Spatial-temporal hypergraphself-supervised learning for crime prediction[C]//2022 IEEE 38th International Conference on Data Engineering(ICDE).IEEE,2022:2984-2996.
[33]VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[C]//Proceedings of the 31st International Confe-rence on Neural Information Processing Systems.2017:6000-6010.
[34]XU M,DAI W,LIU C,et al.Spatial-temporal transformer networks for traffic flow forecasting[J].arXiv:2001.02908,2020.
[35]ZENG A,CHEN M,ZHANG L,et al.Are transformers effective for time series forecasting?[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2023:11121-11128.
[36]ZHOU H,ZHANG S,PENG J,et al.Informer:Beyond efficient transformer for long sequence time-series forecasting[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021:11106-11115.
[37]ZHOU T,MA Z,WEN Q,et al.Fedformer:Frequency enhanced decomposed transformer for long-term series forecasting[C]//International Conference on Machine Learning.PMLR,2022:27268-27286.
[38]ZHENG C,FAN X,WANG C,et al.Gman:A graph multi-at-tention network for traffic prediction[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:1234-1241.
[39]JIANG J,HAN C,ZHAO W X,et al.Pdformer:Propagation delay-aware dynamic long-range transformer for traffic flow prediction[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2023:4365-4373.
[40]SUN Y,JIANG X,HU Y,et al.Dual dynamic spatial-temporal graph convolution network for traffic prediction[J].IEEE Transactions on Intelligent Transportation Systems,2022,23(12):23680-23693.
[41]HUANG Y,XIAO N.Self-Supervised Masked Hypergraph Autoencoders for Spatio-Temporal Forecasting[C]//2024 International Joint Conference on Neural Networks(IJCNN).IEEE,2024:1-8.
[42]LONG B,ZHU W,XIAO J.ST-RetNet:A Long-Term Spatial-Temporal Traffic Flow Prediction Method[C]//Chinese Confe-rence on Pattern Recognition and Computer Vision(PRCV).Singapore:Springer Nature Singapore,2024:3-16.
[43]WANG S C,TANG Y.Auto-correlation Attention and Dynami-cs Convolution Based Spatial-temporal Networks for Traffic Forecasting[J].Journal of Chinese Computer Systems,2024,45(6):1418-1425.
[44]ZAHO W Z,YUAN G,ZHANG Y M,et al.Multi-view Fused Spatial-temporal Dynamic GCN for Urban Traffic Flow Prediction[J].Ruan Jian Xue Bao/Journal of Software,2024,35(4):1751-1773.
[1] LI Kaiju, YIN Chenyang, CHENG Zhangtao, LIU Xueting, ZHOU Fan. Causal Subgraph Learning for Cascade Popularity Prediction [J]. Computer Science, 2026, 53(7): 213-221.
[2] WU Kai, SUN Zhe, ZHANG Xu, CAO Yadong, SUN Zhixin. Research on Modeling and Scheduling Methods for Intra-city Delivery Based on Heterogeneous Graph Neural Networks [J]. Computer Science, 2026, 53(7): 242-250.
[3] WANG Jiajun, JIAO Pengfei, ZHANG Xinxun, LI Tianpeng, GAO Mengzhou. Unsupervised Dynamic Graph Change Point Detection Method Based on Variational Graph Auto-encoder [J]. Computer Science, 2026, 53(7): 272-279.
[4] TAI Wenxin, LIU Xueting, WANG Xiaohan, ZHONG Ting, WANG Yong, ZHOU Fan. Trustworthy IP Geolocation Method via Graph Neural Networks and Conformalized Quantile Regression [J]. Computer Science, 2026, 53(7): 308-314.
[5] CHEN Hongfengand ZHAO Zhenzhen. Dual-channel Spatiotemporal Hypergraph Convolutional Network for Traffic Speed Prediction [J]. Computer Science, 2026, 53(6A): 250500107-7.
[6] HAN Zhigeng, FU Chunshuo. Fraud Detection Model Based on Dual-space Heterogeneous Graph Neural Network [J]. Computer Science, 2026, 53(6A): 250600050-6.
[7] SHEN Yajie, WANG Jishu, JIN Kui, ZI Tong, TANG Mingjing. Second-order Multi-channel Directed Graph Convolution for Gene Regulatory Inference [J]. Computer Science, 2026, 53(6A): 250700116-10.
[8] ZHANG Xinliang, LIU Lilong, CHEN Shangheng, CHEN Ziyang, QIAN Shengsheng. Dual-stream Heterogeneous Social Graph for Micro-video Popularity Prediction [J]. Computer Science, 2026, 53(6A): 250800073-8.
[9] ZHANG Zihao, WU Zezhong. Optimization of HAN-based GNN-Transformer Collaborative Contrastive Learning Framework [J]. Computer Science, 2026, 53(6A): 250900103-8.
[10] LI Zhen, ZHANG Yang, LI Zhichao, ZHAN Peng, CHEN Lin. Public Opinion Analysis in Universities Based on GNN Multimodal Fusion [J]. Computer Science, 2026, 53(6): 30-38.
[11] ZHAO Lei, YANG Yulu, YUAN Bo. Personalized Course Recommendation System Based on Knowledge Graph [J]. Computer Science, 2026, 53(6): 93-101.
[12] ZHANG Xin, CHEN Wen. CausalVulGNN:Framework for Software Vulnerability Explanation Based on Causal Inferenceand Graph Neural Networks [J]. Computer Science, 2026, 53(6): 427-436.
[13] SHEN Ao, ZHOU Qingkai, XIA Tian, GAO Ruiling. Span-based Aspect Sentiment Triplet Extraction Based on Multi-view Graph Neural Networks [J]. Computer Science, 2026, 53(5): 319-327.
[14] LIU Meilin, MA Le. Learning Path Recommendation Based on Fusion of Hypergraph Neural Network and Dynamic Knowledge Tracking [J]. Computer Science, 2026, 53(5): 68-78.
[15] WANG Jinghong, LI Pengchao, MI Jusheng, WANG Wei. Multi-channel Graph Kolmogorov-Arnold Network Based on WL Graph Core [J]. Computer Science, 2026, 53(4): 224-234.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!