A Distributed Scheme for the Taxi Cruising Route Recommendation Problem Using a Graph Neural Network
Abstract
:1. Introduction
- We developed a long short-term memory graph convolutional network (LSTM-GCN) for predicting traffic demand. It formulates the input as graph structure data based on the graph model of the road network segmented by the proposed Girvan–Newman and speaker–listener label propagation algorithm (GN-SLPA). The predictor captures the spatiotemporal correlation and dynamic patterns of taxi demand with consideration for POI information, road topology, and multiple time-scale features.
- We designed a distributed Lagrange dual decomposition (LDD)-based algorithm to acquire the optimal solution to the TCRR problem, which can be simultaneously implemented at each taxi and server terminal client. Based on the theoretical complexity analysis, the proposed distributed algorithm is less costly than centralized algorithms. This makes our TCRR scheme more scalable in large road networks.
- The experimental results show that our proposed LSTM-GCN has better performance than its counterparts. The simulation results show that this model has the best performance regarding average profit and occupancy rates, based on the recommendations obtained from our proposed method regarding (i) the reduction in idle taxis, (ii) the improvement in efficiency of finding the optimal solution, and (iii) the increase in the global profit of taxis.
2. Related Studies
2.1. Related Studies on TCRR
2.2. Taxi Demand Prediction
3. Problem Formulation
4. Solutions
4.1. Estimation of and
4.2. Estimation of Z
4.3. LSTM-GCN Model for Traffic Demand Prediction
4.4. Distributed Algorithm
Algorithm 1 Distributed algorithm. |
Client Initialization: 1 for 3 if 4 5 endif 6 endfor 7 receive from terminal 8 if MSG_TERMINATE = FALSE 9 , 10 send to terminal 11 else 12 is the solution 13 endif Server Initialization: , , MSG_TERMINATE = FALSE 1 send to client 2 3 receive from client 4 Update with (31) 5 if converges or 6 MSG_TERMINATE=TRUE 7 endif 8 send MSG_TERMINATE to client |
4.5. Cruising Route Generalization
Algorithm 2 Cruising route recommendation algorithm in t. |
Input: 1 for 2 3 for 4 , 5 if 6 7 endif 8 for 9 if 10 , 11 endif 12 endfor 13 the shortest route from to is recommended to taxi n 14 15 endfor 16 endfor |
5. Results
5.1. Result of Taxi Demand Prediction
- Historical average (HA) model: this model takes the average value of taxi demand over the past ten time intervals as the final prediction result.
- ARIMA model: commonly used for forecasting traffic, this is a classical time series model.
- Vector autoregressive (VAR) model: this is another typical time series model.
- Spatiotemporal GCN (STGCN) model: This model was developed by Guo et al. [32] to predict traffic flow. We slightly modified the model and employed it for taxi demand prediction. In the STGCN, we set the kernel size along the temporal dimension to three. There were 16 graph convolution kernels in each graph convolution layer and 32 convolution kernels in each temporal convolution layer. Unlike the model in [32], where the dynamics of traffic flow in the time scale of one week were considered, in our paper, only one-hour and one-day dynamics of taxi demand were considered.
- LSTM-GCN without considering multiple time-scale features (LSTM-GCN−): this model only considered the one-hour dynamics of taxi demand.
5.2. Results of Simulation
- Empirical method: this method recommends an idle taxi with a route toward the nearest zone in which there is the highest taxi demand, estimated by the statistic learning method [4].
- MDP-based method: This is a model based on Yu et al.’s model [2], with a slight modification. The model focuses on long-term profit, with the assumption that passengers’ arrival rate in each link follows a one-dimensional space–time Poisson process distribution. In this paper, we configured the arrival rate based on the historical data of taxi demand. Additionally, another important parameter for the MPD method is taxi density, which was also configured based on the historical data.
- Single-object-formulated model: Either objective or objective is considered in the problem formulation of TCRR. The same taxi demand prediction and distributed LDD algorithm are used to obtain the solution to each single-object-formulated problem. For the ease of description, we named these two single-object-formulated models and , respectively.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Lai, Y.; Lv, Z.; Li, K.C.; Liao, M. Urban Traffic Coulomb’s Law: A New Approach for Taxi Route Recommendation. IEEE Trans. Intell. Transp. Syst. 2018, 20, 3024–3037. [Google Scholar] [CrossRef]
- Yu, X.; Gao, S.; Hu, X.; Park, H. A Markov decision process approach to vacant taxi routing with e-hailing. Transp. Res. Part B Methodol. 2019, 121, 114–134. [Google Scholar] [CrossRef]
- Moreira-Matias, L.; Gama, J.; Ferreira, M.; Mendes-Moreira, J.; Damas, L. Predicting taxi–passenger demand using streaming data. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1393–1402. [Google Scholar] [CrossRef]
- Yuan, J.; Zheng, Y.; Zhang, L.; Xie, X.; Sun, G. Where to find my next passenger. In Proceedings of the 13th International Conference on Ubiquitous Computing, Beijing, China, 17–21 September 2011; pp. 109–118. [Google Scholar]
- Wang, R.; Chow, C.Y.; Lyu, Y.; Lee, V.C.; Kwong, S.; Li, Y.; Zeng, J. Taxirec: Recommending road clusters to taxi drivers using ranking-based extreme learning machines. IEEE Trans. Knowl. Data Eng. 2018, 30, 585–598. [Google Scholar] [CrossRef]
- Wan, X.; Ghazzai, H.; Massoud, Y. A generic data-driven recommendation system for large-scale regular and ride-hailing taxi services. Electronics 2020, 9, 648. [Google Scholar] [CrossRef]
- Garg, N.; Ranu, S. Route recommendations for idle taxi drivers: Find me the shortest route to a customer! In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018; pp. 1425–1434. [Google Scholar]
- Qu, B.; Yang, W.; Cui, G.; Wang, X. Profitable Taxi Travel Route Recommendation Based on Big Taxi Trajectory Data. IEEE Trans. Intell. Transp. Syst. 2019, 21, 653–668. [Google Scholar] [CrossRef]
- Rossi, A.; Barlacchi, G.; Bianchini, M.; Lepri, B. Modelling taxi drivers’ behaviour for the next destination prediction. IEEE Trans. Intell. Transp. Syst. 2019, 21, 2980–2989. [Google Scholar] [CrossRef]
- Zhou, X.; Rong, H.; Yang, C.; Zhang, Q.; Khezerlou, A.V.; Zheng, H.; Shafiq, M.Z.; Liu, A.X. Optimizing Taxi Driver Profit Efficiency: A Spatial Network-based Markov Decision Process Approach. IEEE Trans. Big Data 2018, 6, 145–158. [Google Scholar] [CrossRef]
- Qu, M.; Zhu, H.; Liu, J.; Liu, G.; Xiong, H. A cost-effective recommender system for taxi drivers. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA, 24–27 August 2014; pp. 45–54. [Google Scholar]
- Yuan, N.J.; Zheng, Y.; Zhang, L.; Xie, X. T-finder: A recommender system for finding passengers and vacant taxis. IEEE Trans. Knowl. Data Eng. 2013, 25, 2390–2403. [Google Scholar] [CrossRef]
- Rodrigues, F.; Markou, I.; Pereira, F.C. Combining time-series and textual data for taxi demand prediction in event areas: A deep learning approach. Inf. Fusion 2019, 49, 120–129. [Google Scholar] [CrossRef]
- Ke, J.; Zheng, H.; Yang, H.; Chen, X.M. Short-term forecasting of passenger demand under on-demand ride services: A spatio-temporal deep learning approach. Transp. Res. Part C Emerg. Technol. 2017, 85, 591–608. [Google Scholar] [CrossRef]
- Sharma, A.; Sharma, A.; Nikashina, P.; Gavrilenko, V.; Tselykh, A.; Bozhenyuk, A.; Masud, M.; Meshref, H. A graph neural network (GNN)-based approach for real-time estimation of traffic speed in sustainable smart cities. Sustainability 2023, 15, 11893. [Google Scholar] [CrossRef]
- Oluwasanmi, A.; Aftab, M.U.; Qin, Z.; Sarfraz, M.S.; Yu, Y.; Rauf, H.T. Multi-head spatiotemporal attention graph convolutional network for traffic prediction. Sensors 2023, 23, 3836. [Google Scholar] [CrossRef]
- Chen, Z.; Zhao, B.; Wang, Y.; Duan, Z.; Zhao, X. Multitask learning and GCN-based taxi demand prediction for a traffic road network. Sensors 2020, 20, 3776. [Google Scholar] [CrossRef] [PubMed]
- Yao, H.; Wu, F.; Ke, J.; Tang, X.; Jia, Y.; Lu, S.; Gong, P.; Ye, J.; Li, Z. Deep multi-view spatial-temporal network for taxi demand prediction. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018. [Google Scholar]
- Xu, J.; Rahmatizadeh, R.; Boloni, L.; Turgut, D. Real-time prediction of taxi demand using recurrent neural networks. IEEE Trans. Intell. Transp. Syst. 2018, 19, 2572–2581. [Google Scholar] [CrossRef]
- Cao, Y.; Liu, L.; Dong, Y. Convolutional Long Short-Term Memory Two-Dimensional Bidirectional Graph Convolutional Network for Taxi Demand Prediction. Sustainability 2023, 15, 7903. [Google Scholar] [CrossRef]
- Wu, Z.; Pan, S.; Chen, F.; Long, G.; Zhang, C.; Philip, S.Y. A comprehensive survey on graph neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4–24. [Google Scholar] [CrossRef]
- Geng, X.; Li, Y.; Wang, L.; Zhang, L.; Yang, Q.; Ye, J.; Liu, Y. Spatiotemporal multi-graph convolution network for ride-hailing demand forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019. [Google Scholar]
- Dong, H.; Zhang, X.; Dong, Y.; Chen, C.; Rao, F. Recommend a profitable cruising route for taxi drivers. In Proceedings of the 17th International IEEE Conference on Intelligent Transportation Systems (ITSC), Qingdao, China, 8–11 October 2014; pp. 2003–2008. [Google Scholar]
- Verma, T.; Varakantham, P.; Kraus, S.; Lau, H.C. Augmenting decisions of taxi drivers through reinforcement learning for improving revenues. In Proceedings of the Thirty-Third International Conference on Automated Planning and Scheduling, Prague, Czech Republic, 8–13 July 2023; pp. 18–23. [Google Scholar]
- Chen, B.; Cheng, H.H. A review of the applications of agent technology in traffic and transportation systems. IEEE Trans. Intell. Transp. Syst. 2010, 11, 485–497. [Google Scholar] [CrossRef]
- Boostanimehr, H.; Bhargava, V.K. Unified and distributed QoS-driven cell association algorithms in heterogeneous networks. IEEE Trans. Wirel. Commun. 2015, 14, 1650–1662. [Google Scholar] [CrossRef]
- Weyns, D.; Holvoet, T.; Helleboogh, A. Anticipatory vehicle routing using delegate multi-agent systems. In Proceedings of the 2007 IEEE Intelligent Transportation Systems Conference, Bellevue, WA, USA, 30 September–3 October 2007; pp. 87–93. [Google Scholar]
- Logi, F.; Ritchie, S.G. A multi-agent architecture for cooperative inter-jurisdictional traffic congestion management. Transp. Res. Part C Emerg. Technol. 2002, 10, 507–527. [Google Scholar] [CrossRef]
- Gokulan, B.P.; Srinivasan, D. Distributed geometric fuzzy multiagent urban traffic signal control. IEEE Trans. Intell. Transp. Syst. 2010, 11, 714–727. [Google Scholar] [CrossRef]
- Yu, B.; Yin, H.; Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv 2017, arXiv:1709.04875. [Google Scholar]
- Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv 2017, arXiv:1707.01926. [Google Scholar]
- Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27–28 January 2019; Volume 33, pp. 922–929. [Google Scholar]
- Zhao, L.; Song, Y.; Zhang, C.; Liu, Y.; Wang, P.; Lin, T.; Deng, M.; Li, H. T-gcn: A temporal graph convolutional network for traffic prediction. IEEE Trans. Intell. Transp. Syst. 2019, 21, 3848–3858. [Google Scholar] [CrossRef]
- Marler, R.T.; Arora, J.S. Survey of multi-objective optimization methods for engineering. Struct. Multidiscip. Optim. 2004, 26, 369–395. [Google Scholar] [CrossRef]
- Duan, P.; Mao, G.; Kang, J.; Huang, B. Estimation of Link Travel Time Distribution With Limited Traffic Detectors. IEEE Trans. Intell. Transp. Syst. 2019, 21, 3730–3743. [Google Scholar] [CrossRef]
- Wang, H.; Tang, X.; Kuo, Y.H.; Kifer, D.; Li, Z. A simple baseline for travel time estimation using large-scale trip data. ACM Trans. Intell. Syst. Technol. (TIST) 2019, 10, 1–22. [Google Scholar] [CrossRef]
- Gentili, M.; Mirchandani, P.B. Review of optimal sensor location models for travel time estimation. Transp. Res. Part C Emerg. Technol. 2018, 90, 74–96. [Google Scholar] [CrossRef]
- Yuan, N.J.; Zheng, Y.; Xie, X. Segmentation of Urban Areas Using Road Networks; MSR-TR-2012–65, Microsoft Research Technical Report; Microsoft Corporation: Redmond, WA, USA, 2012. [Google Scholar]
- Ventresque, A.; Bragard, Q.; Liu, E.S.; Nowak, D.; Murphy, L.; Theodoropoulos, G.; Liu, Q. SParTSim: A space partitioning guided by road network for distributed traffic simulations. In Proceedings of the 2012 IEEE/ACM 16th International Symposium on Distributed Simulation and Real Time Applications, Dublin, Ireland, 25–27 October 2012; pp. 202–209. [Google Scholar]
- Steed, A.; Abou-Haidar, R. Partitioning crowded virtual environments. In Proceedings of the ACM Symposium on Virtual Reality Software and Technology, Osaka, Japan, 1–3 October 2003; pp. 7–14. [Google Scholar]
- Xie, J.; Szymanski, B.K. Towards linear time overlapping community detection in social networks. In Proceedings of the 16th Pacific-Asia Conference on Advances in Knowledge Discovery and Data Mining—Volume Part II, Kuala Lumpur, Malaysia, 29 May–1 June 2012; pp. 25–36. [Google Scholar]
- Harenberg, S.; Bello, G.; Gjeltema, L.; Ranshous, S.; Harlalka, J.; Seay, R.; Padmanabhan, K.; Samatova, N. Community detection in large-scale networks: A survey and empirical evaluation. Wiley Interdiscip. Rev. Comput. Stat. 2014, 6, 426–439. [Google Scholar] [CrossRef]
- Duan, P.; Mao, G.; Liang, W.; Zhang, D. A Unified Spatio-Temporal Model for Short-Term Traffic Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2018, 20, 3212–3223. [Google Scholar] [CrossRef]
- Si, C.; Chen, W.; Wang, W.; Wang, L.; Tan, T. An Attention Enhanced Graph Convolutional LSTM Network for Skeleton-Based Action Recognition. arXiv 2019, arXiv:1902.09130. [Google Scholar]
- Hong, J.H.; Liu, X. The optimal pricing for green ride services in the ride-sharing economy. Transp. Res. Part D Transp. Environ. 2022, 104, 103205. [Google Scholar] [CrossRef]
- Feng, X.; Guo, J.; Qin, B.; Liu, T.; Liu, Y. Effective Deep Memory Networks for Distant Supervised Relation Extraction. In Proceedings of the 26th International Joint Conference on Artificial Intelligence Main Track, Melbourne, Australia, 19–25 August 2017; pp. 4002–4008. [Google Scholar]
- Gunantara, N. A review of multi-objective optimization: Methods and its applications. Cogent Eng. 2018, 5, 1502242. [Google Scholar] [CrossRef]
- Afshari, H.; Hare, W.; Tesfamariam, S. Constrained multi-objective optimization algorithms: Review and comparison with application in reinforced concrete structures. Appl. Soft Comput. 2019, 83, 105631. [Google Scholar] [CrossRef]
- Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Duan, P. Modeling, Analysis and Application of Big Traffic Data for Intelligent Transportation Systems. Ph.D. Thesis, University of Technology Sydney, Sydney, Australia, 2019. [Google Scholar]
- Xu, Z.; Li, Z.; Guan, Q.; Zhang, D.; Li, Q.; Nan, J.; Liu, C.; Bian, W.; Ye, J. Large-scale order dispatch in on-demand ride-hailing platforms: A learning and planning approach. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018; pp. 905–913. [Google Scholar]
Abbreviation | Significance | Abbreviation | Significance |
---|---|---|---|
WA | Working area | SCH | School |
RA | Residential area | EA | Entertainment area |
SPM | Supermarket | HOS | Hospital |
HT | Hotel | BT | Bus terminal |
AP | Airport | SQ | Square |
TS | Train station | PARK | Park |
SM | Shopping mall | OTS | Others |
Parameter | Value |
---|---|
f | km
, km |
c | 0.64 |
Average speed | km/h during morning peak hours km/h during off-peak hours km/h during evening peak hours |
30 | |
0.5 | |
8 | |
0.5 | |
Up-bound of and based on | |
Method | Average Profit | Occupancy Rate | ||||||
---|---|---|---|---|---|---|---|---|
7:00–8:00 Peak | 14:00–15:00 Off-Peak | 18:00–19:00 Peak | Mean | 7:00–8:00 Peak | 14:00–15:00 Off-Peak | 18:00–19:00 Peak | Mean | |
Empirical method | 1.87 | 1.84 | 2.12 | 1.98 | 0.69 | 0.70 | 0.73 | 0.71 |
MDP-based method | 1.92 | 1.93 | 2.23 | 2.08 | 0.72 | 0.73 | 0.76 | 0.74 |
-based method | 1.93 | 1.93 | 2.24 | 2.05 | 0.74 | 0.75 | 0.76 | 0.74 |
-based method | 1.97 | 1.96 | 2.25 | 2.07 | 0.73 | 0.74 | 0.75 | 0.73 |
Distributed method | 1.97 | 2.01 | 2.31 | 2.12 | 0.73 | 0.75 | 0.78 | 0.75 |
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
Li, Y.; Huang, Y.; Liu, Z.; Zhang, B. A Distributed Scheme for the Taxi Cruising Route Recommendation Problem Using a Graph Neural Network. Electronics 2024, 13, 574. https://doi.org/10.3390/electronics13030574
Li Y, Huang Y, Liu Z, Zhang B. A Distributed Scheme for the Taxi Cruising Route Recommendation Problem Using a Graph Neural Network. Electronics. 2024; 13(3):574. https://doi.org/10.3390/electronics13030574
Chicago/Turabian StyleLi, Ying, Yongsheng Huang, Zhipeng Liu, and Bin Zhang. 2024. "A Distributed Scheme for the Taxi Cruising Route Recommendation Problem Using a Graph Neural Network" Electronics 13, no. 3: 574. https://doi.org/10.3390/electronics13030574
APA StyleLi, Y., Huang, Y., Liu, Z., & Zhang, B. (2024). A Distributed Scheme for the Taxi Cruising Route Recommendation Problem Using a Graph Neural Network. Electronics, 13(3), 574. https://doi.org/10.3390/electronics13030574