AdaMamba: Adaptive Frequency-Gated Mamba for Long-Term Time Series Forecasting

Xudong Jiang, Mingshan Loo, Hanchen Yang, Wengen Li, Mingrui Zhang +3 more
4/25/2026
cs.AI
state-space-mamba

Official code: XDjiang25/AdaMamba (13 stars, Python, last commit 2026-05-05).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

XDjiang25/AdaMambaOfficial100%

Official PyTorch implementation for AdaMamba: Adaptive Frequency-Gated Mamba for Long-Term Time Series Forecasting

132Python, ShellApr 8, 20267 months ago

Similar Papers

Cite this paper

@article{jiang2026adamamba,
  title  = {AdaMamba: Adaptive Frequency-Gated Mamba for Long-Term Time Series Forecasting},
  author = {Xudong Jiang and Mingshan Loo and Hanchen Yang and Wengen Li and Mingrui Zhang and Yichao Zhang and Jihong Guan and Shuigeng Zhou},
  year   = {2026},
  eprint = {2604.23239},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.23239v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.23239.svg)](https://codeofpaper.com/paper/2604.23239)

Discussion