Utilizing Long Short-Term Memory and Multi-Head Attention in Parking Prediction

Hasan Kemik,Tugba Dalyan,Murat Aydogan
DOI: https://doi.org/10.3390/ijgi13120449
IF: 3.4
2024-12-14
ISPRS International Journal of Geo-Information
Abstract:Finding a parking space is a major concern in megacities, causing drivers to lose time and money while contributing to atmospheric pollution and global warming. This study proposes a method to predict parking slot availability by comparing Long Short-Term Memory (LSTM) and Multi-Head Attention (MHA) methods using the CityPulse Smart City Datasets. The initial experiments assessed the impact of pollution and time features on prediction accuracy. In a subsequent experiment, the dataset was expanded by incorporating weather-related features and a broader time range while excluding pollution and time features, as informed by the initial results. Various experiments were conducted with different parameters, such as model depth and activation functions. The results demonstrated that MHA outperformed LSTM in predicting occupancy rates, achieving a Mean Absolute Error (MAE) score of 0.0589 on the extended dataset. This study marks a pioneering effort in using MHA for real-time parking occupancy prediction, showcasing significant success with fewer parameters and a smaller model size.
geography, physical,remote sensing,computer science, information systems
What problem does this paper attempt to address?