STCFormer: Adaptive Spatio-Temporal Modeling with Dynamic Cluster Transformer for Station-based Weather Forecasting
Rongwen Li, Haixin Xie, Mingyang Wang, Hongwu Liu, Kun Fang, Changjian Chen, Zhuo Tang, Kenli Li
Key points
From the paper's conclusion- Proposes STCFormer, an adaptive spatio-temporal Transformer with dynamic station grouping.
- Achieves the lowest 24-hour mean squared error on all eight tasks and ranks first or second in 47 of 48 comparisons.
- Confirms the benefits of locally adaptive grouping and complementary local-global interactions.
Abstract
Station-based weather forecasting supports daily life and economic activity, yet accurate forecasts require modeling complex spatial dependencies among stations. Recent clustering-based selective modeling offers a promising alternative to dense inter-station interactions. However, a grouping shared across an observation window may obscure local changes in station relationships, while intra-cluster interactions alone may miss important global context. The theoretical advantages of selective interactions over dense connectivity also remain insufficiently understood. We therefore propose STCFormer, an adaptive spatio-temporal Transformer that dynamically groups stations according to their local evolution within each temporal patch. Its Cluster-Guided Attention Block combines fine-grained local attention within clusters and global attention over regional state summaries, allowing each station to access information beyond its own cluster. We further show that a derived Lipschitz upper bound for cluster-conditioned local attention is no larger than its fully connected counterpart, explaining a potential robustness benefit and motivating the design of InfoLoss. Experiments on three real-world weather datasets spanning eight temperature and wind forecasting tasks show that STCFormer achieves the lowest 24-hour mean squared error on all eight tasks and ranks first or second in 47 of 48 comparisons across metrics and forecasting horizons. Ablations and case studies further confirm the benefits of locally adaptive grouping and complementary local-global interactions. Our code can be obtained at https://github.com/hnu-vis/STCFormer.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Proposes STCFormer, an adaptive spatio-temporal Transformer with dynamic station grouping.
- Achieves the lowest 24-hour mean squared error on all eight tasks and ranks first or second in 47 of 48 comparisons.
- Confirms the benefits of locally adaptive grouping and complementary local-global interactions.
Readers' thoughts
No reader thoughts yet.
Related papers
- M$^2$Weather: A Benchmark for Joint Multi-Station and Multi-Variable Weather ForecastingarXiv · 2026
- STD2Vformer: A Free-Form Spatiotemporal Forecasting ModelIEEE Transactions on Industrial Informatics · 2026
- Observation Assimilation Transformer: Probabilistic Weather Analysis from Sparse Station ObservationsarXiv · 2026
- Enhancing data-driven weather forecasting via gated relative position encoding and spatial-aware feed-forward networkGeoscientific Model Development · 2026
- Every Locale Has Its Rhythm: Endow Time-Series Transformers with Spatial Insights for Long-term Spatio-Temporal ForecastingACM Transactions on Intelligent Systems and Technology · 2026
- A cross-channel temporal correlation transformer for diurnal near-surface air temperature prediction from multivariate observationsDiscover Environment · 2026