基于Mamba改进的停车可用率时序预测研究
Research on Time Series Prediction of Parking Availability Based on Improvements to Mamba
DOI: 10.12677/ojtt.2025.141016, PDF,   
作者: 易彦均:华东师范大学地理科学学院,上海;慕 迪, 黄 盛:上海市城乡建设和交通发展研究院,上海;上海智慧交通发展中心,上海
关键词: 停车可用率预测Mamba注意力机制Parking Availability Prediction Mamba Attention Mechanism
摘要: 实现精准的停车预测,是提高停车场使用效率、实现停车资源合理配置的重要内容。现有停车可用率预测方法在停车时序特征的挖掘方面有待进一步提升,因此本文分析了区域停车可用率的时空特征,提出了Mamba-ATS (Mamba-Attention Time Series Forecasting)模型。模型首先融合了停车可用率的时间序列数据和停车场的属性数据;然后使用Mamba模块提取长期变化特征,再引入注意力机制捕获短期变化特征,最后通过自适应权重调整模块融合长短期特征并输出预测结果。使用上海市区域停车场数据验证了Mamba-ATS模型的有效性,相较于单独使用Mamba模型以及其它基于注意力机制的模型,提出模型的平均绝对误差MAE降低了13%,均方误差MSE降低了26%,总体上具有较好的预测效果。
Abstract: Accurate parking prediction is crucial for enhancing the efficiency of parking lot usage and achieving optimal allocation of parking resources. Current methods for predicting parking availability have room for improvement, especially in mining the characteristics of parking time-series data. Therefore, this paper analyzes the spatiotemporal features of regional parking availability and proposes the Mamba-ATS (Mamba-Attention Time Series Forecasting) model. The Mamba-ATS model first integrates time-series data on parking availability with attribute data from parking lots. It then employs the Mamba module to extract long-term trend features, while incorporating an attention mechanism to capture short-term fluctuation features. Finally, it fuses these long-term and short-term features through an adaptive weight adjustment module, thereby generating the prediction output. The effectiveness of the Mamba-ATS model was validated using data from parking lots in Shanghai. Compared to using the Mamba model alone and other models based on the attention mechanism, the proposed model demonstrates a 13% reduction in Mean Absolute Error (MAE) and a 26% reduction in Mean Squared Error (MSE). Overall, it achieves superior predictive performance.
文章引用:易彦均, 慕迪, 黄盛. 基于Mamba改进的停车可用率时序预测研究[J]. 交通技术, 2025, 14(1): 152-161. https://doi.org/10.12677/ojtt.2025.141016

参考文献

[1] Ma, C., Huang, X. and Li, J. (2024) A Review of Research on Urban Parking Prediction. Journal of Traffic and Transportation Engineering (English Edition), 11, 700-720. [Google Scholar] [CrossRef
[2] Fulman, N., Benenson, I. and Ben-Elia, E. (2020) Modeling Parking Search Behavior in the City Center: A Game-Based Approach. Transportation Research Part C: Emerging Technologies, 120, Article ID: 102800. [Google Scholar] [CrossRef
[3] Li, G. and Zhong, X. (2023) Parking Demand Forecasting Based on Improved Complete Ensemble Empirical Mode Decomposition and GRU Model. Engineering Applications of Artificial Intelligence, 119, Article ID: 105717. [Google Scholar] [CrossRef
[4] Caicedo, F., Blazquez, C. and Miranda, P. (2012) Prediction of Parking Space Availability in Real Time. Expert Systems with Applications, 39, 7281-7290. [Google Scholar] [CrossRef
[5] Tilahun, S.L. and Di Marzo Serugendo, G. (2017) Cooperative Multiagent System for Parking Availability Prediction Based on Time Varying Dynamic Markov Chains. Journal of Advanced Transportation, 2017, Article ID: 1760842. [Google Scholar] [CrossRef
[6] Rajabioun, T. and Ioannou, P. (2015) On-street and Off-Street Parking Availability Prediction Using Multivariate Spatiotemporal Models. IEEE Transactions on Intelligent Transportation Systems, 16, 2913-2924. [Google Scholar] [CrossRef
[7] 宋瑞, 程子龙, 赵日鑫. 基于WOA-XGBoost的空闲停车位短期预测方法[J]. 重庆交通大学学报(自然科学版), 2023, 42(3): 84-89.
[8] Provoost, J.C., Kamilaris, A., Wismans, L.J.J., van der Drift, S.J. and van Keulen, M. (2020) Predicting Parking Occupancy via Machine Learning in the Web of Things. Internet of Things, 12, Article ID: 100301. [Google Scholar] [CrossRef
[9] 温浩宇, 赵灵君, 王帆, 等. 基于深度学习的有效停车泊位预测模型[J]. 重庆交通大学学报(自然科学版), 2022, 41(2): 30-34, 43.
[10] 林滨伟, 於志勇, 黄昉菀, 等. 基于Transformer的街道停车位数据补全和预测[J]. 计算机科学, 2024, 51(4): 165-173.
[11] Gu, A. and Dao, T. (2024) Mamba: Linear-Time Sequence Modeling with Selective State Spaces. arXiv:2312.00752.
http://arxiv.org/abs/2312.00752
[12] Nie, Y., Nguyen, N.H., Sinthong, P., et al. (2023) A Time Series Is Worth 64 Words: Long-Term Forecasting with Trans-formers. arXiv: 2211.14730.
http://arxiv.org/abs/2211.14730
Zeng, A., Chen, M., Zhang, L., et al. (2022) Are Transformers Effective for Time Series Forecasting? arXiv: 2205.13504.
http://arxiv.org/abs/2205.13504
[13] Zhang, Y.H. and Yan, J.C. (2023) Crossformer: Transformer Utilizing Cross-Dimension Dependency for Multivariate Time Series Forecasting.
https://openreview.net/forum?id=vSVLM2j9eie
[14] Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., et al. (2021) Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 35, 11106-11115. [Google Scholar] [CrossRef
[15] Wu, H., Hu, T., Liu, Y., et al. (2023) TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis. arXiv: 2210.02186.
http://arxiv.org/abs/2210.02186
[16] Zeng, A., Chen, M., Zhang, L., et al. (2022) Are Transformers Effective for Time Series Forecasting? [Google Scholar] [CrossRef