Proceedings

ASTPKEFormer: Adaptive Spatiotemporal Prior Knowledge Embedding-Induced Transformers for Traffic Data Forecasting

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3312-3320.

https://doi.org/10.24963/ijcai.2026/368

Abstract

Traffic forecasting is fundamentally challenging due to the complex and dynamic spatiotemporal dependencies inherent in road networks. Although existing prediction models are able to achieve certain results on this task, existing Transformer-based models usually rely on simple embedding strategies and do not fully utilize the prior knowledge embedded in traffic patterns and network topology. To address these limitations, we propose ASTPKEformer, a prior knowledge-guided Transformer framework for traffic prediction. Based on the pure Transformer spatiotemporal self-attention mechanism, this model first uses a multi-scale temporal channel alignment module to generate discriminative feature embeddings. Then, it incorporates temporal prior embeddings and spatial graph structure prior embeddings to provide learning guidance for the model in both temporal and spatial dimensions. To further enhance the representation capability, an embedding cross-fusion mechanism is introduced to strengthen the interaction between the previous embeddings and the adaptive spatiotemporal embedding. Extensive experiments on six real-world traffic datasets demonstrate that ASTPKEformer consistently outperforms state-of-the-art (SOTA) baselines, validating its effectiveness and strong generalization ability.

  1. [An et al., 2025] Yang An, Zhibin Li, Xiaoyu Li, Wei Liu, Xinghao Yang, Haoliang Sun, Meng Chen, Yu Zheng, and Yongshun Gong. Spatio-temporal multivariate probabilis- tic modeling for traffic prediction. IEEE Transactions on Knowledge and Data Engineering, 2025.
  2. [Bai et al., 2020] Lei Bai, Lina Yao, Can Li, Xianzhi Wang, and Can Wang. Adaptive graph convolutional recurrent network for traffic forecasting. Advances in Neural Infor- mation Processing Systems, 33:17804-17815, 2020.
  3. [Cao et al., 2025] Lingxiao Cao, Bin Wang, Guiyuan Jiang, Yanwei Yu, and Junyu Dong. Spatiotemporal-aware trend- seasonality decomposition network for traffic flow fore- casting. In Proceedings of the AAAI Conference on Artifi- cial Intelligence, volume 39, pages 11463-11471, 2025.
  4. [Chen et al., 2025a] Jing Chen, Shixiang Pan, Weimin Peng, and Wenqiang Xu. Bilinear spatiotemporal fusion net- work: An efficient approach for traffic flow prediction. Neural Networks, 187:107382, 2025.
  5. [Chen et al., 2025b] Jing Chen, Haocheng Ye, Zhian Ying, Yuntao Sun, and Wenqiang Xu. Dynamic trend fusion module for traffic flow prediction. Applied Soft Comput- ing, 174:112979, 2025.
  6. [Diao et al., 2019] Zulong Diao, Xin Wang, Dafang Zhang, Yingru Liu, Kun Xie, and Shaoyao He. Dynamic spatial- temporal graph convolutional neural networks for traffic forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 890-897, 2019.
  7. [Dong et al., 2024] Zheng Dong, Renhe Jiang, Haotian Gao, Hangchen Liu, Jinliang Deng, Qingsong Wen, and Xuan Song. Heterogeneity-informed meta-parameter learning for spatiotemporal time series forecasting. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Dis- covery and Data Mining, pages 631-641, 2024.
  8. [Fang et al., 2019] Shen Fang, Qi Zhang, Gaofeng Meng, Shiming Xiang, and Chunhong Pan. Gstnet: global spatial-temporal network for traffic flow prediction. In Proceedings of the 28th International Joint Conference on Artificial Intelligence, pages 2286-2293, 2019. IJCAI
  9. [Fang et al., 2023] Yuchen Fang, Yanjun Qin, Haiyong Luo, Fang Zhao, Bingbing Xu, Liang Zeng, and Chenxing Wang. When spatio-temporal meet wavelets: Disentan- gled traffic forecasting via efficient spectral graph attention networks. In 2023 IEEE 39th International Conference on Data Engineering (ICDE), pages 517-529. IEEE, 2023.
  10. [Fang et al., 2025] Yuchen Fang, Yuxuan Liang, Bo Hui, Zezhi Shao, Liwei Deng, Xu Liu, Xinke Jiang, and Kai Zheng. Efficient large-scale traffic forecasting with trans- formers: A spatial data management perspective. In Pro- ceedings of the 31st ACM SIGKDD Conference on Knowl- edge Discovery and Data Mining V. 1, pages 307-317, 2025.
  11. [Fang et al., 2026] Yuchen Fang, Hao Miao, Yuxuan Liang, Liwei Deng, Yue Cui, Ximu Zeng, Yuyang Xia, Yan Zhao, Torben Bach Pedersen, Christian S Jensen, et al. Unrav- eling spatio-temporal foundation models via the pipeline lens: A comprehensive review. IEEE Transactions on Knowledge and Data Engineering, 2026.
  12. [Geng et al., 2024] Zili Geng, Jie Xu, Rongsen Wu, Chang- ming Zhao, Jin Wang, Yunji Li, and Chenlin Zhang. Stgaformer: Spatial-temporal gated attention transformer based graph neural network for traffic flow forecasting. In- formation Fusion, 105:102228, 2024.
  13. [Guo et al., 2021] Shengnan Guo, Youfang Lin, Huaiyu Wan, Xiucheng Li, and Gao Cong. Learning dynamics and heterogeneity of spatial-temporal graph data for traffic forecasting. IEEE Transactions on Knowledge and Data Engineering, 34(11):5415-5428, 2021.
  14. [Guo et al., 2025] Feng Guo, Xunhuang Wang, Lyuchao Liao, Lei Zou, Tianwei Zhu, and Fumin Zou. Sthdformer: A novel dual-branch transformer for traffic flow forecast- ing. Authorea Preprints, 2025.
  15. [Jiang et al., 2023a] Jiawei Jiang, Chengkai Han, Wayne Xin Zhao, and Jingyuan Wang. Pdformer: Propagation delay- aware dynamic long-range transformer for traffic flow pre- diction. In Proceedings of the AAAI Conference on Artifi- cial Intelligence, volume 37, pages 4365-4373, 2023.
  16. [Jiang et al., 2023b] Renhe Jiang, Zhaonan Wang, Jiawei Yong, Puneet Jeph, Quanjun Chen, Yasumasa Kobayashi, Xuan Song, Shintaro Fukushima, and Toyotaro Suzumura. Spatio-temporal meta-graph learning for traffic forecast- ing. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 8078-8086, 2023.
  17. [Jin et al., 2023] Di Jin, Jiayi Shi, Rui Wang, Yawen Li, Yux- iao Huang, and Yu-Bin Yang. Trafformer: Unify time and space in traffic prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 8114-8122, 2023.
  18. [Jin et al., 2025] Di Jin, Cuiying Huo, Jiayi Shi, Dongxiao He, Jianguo Wei, and Philip S Yu. Llgformer: Learnable long-range graph transformer for traffic flow prediction. In Proceedings of the ACM on Web Conference 2025, pages 2860-2871, 2025.
  19. [Kong et al., 2023] Xiangjie Kong, Wenfeng Zhou, Guo- jiang Shen, Wenyi Zhang, Nali Liu, and Yao Yang. Dy- namic graph convolutional recurrent imputation network for spatiotemporal traffic missing data. Knowledge-Based Systems, 261:110188, 2023.
  20. [Li et al., 2017] Yaguang Li, Rose Yu, Cyrus Shahabi, and Yan Liu. Diffusion convolutional recurrent neural net- work: Data-driven traffic forecasting. arXiv preprint arXiv:1707.01926, 2017.
  21. [Li et al., 2023] Fuxian Li, Jie Feng, Huan Yan, Guangyin Jin, Fan Yang, Funing Sun, Depeng Jin, and Yong Li. Dynamic graph convolutional recurrent network for traffic prediction: Benchmark and solution. ACM Transactions on Knowledge Discovery from Data, 17(1):1-21, 2023.
  22. [Liu et al., 2023] Hangchen Liu, Zheng Dong, Renhe Jiang, Jiewen Deng, Jinliang Deng, Quanjun Chen, and Xuan Song. Spatio-temporal adaptive embedding makes vanilla transformer sota for traffic forecasting. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pages 4125-4129, 2023.
  23. [Luo et al., 2023a] Xunlian Luo, Chunjiang Zhu, Detian Zhang, and Qing Li. Dynamic graph convolutional net- work with attention fusion for traffic flow prediction. arXiv preprint arXiv:2302.12598, 2023.
  24. [Luo et al., 2023b] Xunlian Luo, Chunjiang Zhu, Detian Zhang, and Qing Li. Stg4traffic: A survey and bench- mark of spatial-temporal graph neural networks for traffic prediction. CoRR, 2023.
  25. [Lv et al., 2020] Mingqi Lv, Zhaoxiong Hong, Ling Chen, Tieming Chen, Tiantian Zhu, and Shouling Ji. Temporal multi-graph convolutional network for traffic flow predic- tion. IEEE Transactions on Intelligent Transportation Sys- tems, 22(6):3337-3348, 2020.
  26. [Ma et al., 2024] Ying Ma, Haijie Lou, Ming Yan, Fanghui Sun, and Guoqi Li. Spatio-temporal fusion graph convo- lutional network for traffic flow forecasting. Information Fusion, 104:102196, 2024.
  27. [Maaten and Hinton, 2008] Laurens van der Maaten and Ge- offrey Hinton. Visualizing data using t-sne. Journal of Machine Learning Research, 9(Nov):2579-2605, 2008.
  28. [Pan et al., 2020] Zheyi Pan, Wentao Zhang, Yuxuan Liang, Weinan Zhang, Yong Yu, Junbo Zhang, and Yu Zheng. Spatio-temporal meta learning for urban traffic prediction. IEEE Transactions on Knowledge and Data Engineering, 34(3):1462-1476, 2020.
  29. [Shao et al., 2022a] Zezhi Shao, Zhao Zhang, Fei Wang, Wei Wei, and Yongjun Xu. Spatial-temporal identity: A simple yet effective baseline for multivariate time series forecast- ing. In Proceedings of the 31st ACM International Con- ference on Information & Knowledge Management, pages 4454-4458, 2022.
  30. [Shao et al., 2022b] Zezhi Shao, Zhao Zhang, Wei Wei, Fei Wang, Yongjun Xu, Xin Cao, and Christian S Jensen. De- coupled dynamic spatial-temporal graph neural network for traffic forecasting. Proceedings of the VLDB Endow- ment, 15(11):2733-2746, 2022.
  31. [Song et al., 2020] Chao Song, Youfang Lin, Shengnan Guo, and Huaiyu Wan. Spatial-temporal synchronous graph convolutional networks: A new framework for spatial- temporal network data forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 914-921, 2020.
  32. [Wang et al., 2020] Xiaoyang Wang, Yao Ma, Yiqi Wang, Wei Jin, Xin Wang, Jiliang Tang, Caiyan Jia, and Jian Yu. Traffic flow prediction via spatial temporal graph neu- ral network. In Proceedings of the Web Conference 2020, pages 1082-1092, 2020.
  33. [Wang et al., 2024] Ruidong Wang, Liang Xi, Jinlin Ye, Fengbin Zhang, Xu Yu, and Lingwei Xu. Adaptive spatio- temporal relation based transformer for traffic flow pre- diction. IEEE Transactions on Vehicular Technology, 74(2):2220-2230, 2024.
  34. [Wu et al., 2019] Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, and Chengqi Zhang. Graph wavenet for deep spatial-temporal graph modeling. In Proceedings of the 28th International Joint Conference on Artificial Intelli- gence, pages 1907-1913, 2019. IJCAI
  35. [Yu et al., 2018] Bing Yu, Haoteng Yin, and Zhanxing Zhu. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. In Proceed- ings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, pages 3634-3640. International Joint Conferences on Artificial Intelligence Organization, 2018. IJCAI
  36. [Zeng et al., 2023] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series fore- casting? In Proceedings of the AAAI Conference on Arti- ficial Intelligence, volume 37, pages 11121-11128, 2023.
  37. [Zhang et al., 2020] Qi Zhang, Jianlong Chang, Gaofeng Meng, Shiming Xiang, and Chunhong Pan. Spatio- temporal graph structure learning for traffic forecasting. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 34, pages 1177-1185, 2020.
  38. [Zhang et al., 2025] Xiaomei Zhang, Ziqin Jiang, and Ping Lou. Triple dynamic graph convolutional recurrent net- work for traffic prediction. IEEE Transactions on Intelli- gent Transportation Systems, 2025.
  39. [Zhao et al., 2019] Ling Zhao, Yujiao Song, Chao Zhang, Yu Liu, Pu Wang, Tao Lin, Min Deng, and Haifeng Li. T-gcn: A temporal graph convolutional network for traffic prediction. IEEE Transactions on Intelligent Transporta- tion Systems, 21(9):3848-3858, 2019.
  40. [Zhao et al., 2024] Zhenzhen Zhao, Guojiang Shen, Lei Wang, and Xiangjie Kong. Graph spatial-temporal trans- former network for traffic prediction. Big Data Research, 36:100427, 2024.
  41. [Zheng et al., 2020] Chuanpan Zheng, Xiaoliang Fan, Cheng Wang, and Jianzhong Qi. Gman: A graph multi- attention network for traffic prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 1234-1241, 2020.
  42. [Zhou et al., 2025] Wenfeng Zhou, Guojiang Shen, Zhen- zhen Zhao, Zhaolin Deng, Tao Tang, Xiangjie Kong, Amr Tolba, and Osama Alfarraj. A transformer-based approach for traffic prediction with fusion spatiotemporal attention. Knowledge-Based Systems, page 114466, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards