TESTAM: A Time-Enhanced Spatio-Temporal Attention Model with Mixture of Experts
Hyunwook Lee, Sungahn Ko
Abstract
Accurate traffic forecasting is challenging due to the complex interdependencies of large road networks and abrupt speed changes caused by unexpected events. Recent work has focused on spatial modeling with adaptive graph embedding or graph attention but has paid less attention to the temporal characteristics and effectiveness of in-situ modeling. In this paper, we propose the time-enhanced spatio-temporal attention model (TESTAM) to better capture recurring and nonrecurring traffic patterns with mixture-of-experts model with three experts for temporal modeling, spatio-temporal modeling with a static graph, and spatio-temporal dependency modeling with a dynamic graph. By introducing different experts and properly routing them, TESTAM better captures traffic patterns under various circumstances, including cases of spatially isolated roads, highly interconnected roads, and recurring and non-recurring events. For proper routing, we reformulate a gating problem as a classification task with pseudo labels. Experimental results on three public traffic network datasets, METR-LA, PEMS-BAY, and EXPY-TKY, demonstrate that TESTAM outperforms 13 existing methods in terms of accuracy due to its better modeling of recurring and non-recurring traffic patterns. You can find the official code from https://github.com/HyunWookL/TESTAM
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0efac5da-f4de-4656-8510-5e4990d7d588Cited by top-tier papers9
- Heterogeneity-Informed Meta-Parameter Learning for Spatiotemporal Time Series ForecastingZheng Dong, Renhe Jiang, Haotian Gao, Hangchen Liu et al.KDD 2024 · 43 citations
- Get Rid of Isolation: A Continuous Multi-task Spatio-Temporal Learning FrameworkZhongchao Yi, Zhengyang Zhou, Qihe Huang, Yanjiang Chen et al.NeurIPS 2024 · 18 citations
- How Different from the Past? Spatio-Temporal Time Series Forecasting with Self-Supervised Deviation LearningHaotian Gao, Zheng Dong, Jiawei Yong, Shintaro Fukushima et al.NeurIPS 2025 · 9 citations
- STKOpt: Automated Spatio-Temporal Knowledge Optimization for Traffic PredictionYayao Hong, Liyue Chen, Leye Wang, Xiuhuai Xie et al.WWW 2025 · 6 citations
- Investigating Pattern Neurons in Urban Time Series ForecastingChengxin Wang, Yiran Zhao, Shaofeng Cai, Gary TanICLR 2025
Builds on12
- Adaptive Graph Convolutional Recurrent Network for Traffic ForecastingLei Bai, Lina Yao, Can Li, Xianzhi Wang et al.NeurIPS 2020 · 2,206 citations
- GMAN: A Graph Multi-Attention Network for Traffic PredictionChuanpan Zheng, Xiaoliang Fan, Cheng Wang, Jianzhong QiAAAI 2020 · 1,858 citations
- Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural NetworksZonghan Wu, Shirui Pan, Guodong Long, Jing Jiang et al.KDD 2020 · 1,738 citations
- Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann et al.NeurIPS 2021 · 1,213 citations
- Mixture-of-Experts with Expert Choice RoutingYanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du et al.NeurIPS 2022 · 933 citations
Related papers
- Towards Spatio- Temporal Aware Traffic Time Series ForecastingRazvan-Gabriel Cirstea, Bin Yang, Chenjuan Guo, Tung Kieu et al.ICDE 2022 · 137 citations
- Leveraging Heterogeneous Experts with Advantageous Pattern Memory Learning for Traffic PredictionYueyang Yao, Xingyuan Dai, Yisheng LvICDE 2025 · 3 citations
- Learning to Remember Patterns: Pattern Matching Memory Networks for Traffic ForecastingHyunwook Lee, Seungmin Jin, Hyeshin Chu, Hongkyu Lim et al.ICLR 2022 · 53 citations
- Unified Spatio-Temporal Tokens are Bases for Generalizable Traffic ForecastingYujun Chen, Shihao Tu, Wenyue Ding, Yicheng Lu et al.KDD 2026
- Spatio-Temporal Meta-Graph Learning for Traffic ForecastingRenhe Jiang, Zhaonan Wang, Jiawei Yong, Puneet Jeph et al.AAAI 2023 · 336 citations
