MP3: Multi-Period Pattern Pre-training forSpatio-Temporal Forecasting

Lilan Peng, Yandi Liu, Qingren Yao, Chongshou Li, Tianrui Li
6/11/2026
cs.LGcs.AIcs.NE

Official code: YAN-outlook/MP3 (1 star, last commit 2026-05-29).

Abstract

Spatio-Temporal forecasting is crucial in diverse fields, such as transportation, climate, and energy. Urban spatio-temporal data exhibits temporal mirage: similar short-window inputs have divergent future trends, and vice versa. Existing spatio-temporal graph neural networks (STGNNs) cannot effectively identify such mirages. We argue that the core reason lies in the short-window inputs that have incomplete period observation, heterogeneous global spatial correlation, and cross-period superposition causality. To bridge this gap, we develop a novel Multi- Period Pattern Pre-training (MP3), a plug-and-play pre-training plugin for distinguishing temporal mirages. MP3 presents two core innovations: (1) The multi-period pattern learning is designed to learn multi-period patterns from long time series. Specifically, multi-period temporal modeling leverages edge convolution to identify different multi-period patterns. Multi-period spatial modeling uses a bottleneck project and a global memory bank to capture heterogeneous global spatial relations efficiently. Cross-period pattern interaction employs a causality-enhanced Transformer to capture dependencies across different period patterns. (2) This plugin can seamlessly integrate into existing STGNN backbones to strengthen their forecasting performance. The experiment on five STGNN baselines across five real-world datasets (including a large-scale dataset CA) verify the effectiveness, superior scalability and strong adaptability of MP3, which brings consistent and robust performance improvements across all evaluated baselines. On average, MP3 reduces the MAE 4.7% and the RMSE 5.0%. The code can be available at https://github.com/YAN-outlook/MP3.

View on arXivView PDF

Code Implementations(1)

YAN-outlook/MP3Official100%

MP3: Multi-Period Pattern Pre-training for Spatio-Temporal Forecasting [TKDE under review] Plug-and-play pre-training framework to distinguish temporal mirages in STGNNs. 🚧 Work in progress: Core modules implemented, full documentation coming soon. Key components: Multi-period temporal/spatial modeling + Cross-period causal interaction

10PythonMay 29, 20264 months ago

Similar Papers

Cite this paper

@article{peng2026mp,
  title  = {MP3: Multi-Period Pattern Pre-training forSpatio-Temporal Forecasting},
  author = {Lilan Peng and Yandi Liu and Qingren Yao and Chongshou Li and Tianrui Li},
  year   = {2026},
  eprint = {2606.13119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.13119v1}
}

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/2606.13119.svg)](https://codeofpaper.com/paper/2606.13119)

Discussion