arXiv(opens in a new tab)physics.soc-phAug 2026

Manuscript Offprint

arXiv:2608.29658

ButterMamba: Butterworth-Enhanced Spatial-Temporal Mamba for Efficient Traffic Flow Prediction

Limiao Zhang, Yuhui Lu, Jie Gao, Hao Jiang, Haiping Ma, Xingyi Zhang

Limiao Zhang

State Key Laboratory of

Opto-Electronic Information

Acquisition and Protection

Technology, Anhui University

Hefei, Anhui, China

zhanglm@ahu.edu.cn

Hao Jiang

School of Computer Science and

Technology, Anhui University

Hefei, Anhui, China

haojiang@ahu.edu.cn

Yuhui Lu

Institute of Physical Science and

Information Technology, Anhui

University

Hefei, Anhui, China

q23301225@stu.ahu.edu.cn

Jie Gao

School of Innovation and

Entrepreneurship, Shandong

University

Qingdao, Shandong, China

littlehope@sdu.edu.cn

Haiping Ma

Institute of Physical Science and

Information Technology, Anhui

University

Hefei, Anhui, China

hpma@ahu.edu.cn

Xingyi Zhang ∗^{*}

School of Computer Science and

Technology, Anhui University

Hefei, Anhui, China

xyzhanghust@gmail.com

Abstract

Accurate traffic flow prediction is fundamental to intelligent transportation systems, playing a pivotal role in urban mobility optimization and smart city development. While Graph Neural Networks (GNNs) integrated with time series forecasting have emerged as promising solutions, two critical limitations persist: (1) the quadratic complexity of attention-based architectures hinders real-time deployment in large-scale networks, and (2) high-frequency noise in sensor data significantly degrades prediction reliability. These challenges are particularly acute in metropolitan scenarios where both computational efficiency and noise robustness are paramount. To address these limitations, we introduce ButterMamba, a novel and efficient framework based on State Space Models (SSMs). ButterMamba consists of two key components: (1) a Butterworth Spectral Filtering module that preprocesses the data by removing high-frequency noise, allowing the model to focus on significant underlying trends, and (2) a Spatial-Temporal State Mixer that uses a parallel Mamba architecture to efficiently capture both long-range temporal dependencies and complex spatial correlations across the road network. By decoupling noise filtering from spatial-temporal modeling, ButterMamba achieves superior predictive accuracy with linear computational complexity. Extensive experiments on three public datasets demonstrate that ButterMamba not only outperforms existing state-of-the-art models in terms of prediction accuracy but also considerably reduces training time and memory usage.

Keywords

Traffic Flow Prediction; Spatial-temporal Model; Mamba

References (16)