Shenkai Zhang , Taiyong Li , Yingqi Chen , Jiang Wu , Xiao Yan
{"title":"基于多尺度时空变换的多步城市交通流预测","authors":"Shenkai Zhang , Taiyong Li , Yingqi Chen , Jiang Wu , Xiao Yan","doi":"10.1016/j.engappai.2025.111362","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate citywide traffic flow forecasting is an essential task in intelligent transportation systems. Unlike single-step forecasting, multi-step traffic flow forecasting offers extended insights that support proactive traffic management and resource allocation over longer time horizons. This paper proposes a Multi-Step Multiscale Spatial–Temporal Transformer (MS-MSTformer) for citywide traffic flow forecasting, which leverages a multiscale patch mechanism to capture both local and global spatial dependencies while integrating temporal patterns of closeness, period, and trend. Two novel cross-attention modules, namely Patch-Temporal Cross-Attention (PTCA) and Region-Temporal Cross-Attention (RTCA) are presented. These modules utilize temporal information as the query, with PTCA and RTCA focusing on patches and regions, respectively, to effectively fuse diverse spatio-temporal features. Extensive experiments on the widely used New York City Taxi (NYCTaxi) and New York City Bike (NYCBike) datasets demonstrate the MS-MSTformer’s capability to provide accurate multi-step citywide traffic flow forecasting. Specifically, the proposed model outperforms the baseline models in 11 out of 12 evaluation scenarios. On average, MS-MSTformer improves Root Mean Square Error (RMSE) by 31.13% and Mean Absolute Error (MAE) by 29.22% over the deep learning baselines. In addition, the ablation study demonstrates the contributions of both PTCA and RTCA to the proposed MS-MSTformer.</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"158 ","pages":"Article 111362"},"PeriodicalIF":8.0000,"publicationDate":"2025-06-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Multi-step citywide traffic flow forecasting based on multiscale spatio-temporal transformer\",\"authors\":\"Shenkai Zhang , Taiyong Li , Yingqi Chen , Jiang Wu , Xiao Yan\",\"doi\":\"10.1016/j.engappai.2025.111362\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Accurate citywide traffic flow forecasting is an essential task in intelligent transportation systems. Unlike single-step forecasting, multi-step traffic flow forecasting offers extended insights that support proactive traffic management and resource allocation over longer time horizons. This paper proposes a Multi-Step Multiscale Spatial–Temporal Transformer (MS-MSTformer) for citywide traffic flow forecasting, which leverages a multiscale patch mechanism to capture both local and global spatial dependencies while integrating temporal patterns of closeness, period, and trend. Two novel cross-attention modules, namely Patch-Temporal Cross-Attention (PTCA) and Region-Temporal Cross-Attention (RTCA) are presented. These modules utilize temporal information as the query, with PTCA and RTCA focusing on patches and regions, respectively, to effectively fuse diverse spatio-temporal features. Extensive experiments on the widely used New York City Taxi (NYCTaxi) and New York City Bike (NYCBike) datasets demonstrate the MS-MSTformer’s capability to provide accurate multi-step citywide traffic flow forecasting. Specifically, the proposed model outperforms the baseline models in 11 out of 12 evaluation scenarios. On average, MS-MSTformer improves Root Mean Square Error (RMSE) by 31.13% and Mean Absolute Error (MAE) by 29.22% over the deep learning baselines. In addition, the ablation study demonstrates the contributions of both PTCA and RTCA to the proposed MS-MSTformer.</div></div>\",\"PeriodicalId\":50523,\"journal\":{\"name\":\"Engineering Applications of Artificial Intelligence\",\"volume\":\"158 \",\"pages\":\"Article 111362\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-06-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Engineering Applications of Artificial Intelligence\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0952197625013648\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AUTOMATION & CONTROL SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625013648","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
Multi-step citywide traffic flow forecasting based on multiscale spatio-temporal transformer
Accurate citywide traffic flow forecasting is an essential task in intelligent transportation systems. Unlike single-step forecasting, multi-step traffic flow forecasting offers extended insights that support proactive traffic management and resource allocation over longer time horizons. This paper proposes a Multi-Step Multiscale Spatial–Temporal Transformer (MS-MSTformer) for citywide traffic flow forecasting, which leverages a multiscale patch mechanism to capture both local and global spatial dependencies while integrating temporal patterns of closeness, period, and trend. Two novel cross-attention modules, namely Patch-Temporal Cross-Attention (PTCA) and Region-Temporal Cross-Attention (RTCA) are presented. These modules utilize temporal information as the query, with PTCA and RTCA focusing on patches and regions, respectively, to effectively fuse diverse spatio-temporal features. Extensive experiments on the widely used New York City Taxi (NYCTaxi) and New York City Bike (NYCBike) datasets demonstrate the MS-MSTformer’s capability to provide accurate multi-step citywide traffic flow forecasting. Specifically, the proposed model outperforms the baseline models in 11 out of 12 evaluation scenarios. On average, MS-MSTformer improves Root Mean Square Error (RMSE) by 31.13% and Mean Absolute Error (MAE) by 29.22% over the deep learning baselines. In addition, the ablation study demonstrates the contributions of both PTCA and RTCA to the proposed MS-MSTformer.
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.