Improving the Accuracy of Travel Mode Detection for Low Data Collection Frequencies

Muhammad Awais Shafique, Eiji Hato


Smartphones are a necessary part of our daily lives, and are equipped with a range of sensors. These two characteristics make them a much preferred data collection device, when compared with other wearable sensors and devices. However, due to huge amount of data collected, issues like processing cost and battery consumption are limiting factors. In order to tackle these issues, the current study aims at achieving acceptable detection accuracy while decreasing the data collection frequency, hence reducing processing cost and battery consumption. To begin with, several classification algorithms are compared. Results suggest that boosted decision tree provides the highest accuracy closely followed by random forest; however, random forest is preferred because it requires less processing time. Detection accuracies are calculated at various data collection frequencies, and subsequently improved by addressing the issue of imbalanced data with the introduction of weighted random forest. Further improvement is achieved by applying a two-step post-processing method. Overall accuracy for 0.2 Hz frequency data is improved from 94.98% to 98.78%, whereas for 0.067 Hz frequency, the increase is from 89.16% to 95.40%. Accuracy drop of 3.42% from 0.2 Hz to 0.067 Hz is tolerable because it results in 81.96% decrease in processing time.

Full Text:



Anderson, I. and H. Muller (2006), "Practical Activity Recognition using GSM Data," Department of Computer Science, University of Bristol 2000563.

Asakura, Y. and E. Hato (2001), "Behavioral monitoring of public transport users through a mobile communication system," Journal of advanced transportation, vol. 35, pp. 289-304.

Asakura, Y. and E. Hato (2004), "Tracking survey for individual travel behaviour using mobile communication instruments," Transportation Research Part C: Emerging Technologies, vol. 12, pp. 273-291.

Bieber, G., T. Kirste, and M. Gaede (2014), "Low sampling rate for physical activity recognition," in Proceedings of the 7th International Conference on PErvasive Technologies Related to Assistive Environments, p. 15.

Byon, Y.-J., B. Abdulhai, and A. S. Shalaby (2007), "Impact of sampling rate of GPS-enabled cell phones on mode detection and GIS map matching performance," in Transportation Research Board 86th Annual Meeting.

Chawla, N. V., K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer (2002), "SMOTE: synthetic minority over-sampling technique," Journal of artificial intelligence research, vol. 16, pp. 321-357.

Dalumpines, R. and D. M. Scott (2017), "Making mode detection transferable: extracting activity and travel episodes from GPS data using the multinomial logit model and Python," Transportation Planning and Technology, pp. 1-17.

Gonzalez, P., J. Weinstein, S. Barbeau, M. Labrador, P. Winters, N. L. Georggi, et al. (2008), "Automating mode detection using neural networks and assisted GPS data collected using GPS-enabled mobile phones," in 15th World congress on intelligent transportation systems.

Hemminki, S., P. Nurmi, and S. Tarkoma (2013), "Accelerometer-based transportation mode detection on smartphones," in Proceedings of the 11th ACM Conference on Embedded Networked Sensor Systems, p. 13.

Kubat, M. and S. Matwin (1997), "Addressing the curse of imbalanced data sets: One sided sampling," in Proc. of the Int'l Conf. on Machine Learning.

Kwapisz, J. R., G. M. Weiss, and S. A. Moore (2011), "Activity recognition using cell phone accelerometers," ACM SigKDD Explorations Newsletter, vol. 12, pp. 74-82.

Ling, C. X. and C. Li (1998), "Data Mining for Direct Marketing: Problems and Solutions," in KDD, pp. 73-79.

Moiseeva, A. and H. Timmermans (2010), "Imputing relevant information from multi-day GPS tracers for retail planning and management using data fusion and context-sensitive learning," Journal of Retailing and Consumer Services, vol. 17, pp. 189-199.

Mun, M., D. Estrin, J. Burke, and M. Hansen (2008), "Parsimonious Mobility Classification using GSM and WiFi Traces," presented at the Fifth Workshop on Embedded Networked Sensors.

