Adaptive Spatio-Temporal Self-Supervised Traffic Flow Prediction Method Based on Contrastive Learning

Accurate traffic flow forecasting is essential for the stable operation and efficient scheduling of intelligent transportation systems. The key lies in identifying the complex spatio-temporal dependencies within the road network structure. In the real world, traffic data are often noisy and incomplete due to sensor failures, communication interruptions, and other unexpected disturbances. To overcome these challenges, this paper proposes an adaptive spatio-temporal self-supervised traffic flow forecasting method based on contrastive learning (ASTSS-CL). At the graph level, structural perturbations are generated by combining node centrality with nonlinear probabilities, while a learnable temporal-periodic parameter matrix and an attention-based fusion mechanism are introduced to adaptively optimize adjacency relationships. At the temporal level, complementary augmentations are designed in both the time and frequency domains. Dynamic interpolation captures continuous traffic variations, while wavelet decomposition and node-adaptive frequency masking balance low-frequency trends and high-frequency details; random masking further improves robustness to missing observations and disturbances. In addition, spatial heterogeneity learning and contrastive consistency learning are jointly employed to enhance representation quality. Experiments on the PeMS04 and PeMS08 datasets show that ASTSS-CL achieves MAE, RMSE, and MAPE values of 17.95, 28.86, and 12.07% on PeMS04, and 13.78, 22.05, and 9.46% on PeMS08, respectively, outperforming the best-performing baseline. These results validate the effectiveness of the proposed method and demonstrate its potential to support traffic management and the operation of intelligent transportation systems.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-05-22
DOI
https://doi.org/10.3390/electronics15112238
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Spatio-Temporal Self-Supervised Traffic Flow Prediction Method Based on Contrastive Learning

Huahong Ma, Kaikai Deng, Xiaoying Lu, Honghai Wu et al.
Electronics
Traffic Prediction and Management Techniques
article

Adaptive Spatio-Temporal Self-Supervised Traffic Flow Prediction Method Based on Contrastive Learning

Huahong Ma, Kaikai Deng, Xiaoying Lu, Honghai Wu, Fusheng Wang, Bing Li, Ling Xing, Jianping Gao
article en

Abstract

Accurate traffic flow forecasting is essential for the stable operation and efficient scheduling of intelligent transportation systems. The key lies in identifying the complex spatio-temporal dependencies within the road network structure. In the real world, traffic data are often noisy and incomplete due to sensor failures, communication interruptions, and other unexpected disturbances. To overcome these challenges, this paper proposes an adaptive spatio-temporal self-supervised traffic flow forecasting method based on contrastive learning (ASTSS-CL). At the graph level, structural perturbations are generated by combining node centrality with nonlinear probabilities, while a learnable temporal-periodic parameter matrix and an attention-based fusion mechanism are introduced to adaptively optimize adjacency relationships. At the temporal level, complementary augmentations are designed in both the time and frequency domains. Dynamic interpolation captures continuous traffic variations, while wavelet decomposition and node-adaptive frequency masking balance low-frequency trends and high-frequency details; random masking further improves robustness to missing observations and disturbances. In addition, spatial heterogeneity learning and contrastive consistency learning are jointly employed to enhance representation quality. Experiments on the PeMS04 and PeMS08 datasets show that ASTSS-CL achieves MAE, RMSE, and MAPE values of 17.95, 28.86, and 12.07% on PeMS04, and 13.78, 22.05, and 9.46% on PeMS08, respectively, outperforming the best-performing baseline. These results validate the effectiveness of the proposed method and demonstrate its potential to support traffic management and the operation of intelligent transportation systems.

ElectronicsVol. 15(11)
Henan University of Science and Technology (CN)
China Postdoctoral Science Foundation, Natural Science Foundation of Henan Province
Openalex Percentile: Top 7%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.