A Method of User Travel Mode Recognition Based on Convolutional Neural Network and Cell Phone Signaling Data
Abstract
:1. Introduction
- Data pre-processing does not fully consider data anomalies, which affects the quality of the basic data.
- It does not consider the problem of travel trajectory slicing.
- The feature calculation method of the recognition algorithm and the accuracy rate of travel mode recognition need to be improved.
2. Related Work
2.1. Traffic Study Based on Mobile Phone Signaling
2.2. Machine-Learning-Based Traffic Pattern Detection
3. Data Processing and Modeling
3.1. Data Pre-Processing
3.2. Track Point Analysis
- Track points: The processed mobile phone signaling data are time-stamped location point records, and the travel track is a collection of multiple time-stamped location points.
- Stopping point: The stopping point is the user’s origin or destination during the trip, i.e., the trip’s start and end points. Transportation refers to the spatial movement of people and objects. Generally, people travel to reach a destination and conduct corresponding activities. Therefore, each journey comprises two or more stopping points.
- Minimum dwell time (MDT): The minimum dwell time is the shortest time over which a user stays at the origin or destination. People travel to destinations and perform their corresponding activities. Therefore, except for special professionals such as drivers and couriers, the vast majority of users will stay at their destination for a certain period after reaching it to conduct the corresponding activities. In mobile phone signaling data, the time spent at each location is an important feature for determining whether it is a stopping point.
- Maximum activity distance (MAD): The maximum activity distance is the maximum distance that a user can travel around the origin or destination. After arriving at a destination, users generally move around it. If the user has a small range of activity at the destination or if the number of base stations around the destination is small, the user may only communicate with one base station during the activity, i.e., only one signaling record is generated at the stopover point.
- Mobile points: Mobile points are the points where the user is positioned between the stopover points. The spatiotemporal characteristics of the mobile point represent the spatiotemporal characteristics of the user during a period of travel. For example, the location of the mobile point represents the location point passing through the user’s travel path, and the speed of the mobile point represents the travel speed of the user between two stopover points.
3.3. Track Slitting Method
- Set the dwell range distance threshold, MAD, and the dwell range minimum time threshold, MDT.
- The first signaling sequence was placed in the comparison sequence. If the position of the second signaling was within the set distance threshold, MAD, the second signaling was placed in the comparison sequence seq, and the remaining signaling was judged against each of the signaling in seq in order of signaling time; if the signaling position was more than MAD from any of the signaling in seq, the judgement was interrupted.
- Calculate the time difference between the last and first signaling in seq. If the time difference was greater than the set minimum time threshold, MDT, the signaling location area in seq was considered the resident area, and the coordinates of the resident core points of these locations were calculated based on the time ratio, and the core point coordinates were used to represent the resident area. If the time difference was less than the set minimum time threshold, MAD, then these signaling location areas were not resident areas, and the signaling data in seq was released and the determination of the remaining signaling continued. The remaining signaling pathways were determined. After identifying the presence region, the signaling data between the two presence regions were used as the signaling data generated by one valid trip, based on the results, and the travel mode of one trip was identified using a CNN combined with navigation data.
3.4. How to Identify the Mode of Travel
3.4.1. Eigenvalues for Travel Mode Recognition
3.4.2. Multi-Channel Feature Convolutional Neural Networks
3.4.3. Training Parameters
4. Experimentation and Discussion
4.1. Related Data
4.2. Data Cleaning
4.3. Testing
4.4. Results and Discussion
- Recall rate: The ratio of the number of correct results to the actual data for a certain travel mode in this model.
- F1-measure: The F1-score is the weighted average of the sum of the completeness and accuracy rates. The F1-score was the weighted average of the full and accuracy rates and was used here to evaluate the two indicators together.
- Correctness rate: The ratio of the number of samples judged correctly to the total number of samples.
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Gholampour, I.; Mirzahossein, H.; Chiu, Y.-C. Traffic pattern detection using topic modeling for speed cameras based on big data abstraction. Transp. Lett.-Int. J. Transp. Res. 2022, 14, 339–346. [Google Scholar] [CrossRef]
- Iskanderov, J.; Guvensan, M.A. Breaking the Limits of Transportation Mode Detection: Applying Deep Learning Approach With Knowledge-Based Features. IEEE Sens. J. 2020, 20, 12871–12884. [Google Scholar] [CrossRef]
- Liao, F.X.; van Wee, B. Accessibility measures for robustness of the transport system. Transportation 2017, 44, 1213–1233. [Google Scholar] [CrossRef]
- Jahangiri, A.; Rakha, H.A. Applying Machine Learning Techniques to Transportation Mode Recognition Using Mobile Phone Sensor Data. IEEE Trans. Intell. Transp. Syst. 2015, 16, 2406–2417. [Google Scholar] [CrossRef]
- Shen, L.; Stopher, P.R. Review of GPS Travel Survey and GPS Data-Processing Methods. Transp. Rev. 2014, 34, 316–334. [Google Scholar] [CrossRef]
- Bachir, D.; Khodabandelou, G.; Gauthier, V.; El Yacoubi, M.; Puchinger, J. Inferring dynamic origin-destination flows by transport mode using mobile phone data. Transp. Res. Part C Emerg. Technol. 2019, 101, 254–275. [Google Scholar] [CrossRef]
- Ghahramani, M.; Zhou, M.; Wang, G. Urban sensing based on mobile phone data: Approaches, applications, and challenges. IEEE/CAA J. Autom. Sin. 2020, 7, 627–637. [Google Scholar] [CrossRef]
- Jain, A.; Kanhangad, V. Human Activity Classification in Smartphones Using Accelerometer and Gyroscope Sensors. IEEE Sens. J. 2018, 18, 1169–1177. [Google Scholar] [CrossRef]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Lecun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proc. IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef]
- Lai, J.; Chen, Y.; Zhong, Y.; Wu, D.; Yuan, Y. Travel route identification method of subway passengers based on mobile phone location data. J. Comput. Appl. 2013, 33, 583–586. [Google Scholar] [CrossRef]
- Caceres, N.; Romero, L.M.; Benitez, F.G.; Castillo, J.M.d. Traffic Flow Estimation Models Using Cellular Phone Data. IEEE Trans. Intell. Transp. Syst. 2012, 13, 1430–1441. [Google Scholar] [CrossRef]
- Dong, H.H.; Wu, M.C.; Ding, X.Q.; Chu, L.Y.; Jia, L.M.; Qin, Y.; Zhou, X.S. Traffic zone division based on big data from mobile phone base stations. Transp. Res. Part C-Emerg. Technol. 2015, 58, 278–291. [Google Scholar] [CrossRef]
- Larijani, A.N.; Olteanu-Raimond, A.M.; Perret, J.; Bredif, M.; Ziemlicki, C. Investigating the mobile phone data to estimate the origin destination flow and analysis; case study: Paris region. In Proceedings of the 4th International Symposium of Transport Simulation (ISTS), Ajaccio, France, 1–4 June 2014; pp. 64–78. [Google Scholar]
- Puntumapon, K.; Pattara-atikom, W. Classification of cellular phone mobility using Naive Bayes model. In Proceedings of the 67th IEEE Vehicular Technology Conference, Marina Bay, Singapore, 11–14 May 2008; pp. 3021–3025. [Google Scholar]
- Wu, H.; Liu, L.B.; Yu, Y.; Peng, Z.H.; Jiao, H.Z.; Niu, Q. An Agent-based Model Simulation of Human Mobility Based on Mobile Phone Data: How Commuting Relates to Congestion. Isprs Int. J. Geo-Inf. 2019, 8, 313. [Google Scholar] [CrossRef]
- Zhou, Z.P.; Yang, J.W.; Qi, Y.; Cai, Y.F. Support vector machine and back propagation neutral network approaches for trip mode prediction using mobile phone data. Iet Intell. Transp. Syst. 2018, 12, 1220–1226. [Google Scholar] [CrossRef]
- Bassolas, A.; Ramasco, J.J.; Herranz, R.; Cantu-Ros, O.G. Mobile phone records to feed activity-based travel demand models: MATSim for studying a cordon toll policy in Barcelona. Transp. Res. Part A-Policy Pract. 2019, 121, 56–74. [Google Scholar] [CrossRef]
- Kim, H.; Sohn, D. The urban built environment and the mobility of people with visual impairments: Analysing the travel behaviours based on mobile phone data. J. Asian Archit. Build. Eng. 2020, 19, 731–741. [Google Scholar] [CrossRef]
- Luo, J.T.; Shu, Z.L.; Zhou, Y.F. Monitoring System of Urban Population Traffic based on Mobile Network Signaling. In Proceedings of the 2014 IEEE/CIC International Conference on Communications in China–Workshops (CIC/ICCC), Shanghai, China, 13–15 October 2014; pp. 339–343. [Google Scholar]
- Rose, G. Mobile phones as traffic probes: Practices, prospects and issues. Transp. Rev. 2006, 26, 275–291. [Google Scholar] [CrossRef]
- Gariazzo, C.; Stafoggia, M.; Bruzzone, S.; Pelliccioni, A.; Forastiere, F. Association between mobile phone traffic volume and road crash fatalities: A population-based case-crossover study. Accid. Anal. Prev. 2018, 115, 25–33. [Google Scholar] [CrossRef]
- Bloch, A.; Erdin, R.; Meyer, S.; Keller, T.; de Spindler, A. Battery-Efficient Transportation Mode Detection on Mobile Devices. In Proceedings of the IEEE 16th International Conference on Mobile Data Management MDM, Pittsburgh, PA, USA, 15–18 June 2015; pp. 185–190. [Google Scholar]
- Byon, Y.J.; Abdulhai, B.; Shalaby, A. Real-Time Transportation Mode Detection via Tracking Global Positioning System Mobile Devices. J. Intell. Transp. Syst. 2009, 13, 161–170. [Google Scholar] [CrossRef]
- Conway, A.E.; Moon, S.B.; Skelly, P. Synchronized two-way voice simulation tool for Internet phone performance analysis and evaluation. In Computer Performance Evaluation: Modelling Techniques and Tools; Marie, R., Plateau, B., Calarossa, M., Rubino, G., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1997; Volume 1245, pp. 108–122. [Google Scholar]
- Hao, G.; Sha, Y.; Li, C.; Xia, J.; Zhang, N.; Ding, F.; Yin, Y.; Ding, F. Toward a Highway Traffic Flow Monitoring System Based on Mobile Phone Signaling Data. In Proceedings of the 2020 International Wireless Communications and Mobile Computing (IWCMC), Limassol, Cyprus, 15–19 June 2020; pp. 235–239. [Google Scholar]
- Wang, S.L.; Wang, H. Classification of mobility of cellular phone using linear classification and k-clustering. In Proceedings of the 1st International Doctoral Annual Symposium on Intelligent Transportation Technology and Sustainable Development, Sch Transportat Sci & Engn, Harbin, China, 15–16 September 2012; pp. 3–8. [Google Scholar]
- Wang, H.; Calabrese, F.; Lorenzo, G.D.; Ratti, C. Transportation mode inference from anonymized and aggregated mobile phone call detail records. In Proceedings of the 13th International IEEE Conference on Intelligent Transportation Systems, Funchal, Portugal, 19–22 September 2010; pp. 318–323. [Google Scholar]
- Das, R.D.; Winter, S. Detecting Urban Transport Modes Using a Hybrid Knowledge Driven Framework from GPS Trajectory. ISPRS Int. J. Geo-Inf. 2016, 5, 207. [Google Scholar] [CrossRef]
- Hagenauer, J.; Helbich, M. A comparative study of machine learning classifiers for modeling travel mode choice. Expert Syst. Appl. 2017, 78, 273–282. [Google Scholar] [CrossRef]
- Toque, F.; Khouadjia, M.; Come, E.; Trepanier, M.; Oukhellou, L. Short & Long Term Forecasting of Multimodal Transport Passenger Flows with Machine Learning Methods. In Proceedings of the 20th IEEE International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017. [Google Scholar]
- Das, R.D.; Winter, S. A fuzzy logic based transport mode detection framework in urban environment. J. Intell. Transp. Syst. 2018, 22, 478–489. [Google Scholar] [CrossRef]
- Zhou, X.L.; Wang, M.S.; Li, D.Y. Bike-sharing or taxi? Modeling the choices of travel mode in Chicago using machine learning. J. Transp. Geogr. 2019, 79, 102479. [Google Scholar] [CrossRef]
- Servos, N.; Liu, X.D.; Teucke, M.; Freitag, M. Travel Time Prediction in a Multimodal Freight Transport Relation Using Machine Learning Algorithms. Logistics 2020, 4, 1. [Google Scholar] [CrossRef]
- Borodinov, A.A.; Myasnikov, V.V. Evaluating Classifiers to Determine User-Preferred Stops in a Personalized Recommender System. In Proceedings of the 12th International Conference on Machine Vision (ICMV), Amsterdam, The Netherlands, 16–18 November 2019. [Google Scholar]
- Donald, S.; Alexandra, S.C.; Oliveira, M.M.d.R.; César, C. Predicting dengue importation into Europe, using machine learning and model-agnostic methods. Sci. Rep. 2020, 10, 9689. [Google Scholar]
- Liang, X.Y.; Wang, G.L. A Convolutional Neural Network for Transportation Mode Detection Based on Smartphone Platform. In Proceedings of the 14th IEEE International Conference on Mobile Ad Hoc and Sensor Systems (MASS), Orlando, FL, USA, 22–25 October 2017; pp. 338–342. [Google Scholar]
- Dabiri, S.; Heaslip, K. Inferring transportation modes from GPS trajectories using a convolutional neural network. Transp. Res. Part C Emerg. Technol. 2018, 86, 360–371. [Google Scholar] [CrossRef]
- Dabiri, S.; Lu, C.T.; Heaslip, K.; Reddy, C.K. Semi-Supervised Deep Learning Approach for Transportation Mode Identification Using GPS Trajectory Data. IEEE Trans. Knowl. Data Eng. 2020, 32, 1010–1023. [Google Scholar] [CrossRef]
- Qin, Y.J.; Luo, H.Y.; Zhao, F.; Wang, C.X.; Wang, J.Q.; Zhang, Y.X. Toward Transportation Mode Recognition Using Deep Convolutional and Long Short-Term Memory Recurrent Neural Networks. IEEE Access 2019, 7, 142353–142367. [Google Scholar] [CrossRef]
- Nawaz, A.; Huang, Z.Q.; Wang, S.Z.; Hussain, Y.; Khan, I.; Khan, Z. Convolutional LSTM based transportation mode learning from raw GPS trajectories. Iet Intell. Transp. Syst. 2020, 14, 570–577. [Google Scholar] [CrossRef]
- Bejani, M.M.; Ghatee, M. Convolutional Neural Network With Adaptive Regularization to Classify Driving Styles on Smartphones. IEEE Trans. Intell. Transp. Syst. 2020, 21, 543–552. [Google Scholar] [CrossRef]
- Okmi, M.; Por, L.Y.; Ang, T.F.; Ku, C.S. Mobile Phone Data: A Survey of Techniques, Features, and Applications. Sensors 2023, 23, 908. [Google Scholar] [CrossRef]
- Blondel, V.D.; Decuyper, A.; Krings, G. A survey of results on mobile phone datasets analysis. EPJ Data Sci. 2015, 4, 10. [Google Scholar] [CrossRef]
- Calabrese, F.; Ferrari, L.; Blondel, V.D. Urban Sensing Using Mobile Phone Network Data: A Survey of Research. ACM Comput. Surv. 2014, 47, 25. [Google Scholar] [CrossRef]
- Tsai, K.L.; Liu, H.Y.; Liu, Y.W. Using fuzzy logic to reduce ping-pong handover effects in LTE networks. Soft Comput. 2016, 20, 1683–1694. [Google Scholar] [CrossRef]
- Yao, G.L.; Lei, T.; Zhong, J.D. A review of Convolutional-Neural-Network-based action recognition. Pattern Recognit. Lett. 2019, 118, 14–22. [Google Scholar] [CrossRef]
- Ye, R.; Dai, Q. Implementing transfer learning across different datasets for time series forecasting. Pattern Recognit. 2021, 109, 107617. [Google Scholar] [CrossRef]
- Kingma, D.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Glorot, X.; Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. J. Mach. Learn. Res. 2010, 9, 249–256. [Google Scholar]
- Liang, X.; Zhang, Y.; Wang, G.; Xu, S. A Deep Learning Model for Transportation Mode Detection Based on Smartphone Sensing Data. IEEE Trans. Intell. Transp. Syst. 2020, 21, 5223–5235. [Google Scholar] [CrossRef]
User_id | Come_Time | lon | lat | dis | avg_spd | accel | dire |
---|---|---|---|---|---|---|---|
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.723999 | 25.117001 | ⋯ | ⋯ | ⋯ | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.737129 | 25.117001 | ⋯ | ⋯ | ⋯ | |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.740977 | 25.117001 | ⋯ | ⋯ | ⋯ | |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.733002 | 25.117001 | ⋯ | ⋯ | ⋯ | |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.723999 | 25.117001 | ⋯ | ⋯ | ⋯ | |
⋯ | ⋯ | ⋯ | ⋯ | ⋯ | ⋯ | ⋯ | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.657997 | 25.117001 | ⋯ | ⋯ | ⋯ | |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.650002 | 25.117001 | ⋯ | ⋯ | ⋯ |
Code | Description |
---|---|
Timestamp | Signaling generation time, time stamped by the vendor on the capture card for successful signaling processes, accurate to the second. |
imsi | User identification code, also known as mobile phone identification code, IMSI or the result of a single encryption by IMSI, uniquely identifies the phone. |
mcc | Mobile Country Code |
mnc | Mobile Network Code |
lac | Base station location area code |
cid | Cell identification code |
lng | Longitude |
lat | Latitude |
User_id | Come_Time | lon | lat | County_Name | ⋯ |
---|---|---|---|---|---|
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.723999 | 25.117001 | Wuhua | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.737129 | 25.117001 | Wuhua | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.740977 | 25.117001 | Panlong | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.733002 | 25.117001 | Wuhua | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.723999 | 25.117001 | Wuhua | ⋯ |
⋯ | ⋯ | ⋯ | ⋯ | ⋯ | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.657997 | 25.117001 | Xishan | ⋯ |
Dacp::++20⋯LK4Hjz+ | 20210517111249 | 102.650002 | 25.117001 | Xishan | ⋯ |
Mode of Transport | Paragraphs | Average Speed (m/s) | Maximum Acceleration (m/s2) |
---|---|---|---|
Walking | 10,233 | 4 | 3 |
Riding | 5568 | 12 | 4 |
Driving | 3362 | 46 | 10 |
Bus | 3486 | 35 | 8 |
Underground | 8977 | 60 | 6 |
Positive Prediction | Negative Prediction | |
---|---|---|
Positive Class | TP | FN |
Negative Class | FP | TN |
Precision | P = TP/(TP + FP) | |
Recall | R = TP/(TP + FN) | |
F1-score | F1 = 2PR/(P + R) |
Mode | Class | Recall (%) | F-Score (%) | ||||
---|---|---|---|---|---|---|---|
Walk | Bicycle | Drive | Bus | Underground | |||
walk | 2075 | 53 | 7 | 46 | 2 | 92.7 | 89.6 |
bicycle | 172 | 935 | 12 | 34 | 3 | 84.8 | 75.2 |
drive | 147 | 43 | 1230 | 78 | 24 | 81.2 | 79.8 |
bus | 71 | 18 | 153 | 607 | 32 | 67.5 | 79.8 |
underground | 75 | 21 | 22 | 43 | 879 | 85.5 | 74.8 |
Accuracy (%) | 81.6 | 90.3 | 80.7 | 86.7 | 86.3 | - | - |
Model | Test Accuracy (%) | Average Precision (%) | Recall (%) | F-Score (%) |
---|---|---|---|---|
SVM | 65.3 | 65.3 | 65.3 | 65.3 |
DT | 75.2 | 75.2 | 75.2 | 75.2 |
RT | 79.8 | 79.8 | 79.8 | 79.8 |
MLP | 79.8 | 79.8 | 79.8 | 79.8 |
CNN | 75.7 | 75.2 | 75.6 | 74.8 |
Best CNN | 84.7 | 86.3 | 82.4 | 83.9 |
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. |
© 2023 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
Yang, Z.; Xie, Z.; Hou, Z.; Ji, C.; Deng, Z.; Li, R.; Wu, X.; Zhao, L.; Ni, S. A Method of User Travel Mode Recognition Based on Convolutional Neural Network and Cell Phone Signaling Data. Electronics 2023, 12, 3698. https://doi.org/10.3390/electronics12173698
Yang Z, Xie Z, Hou Z, Ji C, Deng Z, Li R, Wu X, Zhao L, Ni S. A Method of User Travel Mode Recognition Based on Convolutional Neural Network and Cell Phone Signaling Data. Electronics. 2023; 12(17):3698. https://doi.org/10.3390/electronics12173698
Chicago/Turabian StyleYang, Zhibing, Zhiqiang Xie, Zhiqun Hou, Chunhou Ji, Zhanting Deng, Rong Li, Xiaodong Wu, Lei Zhao, and Shu Ni. 2023. "A Method of User Travel Mode Recognition Based on Convolutional Neural Network and Cell Phone Signaling Data" Electronics 12, no. 17: 3698. https://doi.org/10.3390/electronics12173698
APA StyleYang, Z., Xie, Z., Hou, Z., Ji, C., Deng, Z., Li, R., Wu, X., Zhao, L., & Ni, S. (2023). A Method of User Travel Mode Recognition Based on Convolutional Neural Network and Cell Phone Signaling Data. Electronics, 12(17), 3698. https://doi.org/10.3390/electronics12173698