Predicting the Aggregate Mobility of a Vehicle Fleet within a City Graph
Abstract
:1. Introduction
2. State-of-the-Art Literature Review
3. Problem Statement
4. A Markov Chain Model
4.1. Markov Chains and Transition Matrices
4.2. Binary Vector Codification of States
4.3. Model for Aggregated Data
4.4. Estimation of Transition Matrix with Aggregated Data
5. Two Approaches Using Neural Networks
5.1. Recursive Application of a Multilayer Perceptron
5.2. Application of Graph Neural Networks
6. Evaluation
6.1. Estimation Schemes
- 1.
- A stationary predictor using the previous value in the time series:
- 2.
- An MC predictor assuming a transition matrix , whose random column vectors follow a uniform distribution over the non-zero elements of the adjacency matrix of the graph:
- 3.
- A predictor that is based only on the second step of the GNN approach (Equation (14)) without calculating h. This has been labeled NoGNN in the evaluation. The motivation for this predictor is to evaluate the effect of message passing in the prediction error for the selected architecture.
- 4.
- A more elaborated MC predictor according to (1) where is obtained from (10). Considering the model used in the generation of the evaluation datasets detailed in Section 6.2, this predictor should achieve very high accuracy given enough training data, as its underlying Markovian model is the same as that used for generating the datasets in Section 6.2.
- 5.
- 6.
- A set of predictors based on a GNN according to (3), where several parameters can be adjusted. First, different number of characteristics W, whether the one-hot representation of the node id has been used (using the Id suffix in the model name) and whether the number of time steps is included in the feature vector (using the T suffix in the model name). For the sake of simplicity, our evaluation uses the same hyperparameters for both and : two hidden layers to allow for more expressiveness and two possible configurations for the number of neurons in each layer (64 and N) to evaluate the effect of dimensionality in both training and prediction error.
6.2. Evaluation Datasets
- (a)
- The column-wise uniform transition matrix (which favors the performance of predictor (16)).
- (b)
- A randomly generated stochastic transition matrix .
6.3. Training and Testing Strategies
6.4. Evaluation Metrics
6.5. Results
7. Concluding Remarks and Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
MC | Markov chain |
MLP | multi-layer perceptron |
GNN | graph neural network |
GCN | graph convolutional network |
GAT | graph attention network |
Appendix A. Relationship with the Estimator of the Transition Matrix Assuming Vehicle Disaggregated Data
Appendix A.1. MLE Estimator of the Transition Matrix
Appendix A.2. Proposed Estimator of the Transition Matrix Particularized to Disaggregated Data
Appendix B. Quadratic Canonical form and the Karush–Kuhn–Tucker Conditions for the Estimation Scheme of the Transition Matrix
Appendix B.1. Canonical Form
Appendix B.2. Karush–Kuhn–Tucker Conditions
References
- Abdel-Halim, I.T.; Fahmy, H.M.A.; Bahaa-El Din, A.M. Mobility prediction-based efficient clustering scheme for connected and automated vehicles in VANETs. Comput. Netw. 2019, 150, 217–233. [Google Scholar] [CrossRef]
- Liu, W.; Shoji, Y. Edge-assisted vehicle mobility prediction to support V2X communications. IEEE Trans. Veh. Technol. 2019, 68, 10227–10238. [Google Scholar] [CrossRef]
- Liu, W.; Shoji, Y. DeepVM: RNN-based vehicle mobility prediction to support intelligent vehicle applications. IEEE Trans. Ind. Inform. 2020, 16, 3997–4006. [Google Scholar] [CrossRef]
- Amirat, H.; Lagraa, N.; Fournier-Viger, P.; Ouinten, Y. Nextroute: A lossless model for accurate mobility prediction. J. Ambient. Intell. Humaniz. Comput. 2020, 11, 2661–2681. [Google Scholar] [CrossRef]
- Zhu, X.; Luo, Y.; Liu, A.; Tang, W.; Bhuiyan, M.Z.A. A deep learning-based mobile crowdsensing scheme by predicting vehicle mobility. IEEE Trans. Intell. Transp. Syst. 2020, 22, 4648–4659. [Google Scholar] [CrossRef]
- Irio, L.; Ip, A.; Oliveira, R.; Luís, M. An adaptive learning-based approach for vehicle mobility prediction. IEEE Access 2021, 9, 13671–13682. [Google Scholar] [CrossRef]
- Jiang, W.; Luo, J. Graph neural network for traffic forecasting: A survey. Expert Syst. Appl. 2022, 207, 117921. [Google Scholar] [CrossRef]
- Gomes, D.; Ruelens, F.; Efthymiadis, K.; Nowe, A.; Vrancx, P. When Are Graph Neural Networks Better Than Structure-Agnostic Methods? In Proceedings of the I Can’t Believe It’s Not Better Workshop: Understanding Deep Learning through Empirical Falsification, New Orleans, LA, USA, 28 November–9 December 2022.
- Kemeny, J.G.; Snell, J.L. Finite Markov Chains; Springer: Berlin/Heidelberg, Germany, 1960. [Google Scholar]
- Haykin, S. Neural Networks: A Comprehensive Foundation; Prentice Hall PTR: Hoboken, NJ, USA, 1998. [Google Scholar]
- Scarselli, F.; Gori, M.; Tsoi, A.C.; Hagenbuchner, M.; Monfardini, G. The graph neural network model. IEEE Trans. Neural Netw. 2008, 20, 61–80. [Google Scholar] [CrossRef] [PubMed]
- Camp, T.; Boleng, J.; Davies, V. A survey of mobility models for ad hoc network research. Wirel. Commun. Mob. Comput. 2002, 2, 483–502. [Google Scholar] [CrossRef]
- Bai, F.; Helmy, A. A survey of mobility models. In Wireless Adhoc Networks; University of Southern California: Los Angeles, CA, USA, 2004; Volume 206, p. 147. [Google Scholar]
- Qin, Y.; Guan, Y.L.; Yuen, C. Spatiotemporal capsule neural network for vehicle trajectory prediction. IEEE Trans. Veh. Technol. 2023, 72, 9746–9756. [Google Scholar] [CrossRef]
- Jin, M.; Koh, H.Y.; Wen, Q.; Zambon, D.; Alippi, C.; Webb, G.I.; King, I.; Pan, S. A survey on graph neural networks for time series: Forecasting, classification, imputation, and anomaly detection. arXiv 2023, arXiv:2307.03759. [Google Scholar]
- Ibe, O. Markov Processes for Stochastic Modeling; Academic Press: Cambridge, MA, USA, 2013. [Google Scholar]
- Mendel, J.M. Lessons in Estimation Theory for Signal Processing, Communications, and Control; Pearson Education: London, UK, 1995. [Google Scholar]
- Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. arXiv 2017, arXiv:1609.02907. [Google Scholar]
- Zhang, S.; Tong, H.; Xu, J.; Maciejewski, R. Graph convolutional networks: A comprehensive review. Comput. Soc. Netw. 2019, 6, 11. [Google Scholar] [CrossRef] [PubMed]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph Attention Networks. arXiv 2018, arXiv:1710.10903. [Google Scholar]
#assets | Trans. | Model | MC | NoGNN | NoGNNId | GNN1 | GNN3 | GNN5 | GNNId1 | GNNIdT1 | GATId1 | MLP1x2_64 | MLP1x2_len | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
error | mean | 11.1 | 8.1 | 8.2 | 10.6 | 9.3 | 8.0 | 10.6 | 10.6 | 8.0 | 8.0 | 8.0 | 10.4 | 10.6 | ||
std | 0.7 | 0.2 | 0.3 | 0.3 | 0.4 | 0.3 | 0.3 | 0.2 | 0.3 | 0.3 | 0.3 | 0.3 | 0.3 | |||
mean | 10.4 | 8.2 | 7.5 | 11.0 | 8.9 | 8.0 | 11.0 | 11.0 | 7.6 | 7.6 | 7.5 | 10.4 | 11.0 | |||
std | 0.6 | 0.3 | 0.4 | 0.5 | 0.4 | 0.3 | 0.4 | 0.4 | 0.3 | 0.3 | 0.3 | 0.3 | 0.4 | |||
mean | 35.2 | 26.9 | 25.0 | 47.5 | 29.5 | 26.1 | 26.1 | 26.0 | 25.2 | 25.1 | 25.2 | 33.7 | 47.3 | |||
std | 1.2 | 0.9 | 0.8 | 1.9 | 0.8 | 0.7 | 0.8 | 0.7 | 0.7 | 0.7 | 0.7 | 1.2 | 2.1 | |||
mean | 33.3 | 31.0 | 23.1 | 56.1 | 28.3 | 27.4 | 26.2 | 25.6 | 24.1 | 24.0 | 23.6 | 34.5 | 56.1 | |||
std | 1.2 | 1.6 | 0.8 | 4.8 | 1.0 | 1.2 | 1.0 | 0.9 | 1.0 | 0.9 | 0.9 | 2.5 | 5.3 | |||
mean | 111.4 | 118.9 | 79.1 | 112.3 | 94.6 | 92.2 | 87.1 | 85.3 | 80.1 | 79.9 | 79.9 | 148.3 | 366.6 | |||
std | 3.3 | 6.0 | 2.2 | 5.1 | 2.7 | 3.0 | 2.6 | 2.5 | 2.1 | 2.1 | 2.1 | 16.4 | 24.7 | |||
mean | 105.0 | 201.4 | 73.0 | 120.1 | 91.3 | 108.9 | 90.0 | 86.9 | 76.7 | 81.1 | 76.2 | 131.5 | 474.6 | |||
std | 3.8 | 18.6 | 2.7 | 13.5 | 3.7 | 9.4 | 6.1 | 5.3 | 2.9 | 6.9 | 3.3 | 18.5 | 60.3 | |||
optimal prediction error | mean | 7.9 | 2.0 | 2.3 | 7.1 | 5.0 | 1.7 | 7.1 | 7.1 | 1.7 | 1.7 | 1.8 | 6.7 | 7.0 | ||
std | 0.3 | 0.1 | 0.3 | 0.2 | 0.2 | 0.1 | 0.3 | 0.3 | 0.1 | 0.1 | 0.1 | 0.2 | 0.3 | |||
mean | 7.5 | 3.9 | 2.1 | 8.2 | 5.1 | 3.5 | 8.2 | 8.2 | 2.3 | 2.2 | 2.1 | 7.4 | 8.2 | |||
std | 0.4 | 0.3 | 0.3 | 0.5 | 0.3 | 0.3 | 0.5 | 0.4 | 0.2 | 0.2 | 0.2 | 0.3 | 0.5 | |||
mean | 24.9 | 10.4 | 3.1 | 40.4 | 16.0 | 8.0 | 7.5 | 7.1 | 4.4 | 4.1 | 4.1 | 22.8 | 40.3 | |||
std | 0.8 | 0.7 | 0.1 | 2.1 | 0.6 | 0.5 | 0.4 | 0.4 | 0.3 | 0.3 | 0.4 | 1.4 | 2.4 | |||
mean | 24.0 | 20.9 | 2.8 | 51.2 | 16.6 | 14.7 | 12.4 | 11.5 | 7.3 | 7.0 | 5.8 | 25.6 | 51.1 | |||
std | 1.1 | 1.8 | 0.2 | 5.1 | 0.8 | 1.0 | 0.7 | 0.7 | 1.4 | 1.4 | 1.2 | 3.0 | 5.8 | |||
mean | 78.6 | 88.9 | 7.3 | 80.0 | 52.5 | 48.1 | 37.7 | 33.2 | 15.4 | 14.4 | 14.3 | 125.3 | 357.9 | |||
std | 2.5 | 6.8 | 0.3 | 6.1 | 2.2 | 2.8 | 1.6 | 1.5 | 1.3 | 1.3 | 1.4 | 18.8 | 25.3 | |||
mean | 75.6 | 187.5 | 6.7 | 94.4 | 54.3 | 79.9 | 53.1 | 47.0 | 23.5 | 33.6 | 21.5 | 109.4 | 468.8 | |||
std | 3.0 | 19.6 | 0.4 | 16.8 | 3.7 | 11.8 | 8.5 | 7.2 | 2.8 | 12.4 | 4.9 | 21.3 | 61.1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sánchez-Rada, J.F.; Vila-Rodríguez, R.; Montes, J.; Zufiria, P.J. Predicting the Aggregate Mobility of a Vehicle Fleet within a City Graph. Algorithms 2024, 17, 166. https://doi.org/10.3390/a17040166
Sánchez-Rada JF, Vila-Rodríguez R, Montes J, Zufiria PJ. Predicting the Aggregate Mobility of a Vehicle Fleet within a City Graph. Algorithms. 2024; 17(4):166. https://doi.org/10.3390/a17040166
Chicago/Turabian StyleSánchez-Rada, J. Fernando, Raquel Vila-Rodríguez, Jesús Montes, and Pedro J. Zufiria. 2024. "Predicting the Aggregate Mobility of a Vehicle Fleet within a City Graph" Algorithms 17, no. 4: 166. https://doi.org/10.3390/a17040166
APA StyleSánchez-Rada, J. F., Vila-Rodríguez, R., Montes, J., & Zufiria, P. J. (2024). Predicting the Aggregate Mobility of a Vehicle Fleet within a City Graph. Algorithms, 17(4), 166. https://doi.org/10.3390/a17040166