Abstract
Accurate demand prediction is essential for the efficiency of urban bike-sharing systems. However, existing models often struggle with spatial and temporal heterogeneity—the fact that demand patterns vary significantly across different locations and times of day. This paper introduces the Robust Spatio-Temporal Demand Prediction (RST) model, a novel framework that integrates multi-source data and employs a dynamic hierarchical structure. By classifying stations based on traffic irregularity and applying a selective retraining layer for hard-to-predict outliers, the RST model achieves superior accuracy and robustness. Evaluations on real-world datasets from New York City and Beijing demonstrate that RST significantly outperforms current state-of-the-art methods.
The Challenge of Urban Heterogeneity
Predicting bike-sharing demand is a complex task because urban environments are inherently heterogeneous. A "one-size-fits-all" modeling approach often fails because it ignores the distinct behaviors of different urban zones. For instance, a bike station located in a residential neighborhood typically sees high morning departures and evening arrivals, whereas a station near a major transportation hub or commercial center exhibits the opposite pattern.
Furthermore, temporal patterns are not static; demand can fluctuate wildly due to weather changes, local events, or traffic irregularities. Traditional models that use uniform parameters across all time periods and locations cannot capture these skewed distributions, leading to operational challenges like station "stockouts" or overflows.
The RST Model: A Multi-Layered Approach
To address these challenges, the researchers developed the RST model, which utilizes a sophisticated two-step pipeline designed for robustness and adaptability.
1. Multi-Source Feature Integration and Classification
The model begins with the FeatureVec module, which goes beyond historical usage counts by integrating data from Points of Interest (POIs), road networks, and meteorological conditions (temperature, wind, visibility). An Intelligent Variable Data Classifier then groups stations based on their traffic irregularity. This classification allows the model to prioritize high-relevance spatial correlations while filtering out "noise" from unrelated stations.
2. Dynamic Hierarchical Structure
The core innovation of RST is its two-layered hierarchical architecture. The first layer performs general spatio-temporal modeling using Graph Convolutional Networks (GCNs) to capture spatial dependencies and Temporal Convolutional Networks (TCNs) for time-series patterns.
The second layer introduces Selective Retraining. If the initial prediction for a specific station exceeds a predefined error threshold (e.g., an RMSE over 30%), this layer is activated. It pulls additional historical data from stations with similar spatial or temporal profiles to refine the prediction for that specific outlier. This targeted approach ensures that the model remains accurate even for "outlier" stations that deviate from the city-wide norm.
3. Self-Supervised Learning
To further enhance robustness, the model incorporates a self-supervised contrastive loss mechanism. By comparing different "views" of the data across various time steps, the model learns to distinguish between underlying demand trends and random anomalies or noise.
Experimental Validation
The RST model was rigorously tested using two large-scale datasets:
- NYC-Bike (Citi-Bike): Data from early 2018, encompassing 976 stations, 1.56 million records, and over 6,000 POI entries.
- BJ-Bike: A public dataset representing bike-sharing demand in Beijing.
The data was split into training (60%), validation (20%), and testing (20%) sets, with the model predicting demand in 30-minute intervals.
Key Results
The RST model consistently outperformed established baselines, including GMAN, STGCN, and traditional machine learning methods.
- Superior Accuracy: On the NYC dataset, RST achieved an RMSE of 1.4328 and an MAE of 0.8307, setting a new benchmark for the field.
- Regional Gains: The model was particularly effective in residential areas, where it reduced the Mean Absolute Percentage Error (MAPE) from 21.73% to 19.96%.
- Weather Resilience: By integrating meteorological features, the model maintained high accuracy during adverse weather conditions (high winds or rain) that typically degrade the performance of simpler models.
Insights and Future Directions
Ablation studies revealed that modeling spatial heterogeneity is more critical for accuracy than temporal modeling alone. This highlights the importance of understanding the "character" of a station's surroundings (POIs and road networks). Additionally, the model demonstrated strong cross-borough generalization, performing well in Brooklyn and Queens even when trained primarily on Manhattan data.
While the RST model represents a significant step forward, future work could incorporate more dynamic urban data, such as real-time event feeds. Expanding the framework to "dockless" bike-sharing and e-scooter systems would also demonstrate its broader utility in the evolving landscape of shared mobility.
Summary updated