Predicting the Upcoming Services of Vacant Taxis near Fixed Locations Using Taxi Trajectories
Abstract
:1. Introduction
- A feasible predictive model is built and trained on the historical trajectories of taxis. The Beijing taxi service is employed as a use case for which a large dataset of taxi trips is used to demonstrate the proposed model. This use case shows the potential of utilizing trip-based data for predicting the upcoming services of vacant taxis near certain fixed locations.
- The method uses the hidden Markov model, which works based on historical taxi trajectories, and takes into account other factors, such as the time of day, traffic conditions and the fuzzy partitioning of traffic zones, in order to make predictions. All of these factors have been analyzed to determine their impact on the prediction results.
- The model can predict the upcoming services of vacant taxis and specify pickup locations within arbitrarily sized zones and time intervals.
2. Related Work
3. Predictive Model
3.1. HMM Model and Framework
- denotes a set of hidden states that represent the central geographic positions of popular commercial business districts and the hotspots of taxi activity extracted from historical trajectories.
- represents a set of traffic zone centers generated by partitioning the historical trajectories. To estimate the most likely sequence of the hidden states of the test trajectories, we need to calculate the probabilities of these hidden states from the observation set. A large dataset of historical trajectories is used for this purpose. In our predictive model, the observation set is composed of the centers of traffic zones in the map partitioned by conducting fuzzy clustering on the taxi trajectories. The impacted areas of the traffic zone centers can be adjusted according to actual requirements.
- represents a set of the initial probabilities of the states, where represents the initial probability of state .
- represents a matrix of probabilities of transition between states, where denotes the transition probability from state to state .
- represents a weighted confusion matrix composed of the probability values contributed by the historical trajectories of the hidden states , where denotes the probability of the observed value in zone given the hidden state .
3.2. Model Methodology
- Given a test trajectory, segment it at a given time interval, mark the current state at that time point, and then map it into corresponding clusters.
- Calculate the probabilities of the initial states using equation 2:
- Estimate the next state of the current trajectory at the next time interval, accounting for traffic conditions, such as the moving direction at the current time and the average speed at the same time interval.
- Calculate the weighted confusion matrix using equation 3:
- Calculate the partial probability of the hidden state at time using the following equation 4:
- Segment the test trajectory according to the given time interval. For instance, the test trajectory is segmented into three parts, corresponding to three time intervals,, and , in this example.
- Find out the corresponding cluster of each state. In this example, the four hidden states are observed to be the , , and clusters.
- Compute the weighted influence matrix of the clusters at the states according to the contextual factors.
- Compute the weighted confusion matrix using equation 3.
4. Experimental Results and Discussion
4.1. Extration of Hidden States
4.2. Extrating Observation Set
4.3. Predition Results and Discussion
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Beijing Transport Institute. Beijing Transportation Development Annual Report in 2018. Available online: http://www.bjtrc.org.cn/List/index/cid/7.html (accessed on 10 March 2019).
- Soares Júnior, A.; Moreno, B.N.; Times, V.C.; Matwin, S.; Cabral, L.D.A.F. GRASP-UTS: An algorithm for unsupervised trajectory segmentation. Int. J. Geogr. Inf. Sci. 2015, 29, 46–68. [Google Scholar] [CrossRef]
- Alewijnse, S.; Buchin, K.; Buchin, M.; Kölzsch, A.; Kruckenberg, H.; Westenberg, M.A. A framework for trajectory segmentation by stable criteria. In Proceedings of the 22nd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM), Dallas, TX, USA, 4–7 November 2014. [Google Scholar]
- Hwang, S.; VanDeMark, C.; Dhatt, N.; Yalla, S.V.; Crews, R.T. Segmenting human trajectory data by movement states while addressing signal loss and signal noise. Int. J. Geogr. Inf. Sci. 2018, 32, 1391–1412. [Google Scholar] [CrossRef] [Green Version]
- Nogueira, T.P.; Braga, R.B.; De Oliveira, C.T.; Martin, H. FrameSTEP: A framework for annotating semantic trajectories based on episodes. Expert Syst. Appl. 2018, 92, 533–545. [Google Scholar] [CrossRef]
- Junior, A.S.; Times, V.C.; Renso, C.; Matwin, S.; Cabral, L.A. A semi-supervised approach for the semantic segmentation of trajectories. In Proceedings of the 2018 19th IEEE International Conference on Mobile Data Management (MDM), Aalborg, Denmark, 25–28 June 2018. [Google Scholar]
- Zhou, Z.; Dou, W.; Jia, G.; Hu, C.; Xu, X.; Wu, X.; Pan, J. A method for real-time trajectory monitoring to improve taxi service using GPS big data. Inf. Manag. 2016, 53, 964–977. [Google Scholar] [CrossRef] [Green Version]
- Cui, J.; Liu, F.; Janssens, D.; An, S.; Wets, G.; Cools, M. Detecting urban road network accessibility problems using taxi GPS data. J. Transp. Geogr. 2016, 51, 147–157. [Google Scholar] [CrossRef]
- Gong, L.; Liu, X.; Wu, L.; Liu, Y. Inferring trip purposes and uncovering travel patterns from taxi trajectory data. Cartogr. Geogr. Inf. Sci. 2016, 43, 103–114. [Google Scholar] [CrossRef]
- Mao, F.; Ji, M.H.; Liu, T. Mining spatiotemporal patterns of urban dwellers from taxi trajectory data. Front. Earth Sci. 2016, 10, 205–221. [Google Scholar] [CrossRef]
- Zhao, P.X.; Qin, K.; Ye, X.Y.; Wang, Y.L.; Chen, Y.X. A trajectory clustering approach based on decision graph and data field for detecting hotspots. Int. J. Geogr. Inf. Sci. 2017, 31, 1101–1127. [Google Scholar] [CrossRef]
- Tang, L.; Yang, X.; Kan, Z.; Li, Q. Lane-level road information mining from vehicle GPS trajectories based on naïve bayesian classification. ISPRS Int. J. Geo Inf. 2015, 4, 2660–2680. [Google Scholar] [CrossRef]
- Chen, C.; Zhang, D.; Li, N.; Zhou, Z.-H. B-planner: Planning bidirectional night bus routes using large-scale taxi GPS traces. IEEE Trans. Intell. Transp. Syst. 2014, 15, 1451–1465. [Google Scholar] [CrossRef]
- Zhou, Y.; Fang, Z.; Thill, J.-C.; Li, Q.; Li, Y. Functionally critical locations in an urban transportation network: Identification and space–time analysis using taxi trajectories. Comput. Environ. Urban Syst. 2015, 52, 34–47. [Google Scholar] [CrossRef]
- Chen, M.; Liu, Y.; Yu, X. Predicting next locations with object clustering and trajectory clustering. Comput. Vis. ACCV 2018 2015, 9078, 344–356. [Google Scholar]
- Qiao, S.J.; Shen, D.Y.; Wang, X.T.; Han, N.; Zhu, W. A self-adaptive parameter selection trajectory prediction approach via hidden Markov models. IEEE Trans. Intel. Transp. Syst. 2015, 16, 284–296. [Google Scholar] [CrossRef]
- Chen, M.; Yu, X.H.; Liu, Y. Ming moving patterns for predicting next location. Inf. Syst. 2015, 54, 156–168. [Google Scholar] [CrossRef]
- 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]
- Qiu, Z.; Li, H.Y.; Hong, S.D. Finding vacant taxis using large scale GPS traces. Lect. Notes Comput. Sci. 2014, 8485, 793–804. [Google Scholar]
- Hou, Y.; Li, X.; Zhao, Y.; Jia, X.; Sadek, A.W.; Hulme, K.; Qiao, C. Towards efficient vacant taxis cruising guidance. In Proceedings of the IEEE Global Communications Conference, Atlanta, GA, USA, 9–13 December 2013. [Google Scholar]
- Xu, X.; Zhou, J.Y.; Liu, Y.; Xu, Z.Z.; Zha, X.W. Taxi-RS: Taxi-hunting recommendation system based on taxi GPS data. IEEE Trans. Intell. Transp. Syst. 2015, 16, 1–12. [Google Scholar] [CrossRef]
- Zhang, D.; Sun, L.; Li, B.; Chen, C.; Pan, G.; Li, S.; Wu, Z. Understanding taxi service strategies from taxi GPS traces. IEEE Trans. Intell. Transp. Syst. 2015, 16, 123–135. [Google Scholar] [CrossRef]
- Wong, R.; Szeto, W.; Wong, S. Bi-level decisions of vacant taxi drivers traveling towards taxi stands in customer-search: Modeling methodology and policy implications. Transp. Policy 2014, 33, 73–81. [Google Scholar] [CrossRef] [Green Version]
- Tang, J.; Jiang, H.; Li, Z.; Liu, F.; Wang, Y. A two-layer model for taxi customer searching behaviors using GPS trajectory data. IEEE Trans. Intell. Transp. Syst. 2016, 17, 1–7. [Google Scholar] [CrossRef]
- Phithakkitnukoon, S.; Veloso, M.; Bento, C.; Biderman, A.; Ratti, C. Taxi-aware map: Identifying and predicting vacant taxis in the city. Trans. Rough Sets VII 2010, 6439, 86–95. [Google Scholar]
- 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]
- Microsoft Research. Inferring Taxi Status Using GPS Trajectories. Available online: https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MSRA-TR_taxi_status.pdf (accessed on 2 May 2018).
- Bezdek, J.C. Pattern Recognition with Fuzzy Objective Function Algorithms; Plenum Press: New York, NY, USA, 1981. [Google Scholar]
© 2019 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hu, C.; Thill, J.-C. Predicting the Upcoming Services of Vacant Taxis near Fixed Locations Using Taxi Trajectories. ISPRS Int. J. Geo-Inf. 2019, 8, 295. https://doi.org/10.3390/ijgi8070295
Hu C, Thill J-C. Predicting the Upcoming Services of Vacant Taxis near Fixed Locations Using Taxi Trajectories. ISPRS International Journal of Geo-Information. 2019; 8(7):295. https://doi.org/10.3390/ijgi8070295
Chicago/Turabian StyleHu, Chunchun, and Jean-Claude Thill. 2019. "Predicting the Upcoming Services of Vacant Taxis near Fixed Locations Using Taxi Trajectories" ISPRS International Journal of Geo-Information 8, no. 7: 295. https://doi.org/10.3390/ijgi8070295
APA StyleHu, C., & Thill, J. -C. (2019). Predicting the Upcoming Services of Vacant Taxis near Fixed Locations Using Taxi Trajectories. ISPRS International Journal of Geo-Information, 8(7), 295. https://doi.org/10.3390/ijgi8070295