Learning to Factorize and Adapt: A Versatile Approach Toward Universal Spatio-Temporal Foundation Models
Siru Zhong, Junjie Qiu, Yangyu Wu, Yiqiu Liu, Yuanpeng He, Zhongwen Rao, Bin Yang, Chenjuan Guo, Hao Xu, Yuxuan Liang
TL;DR
FactoST-v2 introduces a factorized Spatio-Temporal Foundation Model that decouples universal temporal learning from domain-specific spatial adaptation. It replaces a heavy encoder-decoder with a lightweight encoder-only backbone trained with randomized sequence masking and probabilistic quantile forecasting, then supplements it with a plug-and-play Spatio-Temporal Adapter (STA) comprising STMF, STF, DSPA, and Continual Memory Replay to tailor to new domains with linear complexity. Theoretical analysis argues for tighter generalization bounds and substantial scalability gains, while extensive experiments across eight pretraining domains and multiple ST benchmarks demonstrate state-of-the-art zero-shot, few-shot, and full-shot performance with superior efficiency compared to joint STMs and task-specific baselines. This approach offers a practical, scalable path toward universal STFMs capable of robust cross-domain forecasting with limited data and resources.
Abstract
Spatio-Temporal (ST) Foundation Models (STFMs) promise cross-dataset generalization, yet joint ST pretraining is computationally expensive and grapples with the heterogeneity of domain-specific spatial patterns. Substantially extending our preliminary conference version, we present FactoST-v2, an enhanced factorized framework redesigned for full weight transfer and arbitrary-length generalization. FactoST-v2 decouples universal temporal learning from domain-specific spatial adaptation. The first stage pretrains a minimalist encoder-only backbone using randomized sequence masking to capture invariant temporal dynamics, enabling probabilistic quantile prediction across variable horizons. The second stage employs a streamlined adapter to rapidly inject spatial awareness via meta adaptive learning and prompting. Comprehensive evaluations across diverse domains demonstrate that FactoST-v2 achieves state-of-the-art accuracy with linear efficiency - significantly outperforming existing foundation models in zero-shot and few-shot scenarios while rivaling domain-specific expert baselines. This factorized paradigm offers a practical, scalable path toward truly universal STFMs. Code is available at https://github.com/CityMind-Lab/FactoST.
