[Paper Review] Context-aware demand prediction in bike sharing systems: incorporating spatial, meteorological and calendrical context
This paper proposes a context-aware LSTM-based model that integrates spatial, meteorological, and calendrical context to improve bike sharing demand forecasting. By using serial LSTMs with multivariate time series masking and time-dependent regularization via prospective context, the approach significantly enhances prediction accuracy, especially in handling spatial interdependencies and weather impacts.
Bike sharing demand is increasing in large cities worldwide. The proper functioning of bike-sharing systems is, nevertheless, dependent on a balanced geographical distribution of bicycles throughout a day. In this context, understanding the spatiotemporal distribution of check-ins and check-outs is key for station balancing and bike relocation initiatives. Still, recent contributions from deep learning and distance-based predictors show limited success on forecasting bike sharing demand. This consistent observation is hypothesized to be driven by: i) the strong dependence between demand and the meteorological and situational context of stations; and ii) the absence of spatial awareness as most predictors are unable to model the effects of high-low station load on nearby stations. This work proposes a comprehensive set of new principles to incorporate both historical and prospective sources of spatial, meteorological, situational and calendrical context in predictive models of station demand. To this end, a new recurrent neural network layering composed by serial long-short term memory (LSTM) components is proposed with two major contributions: i) the feeding of multivariate time series masks produced from historical context data at the input layer, and ii) the time-dependent regularization of the forecasted time series using prospective context data. This work further assesses the impact of incorporating different sources of context, showing the relevance of the proposed principles for the community even though not all improvements from the context-aware predictors yield statistical significance.
Motivation & Objective
- Address the challenge of inaccurate bike sharing demand forecasting due to spatial interdependencies and external contextual factors.
- Improve station balancing and operational efficiency in bike sharing systems by enhancing predictive accuracy.
- Systematically incorporate both historical and prospective sources of spatial, meteorological, and calendrical context into deep learning models.
- Develop a novel recurrent neural network architecture that captures cross-variable relationships across heterogeneous context data.
- Assess the relative impact of different context sources on forecasting performance to guide future model design.
Proposed method
- Propose a serial LSTM architecture composed of multiple LSTM components to model multivariate time series data from spatial, meteorological, and calendrical sources.
- Introduce multivariate time series masking at the input layer to encode historical context data (e.g., past weather, station loads) as auxiliary inputs.
- Apply time-dependent regularization of forecasted outputs using prospective context data (e.g., weather forecasts) to refine predictions over the forecast horizon.
- Design a distance-based forecaster using barycenters of time series to serve as a competitive baseline for comparison.
- Use spatial masks derived from station proximity and capacity to model interdependencies between nearby stations.
- Train and evaluate models on real-world data from Lisbon’s GIRA bike sharing system, using metrics like MAE, RMSE, and R².
Experimental results
Research questions
- RQ1How does integrating spatial, meteorological, and calendrical context improve the accuracy of bike sharing demand forecasting?
- RQ2What is the relative contribution of historical versus prospective context data to forecasting performance?
- RQ3To what extent do spatial interdependencies between stations affect demand prediction, and how can they be modeled effectively?
- RQ4Can a serial LSTM architecture with context-aware masking and regularization outperform standard LSTMs and baseline models?
- RQ5Which specific context variables (e.g., wind, precipitation, holidays) have the most significant impact on demand prediction?
Key findings
- The context-aware LSTM model with multivariate masking and time-dependent regularization achieved a mean MAE of 2.16 ± 0.22 for check-ins across all GIRA stations, outperforming baseline models.
- Incorporating both historical and prospective weather variables improved forecast accuracy, with wind intensity and precipitation showing the strongest predictive impact.
- The use of spatial masks and complementary demand series improved predictions, though the differences in error were not statistically significant.
- Historical context data had a slightly higher positive impact than prospective data, likely due to uncertainty in forecasted weather variables.
- The model demonstrated robust performance across diverse conditions, with notable improvements in hard test instances (e.g., Oriente cluster), where context-aware forecasts reduced error compared to standard LSTMs.
- Hyperparameter tuning revealed that small batch sizes and the Adam optimizer yielded optimal performance, with additional improvements from dropout and L1 regularization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.