STAMImputer: Spatio-Temporal Attention MoE for Traffic Data Imputation

Yiming Wang, Hao Peng, Senzhang Wang, Haohua Du, Chunyang Liu +2 more
6/9/2025
14 citations
cs.LGcs.AI
moe

Official code: RingBDStack/STAMImupter (9 stars, Python, last commit 2025-06-27).

Abstract

Traffic data imputation is fundamentally important to support various applications in intelligent transportation systems such as traffic flow prediction. However, existing time-to-space sequential methods often fail to effectively extract features in block-wise missing data scenarios.

Show full abstract

Meanwhile, the static graph structure for spatial feature propagation significantly constrains the models flexibility in handling the distribution shift issue for the nonstationary traffic data. To address these issues, this paper proposes a SpatioTemporal Attention Mixture of experts network named STAMImputer for traffic data imputation. Specifically, we introduce a Mixture of Experts (MoE) framework to capture latent spatio-temporal features and their influence weights, effectively imputing block missing. A novel Low-rank guided Sampling Graph ATtention (LrSGAT) mechanism is designed to dynamically balance the local and global correlations across road networks. The sampled attention vectors are utilized to generate dynamic graphs that capture real-time spatial correlations. Extensive experiments are conducted on four traffic datasets for evaluation. The result shows STAMImputer achieves significantly performance improvement compared with existing SOTA approaches. Our codes are available at https://github.com/RingBDStack/STAMImupter.

View on arXivView PDF

Code Implementations(1)

Code for paper: STAMImputer: Spatio-Temporal Attention Mixture of Experts Imputer for Sparse Traffic Data.

91PythonMay 4, 20251 years ago

Similar Papers

Cite this paper

@article{wang2025stamimputer,
  title  = {STAMImputer: Spatio-Temporal Attention MoE for Traffic Data Imputation},
  author = {Yiming Wang and Hao Peng and Senzhang Wang and Haohua Du and Chunyang Liu and Jia Wu and Guanlin Wu},
  year   = {2025},
  eprint = {2506.08054},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.08054v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.08054.svg)](https://codeofpaper.com/paper/2506.08054)

Discussion