Skip to main navigation Skip to search Skip to main content

M2STFormer: A Mixture-of-Experts Multi-level Spatio-Temporal Transformer for Traffic Flow Prediction

  • Yu Fan
  • , Yaopu Zhang
  • , Xun Zhou*
  • *Corresponding author for this work
  • Harbin Institute of Technology Shenzhen
  • Pengcheng Laboratory
  • Shenzhen Loop Area Institute

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Traffic flow prediction is a fundamental task in intelligent transportation systems. A key challenge lies in effectively capturing the complex and dynamic spatio-temporal dependencies in traffic data. In recent years, Graph Neural Networks (GNN) and Transformer-based models have shown great promise in addressing this challenge. However, the inherent spatio-temporal heterogeneity of traffic flow data remains a significant obstacle. Existing models often struggle to model the rapidly changing spatio-temporal dependencies among road segments and differentiate the importance of extracted features at multiple spatial and temporal scales. To this end, we propose M2STFormer, a Mixture-of-Experts Multi-Level Spatio-Temporal Transformer (M2STFormer) for traffic flow prediction. Our model incorporates a Mixture-of-Experts (MoE) module to learn unique patterns of each spatio-temporal location, and a hierarchical selection mechanism to adaptively fuse multi-level spatio-temporal features. We validate the effectiveness of M2STFormer through extensive experiments on two public datasets and two newly collected real-world datasets. The results show that our method achieves state-of-the-art performance across multiple datasets compared to single-stage baselines. Furthermore, while greatly improving computational efficiency, our approach matches or surpasses the performance of representative two-stage pretraining methods on several key metrics.

Original languageEnglish
Title of host publicationBig Data - 13th CCF Conference, BigData 2025, Proceedings
EditorsKeqiu Li, Hui Xiong, Xiaofei Zhu, Xueli Liu, Dawei Cheng
PublisherSpringer Science and Business Media Deutschland GmbH
Pages382-398
Number of pages17
ISBN (Print)9789819584468
DOIs
StatePublished - 2026
Externally publishedYes
Event13th CCF BigData Conference, CCF BigData 2025 - Tianjin, China
Duration: 12 Sep 202514 Sep 2025

Publication series

NameCommunications in Computer and Information Science
Volume2728 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference13th CCF BigData Conference, CCF BigData 2025
Country/TerritoryChina
CityTianjin
Period12/09/2514/09/25

Keywords

  • Data mining
  • Graph Neural Network
  • Spatio-Temporal dependencies
  • Traffic flow forecasting

Fingerprint

Dive into the research topics of 'M2STFormer: A Mixture-of-Experts Multi-level Spatio-Temporal Transformer for Traffic Flow Prediction'. Together they form a unique fingerprint.

Cite this