STMemoLLM: A Spatial-Temporal Memory-Augmented LLM for Robust Traffic Forecasting
Jian Zhou, Binqing Wu, Zongjiang Shang, Wanghui Qiu, Dongliang Cui, Chenxi Jin, Yue Yu, Xinyi Fu, Ling Chen
Abstract
Traffic forecasting is essential for intelligent transportation systems. However, traditional deep-learning models often rely heavily on high-quality observations. Recent LLM-based approaches incorporate pretrained knowledge to improve forecasting, but they remain sensitive to input perturbations and struggle to preserve long-term patterns. To address this, we propose STMemoLLM, a spatial-temporal memory-augmented LLM for robust traffic forecasting. STMemoLLM introduces memory prototypes to compress inputs into compact summary tokens while extracting reliable dynamics from residual signals, achieving a balance between stability and variability. Specifically, a memory-enhanced tokenizer encodes prototypes and sensor characteristics into attention biases to guide adaptive compression of correlated sensors into semantic summary tokens. A memory-calibrated router further evaluates contextual deviation, compression deficiency, and prototype alignment to identify reliable residual signals, which complement the summaries while suppressing noise. Extensive experiments on eight real-world datasets show that STMemoLLM achieves state-of-the-art performance. Additional experiments examine point masking, additive Gaussian noise, structured missingness, and limited training data, demonstrating strong robustness. Code is available at https://anonymous.4open.science/r/STMemoLLM-70BF.
Create a lesson
Related papers
MUNDO: a multiresolution generative framework for temporal downscaling
Shared title terminologycs.LGAymeric Delefosse, Manon Tavernier, Julie Keisler et al.
Physics-Constrained Neural ODEs for Learning Traffic Dynamics and Trajectories from Road Entry/Exit Times
Shared title terminologycs.LGDennis Bogatov Wilkman, Karl Henrik Johansson, Matthieu Barreau
Temporal Leakage Distorts the TGB Node Affinity Leaderboard: A Point-in-Time Audit
Shared title terminologycs.LGYuhang Wang, Dongmei Li, Yuze Sun et al.
Composing Independently Distilled Memory and Retrieval Policies for Long-Term Agents
Shared title terminologycs.LGGrigorii Davydenko, Artem Sakhno, Igor Pavlov et al.
IADR: Interface-Augmented Neural Operator for Phase-Field Mean-Curvature Flow
Shared title terminologycs.LGQinyi Zhang, Duanyu Feng, Yangshuai Wang et al.
Regularizing Hard Examples Improves Adversarial Robustness
Shared title terminologycs.LGHyungyu Lee, Saehyung Lee, Ho Bae et al.