Introduction
Predicting bike-sharing demand at the station level is a critical component of intelligent transportation systems. While city-wide trends are often predictable, individual station demand is highly sensitive to complex spatial-temporal factors, such as localized weather events or shifting urban mobility patterns. Traditional models like LSTMs excel at temporal modeling but often fail to capture the dynamic, non-linear dependencies between stations. This paper, presented at AAAI-19, introduces STG2Vec, a framework designed to learn heterogeneous representations of these complex relationships to improve station-level prediction accuracy.
Methodology
The proposed framework addresses the limitations of static spatial modeling by treating the evolution of station networks as a dynamic graph. The architecture consists of three primary components:
1. Event-Flow Serializing
To handle the dynamic nature of bike movements, the authors "serialize" the graph. Using Depth-First Search (DFS) to traverse sub-graphs of station transitions, the complex network structure is converted into a sequence of "words," effectively treating urban mobility as a linguistic pattern.
2. STG2Vec (Spatial-Temporal Graph to Vector)
Inspired by NLP techniques like Word2Vec, STG2Vec learns vectorized representations of the station network. A key innovation is the dynamic attention mechanism, which allows the model to assign varying importance weights to neighboring stations based on their current influence on demand.
3. CE-LSTM (Collaborative Embedding LSTM)
The final stage involves a Collaborative Embedding LSTM that fuses multiple data streams: graph embeddings from STG2Vec, meteorological data (temperature, wind, visibility), and historical transition patterns. This allows for "collaborative temporal modeling," where the state of a specific station is predicted by considering both its own history and the broader urban context.
Experimental Evaluation
The model was evaluated using two datasets from New York City: Citi-Bike trip records (Jan 2017 – May 2018) and MesoWest hourly weather data.
Key Results
The CE-LSTM model consistently outperformed traditional statistical models (HA, Lasso), tree-based methods (GBRT, Random Forest), and standard deep learning architectures (RNN, GRU).
- Check-In Prediction: CE-LSTM achieved an RMSE of 1.4138, significantly better than the 1.4960 achieved by a basic temporal LSTM.
- Check-Out Prediction: The model reached an RMSE of 1.3115, outperforming other graph embedding methods like DeepWalk and DNGR.
- Ablation Studies: Results confirmed that the "Event-Flow" serialization and the attention mechanism were crucial for capturing the evolving dependencies of the bike-sharing network.
Conclusion and Future Work
By combining dynamic graph embeddings with collaborative temporal modeling, the authors demonstrate a significant leap in station-level demand prediction. Future research directions include optimizing the fusion of heterogeneous data sources, incorporating additional external factors like local events or subway disruptions, and improving the scalability of the DFS serialization process for larger city-wide networks.
Reference: Li, Y., Zhu, Z., Kong, D., Xu, M., & Zhao, Y. (2019). Learning Heterogeneous Spatial-Temporal Representation for Bike-Sharing Demand Prediction. Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19).
Summary updated