Nham, B., K. Siangliulue, and S. Yeung (2008), "Predicting mode of transport from iphone accelerometer data," Machine Learning Final Projects, Stanford University.

Nick, T., E. Coersmeier, J. Geldmacher, and J. Goetze (2010), "Classifying means of transportation using mobile sensor data," in Neural Networks (IJCNN), The 2010 International Joint Conference on, pp. 1-6.

Pereira, F., C. Carrion, F. Zhao, C. D. Cottrill, C. Zegras, and M. Ben-Akiva (2013), "The Future Mobility Survey: Overview and Preliminary Evaluation," in Proceedings of the Eastern Asia Society for Transportation Studies.

Reddy, S., M. Mun, J. Burke, D. Estrin, M. Hansen, and M. Srivastava (2010), "Using mobile phones to determine transportation modes," ACM Trans. Sen. Netw., vol. 6, pp. 1-27.

Shafique, M. A. and E. Hato (2015), "Use of acceleration data for transportation mode prediction," Transportation, vol. 42, pp. 163-188.

Shafique, M. A. and E. Hato (2016), "Travel Mode Detection with varying Smartphone Data Collection Frequencies," Sensors, vol. 16, p. 716.

Shen, L. and P. Stopher (2013), "Should we change the rules for trip identification for GPS travel records," in Proceedings of the 36th Australasian Transport Research Forum ATRF.

Shin, D., D. Aliaga, B. Tunçer, S. M. Arisona, S. Kim, D. Zünd, et al. (2014), "Urban sensing: Using smartphones for transportation mode classification," Computers, Environment and Urban Systems.

Sohn, T., A. Varshavsky, A. LaMarca, M. Chen, T. Choudhury, I. Smith, et al. (2006), "Mobility Detection Using Everyday GSM Traces," in UbiComp 2006: Ubiquitous Computing. vol. 4206, P. Dourish and A. Friday, Eds., ed: Springer Berlin Heidelberg, pp. 212-224.

Tsui, S. Y. A. and A. Shalaby (2006), "Enhanced System for Link and Mode Identification for Personal Travel Surveys Based on Global Positioning Systems," Transportation Research Record: Journal of the Transportation Research Board, pp. 38-45.

Xia, H., Y. Qiao, J. Jian, and Y. Chang (2014), "Using smart phone sensors to detect transportation modes," Sensors, vol. 14, pp. 20843-20865.

Yang, J. (2009), "Toward physical activity diary: motion recognition using simple acceleration features with mobile phones," in Proceedings of the 1st international workshop on Interactive multimedia for consumer electronics, pp. 1-10.

Yu, M.-C., T. Yu, C. Lin, and E. Chang (2013), "Low power and low cost sensor hub for transportation-mode detection," Studio Engineering, HTC, Tech. Rep.

Yu, M.-C., T. Yu, S.-C. Wang, D. SC, C.-J. Lin, and E. Y. Chang (2014), "Big data small footprint: The design of a low-power classifier for detecting transportation modes," Proceedings of the VLDB Endowment, vol. 7, pp. 1429-1440.

Zhang, L., S. Dalyot, D. Eggert, and M. Sester (2011), "Multi-stage approach to travel-mode segmentation and classification of gps traces," in ISPRS Workshop on Geospatial Data Infrastructure: from data acquisition and updating to smarter services.

Zheng, Y., L. Liu, L. Wang, and X. Xie (2008), "Learning transportation mode from raw gps data for geographic applications on the web," presented at the Proceedings of the 17th international conference on World Wide Web, Beijing, China.

Zhou, X., W. Yu, and W. C. Sullivan (2016), "Making pervasive sensing possible: Effective travel mode sensing based on smartphones," Computers, Environment and Urban Systems, vol. 58, pp. 52-59.

Copyright (c) 2020 Pakistan Journal of Engineering and Applied Sciences

Powered By KICS