Manuscript Offprint

arXiv:2610.36393

SpecLST: Spectral-Enhanced Long-Short Term Spatio-Temporal Multimodal Modeling for Traffic Forecasting

Kenan Kang, Matthew M. Y. Kuo, Weihua Li

Kenan Kang, Matthew M.Y. Kuo, and Weihua Li

Abstract—Modeling multi-scale dynamics in urban road networks is essential for intelligent transportation systems but is often hindered by the computational cost of long-range historical context and the challenge of fusing heterogeneous modalities. Existing spatio-temporal frameworks face a trade-off between sequence length and memory overhead, while frequently neglecting the transient effects of exogenous factors such as road incidents and weather. To address these limitations, we propose SpecLST, a frequency-enhanced long-short-term spatio-temporal multimodal framework. SpecLST leverages a fast Fourier transform-based frequency-domain representation module to efficiently encode multi-week historical dependencies, bypassing the memory bottlenecks of standard attention mechanisms over raw long sequences. Heterogeneous context is integrated through attention-based fusion, followed by a sparse Mixture-of-Experts backbone with graph augmentation for spatio-temporal representation learning. Additionally, a frequency-enhanced residual head isolates high-frequency transients, improving sensitivity to abrupt traffic anomalies. At the 60-minute horizon, SpecLST achieves mean relative error reductions of 14.10% in MAE, 10.35% in RMSE, and 15.78% in MAPE across eight neural forecasting baselines and four datasets, with the dataset- and metric-specific average reductions ranging from 5.63% to 22.21%.

Index Terms—Traffic forecasting, spatio-temporal modeling, long-short term forecasting, mixture-of-experts, multimodal data fusion, Fourier transform.

I. INTRODUCTION

Accurate traffic forecasting underpins modern Intelligent Transportation Systems (ITS), supporting route guidance, congestion mitigation, and vehicle dispatching [1], [2]. It also drives operational tasks such as adaptive signal control, demand-responsive transit, and incident response. Multimodal data is now widely accessible, including PeMS loop detector readings, social media incident reports, and high-resolution weather feeds. As urbanization accelerates, traffic flow remains highly non-linear and non-stationary, which makes precise multi-horizon prediction difficult in practice. Different tasks demand different forecasting capabilities: signal control benefits from multi-week periodicity, incident response from fusing exogenous signals with traffic, and short-term replanning from rapid response to abrupt deviations. Current models rarely cover more than one of these at once.

Over the past decade, the field has shifted from statistical methods such as VAR [3] to deep learning. Spatio-Temporal Graph Neural Networks (STGNNs), such as DCRNN [4] and MTGNN [5], learn the non-Euclidean connectivity of road networks. More recent Transformer models, such as STAEformer [6] and LSTTN [7], extend the temporal receptive field through self-attention. Three bottlenecks remain. First, existing models face a “Context-Complexity Dilemma”: long-term history (e.g., several weeks) carries useful periodic priors, but the quadratic cost of self-attention restricts most models to roughly one hour of input. Second, although recent multimodal frameworks incorporate weather and calendar features [8], other exogenous signals such as social-media incidents and short-term weather volatility remain underused, and are rarely combined with long-history representations in a single architecture. Third, most backbones treat the short-term input as a smooth signal and respond slowly to abrupt, incident-driven deviations. The high-frequency content of recent observations, which can provide useful signatures of transient anomalies, is rarely modelled explicitly.

To bridge these gaps, we propose SpecLST, a novel spectral-enhanced spatio-temporal Mixture-of-Experts framework. The core philosophy of our approach is to decouple traffic patterns into stable periodic backbones and volatile transient residuals through a dual-branch spectral analysis. Concretely, SpecLST first maps two weeks of historical traffic into the frequency domain and represents it as a compact set of low-frequency coefficients, aligned with the recent short-term window through phase rotation. Because urban traffic exhibits strong daily and weekly periodicity, the Fourier basis is a natural fit: a small number of low-frequency coefficients can retain the dominant periodic information in the multi-week signal, allowing the model to avoid directly applying self-attention to raw long sequences while preserving the periodic structure that matters for forecasting. The resulting periodic embedding is then combined with short-term traffic, weather, calendar, and, where available, curated incident-event modalities through a dedicated attention-based context-fusion module before entering the spatio-temporal backbone. The backbone consists of stacked blocks that alternate feed-forward and sparse Mixture-of-Experts layers, with spatial attention operating on a fused adjacency that augments the static road topology with a learnable sparse component. Finally, a lightweight frequency-enhanced residual head (FRH) consumes the high-frequency

Kenan Kang and Matthew M.Y. Kuo are with the Department of Computer Science and Software Engineering, Auckland University of Technology, Auckland 1010, New Zealand (e-mail: kenan.kang@autuni.ac.nz; matthew.kuo@aut.ac.nz).

Weihua Li is with the Department of Data Science and Artificial Intelligence, Auckland University of Technology, Auckland 1010, New Zealand (e-mail: weihua.li@aut.ac.nz).

Corresponding author: Kenan Kang.

power spectrum of a separate recent window and produces a per-horizon, gated residual correction on top of the backbone's prediction, sharpening responsiveness to transient anomalies.

The main contributions of this paper are as follows:

• We propose SpecLST, to our knowledge the first traffic forecasting framework that jointly integrates a compact frequency-domain long-history representation, attention-based multimodal context fusion, and a per-horizon high-frequency residual head within a unified architecture.

• We extend the public PEMS-BAY22 traffic benchmark [9] with aligned exogenous context, including weather, calendar attributes, and sensor-level event annotations curated from social-media traffic reports through a two-stage LLM-assisted pipeline.

• We benchmark SpecLST on four real-world PeMS datasets against classical, graph-based, spectral, and Transformer-based baselines. The results show that SpecLST maintains competitive forecasting accuracy while reducing computational cost, especially in the multimodal PEMS-BAY22 setting.

The remainder of this paper is organized as follows. Section II reviews related work on graph-based, Transformer-based, and frequency-domain traffic forecasting methods. Section III details the proposed SpecLST framework and its components. Section IV presents the experimental setup, results, parameter sensitivity analyses, and ablation studies. Section V concludes the paper and outlines directions for future research.

References (27)