AdaMamba: Adaptive Frequency-Gated Mamba for Long-Term Time Series Forecasting
About
Accurate long-term time series forecasting (LTSF) requires the capture of complex long-range dependencies and dynamic periodic patterns. Recent advances in frequency-domain analysis offer a global perspective for uncovering temporal characteristics. However, real-world time series often exhibit pronounced cross-domain heterogeneity where variables that appear synchronized in the time domain can differ substantially in the frequency domain. Existing frequency-based LTSF methods often rely on implicit assumptions of cross-domain homogeneity, which limits their ability to adapt to such intricate variability. To effectively integrate frequency-domain analysis with temporal dependency learning, we propose AdaMamba, a novel framework that endogenizes adaptive and context-aware frequency analysis within the Mamba state-space update process. Specifically, AdaMamba introduces an interactive patch encoding module to capture inter-variable interaction dynamics. Then, we develop an adaptive frequency-gated state-space module that generates input-dependent frequency bases, and generalizes the conventional temporal forgetting gate into a unified time-frequency forgetting gate. This allows dynamic calibration of state transitions based on learned frequency-domain importance, while preserving Mamba's capability in modeling long-range dependencies. Extensive experiments on seven public LTSF benchmarks and two domain-specific datasets demonstrate that AdaMamba consistently outperforms state-of-the-art methods in forecasting accu racy while maintaining competitive computational efficiency. The code of AdaMamba is available at https://github.com/XDjiang25/AdaMamba.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Long-term prediction | INO-SST | MSE0.2322 | 63 | |
| Long-term prediction | NPO-SST | MSE0.2646 | 63 | |
| Long-term forecasting | ETTh2 v1 (test) | MSE0.29 | 36 | |
| Time Series Forecasting | ETTm1 v1 (test) | MSE0.313 | 32 | |
| Long-term forecasting | ETTh1 v1 (test) | MSE0.373 | 28 | |
| Long-term forecasting | ETTm2 v1 (test) | MSE0.173 | 26 | |
| Long-term time-series forecasting | KnowAir | O3 MSE (bthsa)940.3 | 9 | |
| Long-term time-series forecasting | KnowAir O3-bthsa (test) | MSE940.3 | 9 | |
| Long-term time-series forecasting | KnowAir PM2.5-bthsa (test) | MSE1.21e+3 | 9 | |
| Long-term time-series forecasting | NOAA (NPO-SST) (test) | MSE0.423 | 9 |