Technical Papers
Jun 17, 2023

Exploring Activity Patterns and Trip Purposes of Public Transport Passengers from Smart Card Data

Publication: Journal of Transportation Engineering, Part A: Systems
Volume 149, Issue 9

Abstract

With the development of technology, there is an increasing number of automatically collected data sources applied in human mobility research. Although these data sets can record travel spatiotemporal information, the semantical information of travel cannot be reflected, e.g., activity pattern or trip purpose. In this paper, we proposed a methodological framework to explore the activity patterns and trip purposes of public transit riders using smart card data in an unsupervised way. First, the heuristic rules are proposed to identify home/working activity based on the multidays travel regularity of passengers. Second, we use a modified latent Dirichlet allocation (LDA) model to explore the activity patterns for the remaining activities based on four activity attributes (including arrival time, duration, day of the week, and destination station functional attribute). In this model, the trip attributes of each passenger are considered as a word in the document with specific topics that correspond to different activity characteristics, based on which the trip purpose of each topic is inferred to interpret travel behavior. The proposed methodology is demonstrated using transit smart card data from Beijing. The performance of our model is compared with two baselines based on perplexity and the result shows that our model achieved the best. Besides, the proportions of inferred trip purposes are compared to the values from travel survey in 2020 Beijing Transport Development Annual Report. The reliability of the results is further confirmed. This work can be extended to other automated travel datasets without ground-truth labels and used to understand and predict travel demand.

Practical Applications

This paper proposes an integrated methodological framework to using trip records to explore activity behavior and infer the trip purpose of public transport passenger from smart card data in an unsupervised way. The methodology is implemented on the smart card data in Beijing and demonstrated the availability. The results show that the performance of our model is superior to the other two baselines, moreover, the proportions of inferred different trip purposes are approximate to the ground-truth data from travel survey in the 2020 Beijing Transport Development Annual Report. The methodology can be extended to other automated travel datasets without ground-truth labels and the result can be used to understand and predict travel demand. The study makes it possible to enrich human mobility data, which eventually would be meaningful for comprehensive city transport planning and management and can initiate a new wave of innovative applications in the public transit network, such as passenger portrayal and targeted advertising.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

Some or all data, models, or code generated or used during the study are proprietary or confidential in nature and may only be provided with restrictions.
1.
Smart card data in Beijing: This data is in cooperation with the relevant departments. Therefore, this data is provided with restrictions.
2.
Data preprocess method: The related codes are available from the corresponding author if requested.
3.
LDA model: The code is also available from the corresponding author if requested.

Acknowledgments

Author contributions: The authors confirm their contribution to the paper as follows: study conception and design: Zifan Wang, Yanyan Chen, Jiachen Wang; data collection: Zifan Wang, Yanyan Chen; analysis and interpretation of results: Zifan Wang; draft manuscript preparation: Zifan Wang, Haodong Sun. All authors reviewed the results and approved the final version of the manuscript.

References

Alawneh, L., T. Alsarhan, M. Al-Zinati, M. Al-Ayyoub, Y. Jararweh, and H. Lu. 2021. “Enhancing human activity recognition using deep learning and time series augmented data.” J. Ambient Intell. Hum. Comput. 12 (12): 10565–10580. https://doi.org/10.1007/s12652-020-02865-4.
Almaslukh, B., A. M. Artoli, and J. Al-Muhtadi. 2018. “A robust deep learning approach for position-independent smartphone-based human activity recognition.” Sensors (Basel) 18 (11): 3726. https://doi.org/10.3390/s18113726.
Alo, U. R., H. F. Nweke, Y. W. Teh, and G. Murtaza. 2020. “Smartphone motion sensor-based complex human activity identification using deep stacked autoencoder algorithm for enhanced smart healthcare system.” Sensors (Basel) 20 (21): 6300. https://doi.org/10.3390/s20216300.
Alsger, A., A. Tavassoli, M. Mesbah, L. Ferreira, and M. Hickman. 2018. “Public transport trip purpose inference using smart card fare data.” Transp. Res. Part C: Emerging Technol. 87 (Feb): 123–137. https://doi.org/10.1016/j.trc.2017.12.016.
Bao, J., C. Xu, P. Liu, and W. Wang. 2017. “Exploring bikesharing travel patterns and trip purposes using smart card data and online point of interests.” Networks Spatial Econ. 17 (4): 1231–1253. https://doi.org/10.1007/s11067-017-9366-x.
Bowman, J. L., and M. E. Ben-Akiva. 2000. “Activity-based disaggregate travel demand model system with activity schedules.” Transp. Res. Part A: Policy Pract. 35 (1): 1–28. https://doi.org/10.1016/S0965-8564(99)00043-9.
Chen, C., S. Jiao, S. Zhang, W. Liu, L. Feng, and Y. Wang. 2018a. “TripImputor: Real-time imputing taxi trip purpose leveraging multi-sourced urban data.” IEEE Trans. Intell. Transp. Syst. 19 (10): 3292–3304. https://doi.org/10.1109/TITS.2017.2771231.
Chen, C., C. Liao, X. Xie, Y. Wang, and J. Zhao. 2018b. “Trip2Vec: A deep embedding approach for clustering and profiling taxi trip purposes.” Pers. Ubiquitous Comput. 23 (1): 53–66. https://doi.org/10.1007/s00779-018-1175-9.
Ectors, W., S. Reumers, W. D. Lee, K. Choi, B. Kochan, D. Janssens, T. Bellemans, and G. Wets. 2017. “Developing an optimized activity type annotation method based on classification accuracy and entropy indices.” Transportmetrica A 13 (8): 742–766. https://doi.org/10.1080/23249935.2017.1331275.
Ermagun, A., Y. Fan, J. Wolfson, G. Adomavicius, and K. Das. 2017. “Real-time trip purpose prediction using online location-based search and discovery services.” Transp. Res. Part C: Emerging Technol. 77 (Apr): 96–112. https://doi.org/10.1016/j.trc.2017.01.020.
Faroqi, H., and M. Mesbah. 2021. “Inferring trip purpose by clustering sequences of smart card records.” Transp. Res. Part C: Emerging Technol. 127 (Jun): 103131. https://doi.org/10.1016/j.trc.2021.103131.
Furletti, B., P. Cintia, C. Renso, and L. Spinsanti. 2013. “Inferring human activities from GPS tracks.” In Proc., 2nd ACM SIGKDD Int. Workshop on Urban Computing, 1–8. New York: Association for Computing Machinery. https://doi.org/10.1145/2505821.2505830.
Griffiths, T. L., and M. Steyvers. 2004. “Finding scientific topics.” Supplement, Proc. Nat. Acad. Sci. 101 (S1): 5228–5235. https://doi.org/10.1073/pnas.0307752101.
Han, G., and K. Sohn. 2016. “Activity imputation for trip-chains elicited from smart-card data using a continuous hidden Markov model.” Transp. Res. Part B: Methodol. 83 (Jan): 121–135. https://doi.org/10.1016/j.trb.2015.11.015.
Hasan, S., C. M. Schneider, S. V. Ukkusuri, and M. C. González. 2012. “Spatiotemporal patterns of urban human mobility.” J. Stat. Phys. 151 (1–2): 304–318. https://doi.org/10.1007/s10955-012-0645-0.
Jean Wolf, R. G., and W. Bachman. 2001. “Elimination of the travel diary experiment to derive trip purpose from global positioning system travel data.” Transp. Res. Rec. 1768 (1): 125–134. https://doi.org/10.3141/1768-15.
Li, W., Y. Ji, X. Cao, and X. Qi. 2020. “Trip purpose identification of docked bike-sharing from IC card data using a continuous hidden Markov model.” IEEE Access 8 (Sep): 189598–189613. https://doi.org/10.1109/ACCESS.2020.3026685.
Li, Z., G. Xiong, Z. Wei, Y. Zhang, M. Zheng, X. Liu, S. Tarkoma, M. Huang, Y. Lv, and C. Wu. 2021. “Trip purposes mining from mobile signaling data.” IEEE Trans. Intell. Transp. Syst. 23 (8): 13190–13202. https://doi.org/10.1109/TITS.2021.3121551.
Lin, P. F., J. C. Weng, S. Hu, Y. Q. Jin, and B. C. Yin. 2020. “Day-to-day similarity of individual activity chain of public transport passengers.” J. Transp. Syst. Eng. Inf. Technol. 20 (6): 178–183. https://doi.org/10.16097/j.cnki.1009-6744.2020.06.023.
Liu, F., D. Janssens, G. Wets, and M. Cools. 2013. “Annotating mobile phone location data with activity purposes using machine learning algorithms.” Expert Syst. Appl. 40 (8): 3299–3311. https://doi.org/10.1016/j.eswa.2012.12.100.
Lu, Y., and L. Zhang. 2015. “Imputing trip purposes for long-distance travel.” Transportation 42 (4): 581–595. https://doi.org/10.1007/s11116-015-9595-0.
Ma, X., C. Liu, H. Wen, Y. Wang, and Y.-J. Wu. 2017. “Understanding commuting patterns using transit smart card data.” J. Transp. Geogr. 58 (Jan): 135–145. https://doi.org/10.1016/j.jtrangeo.2016.12.001.
Montini, L., N. Rieser-Schüssler, A. Horni, and K. W. Axhausen. 2014. “Trip purpose identification from GPS tracks.” Transp. Res. Rec. 2405 (1): 16–23. https://doi.org/10.3141/2405-03.
Ni, L., X. Wang, and X. Chen. 2018. “A spatial econometric model for travel flow analysis and real-world applications with massive mobile phone data.” Transp. Res. Part C: Emerging Technol. 86 (Jan): 510–526. https://doi.org/10.1016/j.trc.2017.12.002.
Ning, Z., L. Yuefeng, and W. Sheng-Tang. 2012. “Effective pattern discovery for text mining.” IEEE Trans. Knowl. Data Eng. 24 (1): 30–44. https://doi.org/10.1109/TKDE.2010.211.
Nweke, H. F., Y. W. Teh, M. A. Al-garadi, and U. R. Alo. 2018. “Deep learning algorithms for human activity recognition using mobile and wearable sensor networks: State of the art and research challenges.” Expert Syst. Appl. 105 (Sep): 233–261. https://doi.org/10.1016/j.eswa.2018.03.056.
Oliveira, M. G. S., P. Vovsha, J. Wolf, and M. Mitchell. 2014. “Evaluation of two methods for identifying trip purpose in GPS-based household travel surveys.” Transp. Res. Rec. 2405 (1): 33–41. https://doi.org/10.3141/2405-05.
Peng, L., L. Chen, M. Wu, and G. Chen. 2019. “Complex activity recognition using acceleration, vital sign, and location data.” IEEE Trans. Mob. Comput. 18 (7): 1488–1498. https://doi.org/10.1109/TMC.2018.2863292.
Porteous, I., D. Newman, A. Ihler, A. Asuncion, P. Smyth, and M. Welling. 2008. “Fast collapsed Gibbs sampling for latent Dirichlet allocation.” In Proc., 14th ACM SIGKDD Int. Conf. on Knowledge Discovery and Data Mining, 569–577. New York: Association for Computing Machinery. https://doi.org/10.1145/1401890.1401960.
Rasouli, S., and H. Timmermans. 2013. “Activity-based models of travel demand: Promises, progress and prospects.” Int. J. Urban Sci. 18 (1): 31–60. https://doi.org/10.1080/12265934.2013.835118.
Sansano, E., R. Montoliu, and Ó. Belmonte Fernández. 2020. “A study of deep neural networks for human activity recognition.” Comput. Intell. 36 (3): 1113–1139. https://doi.org/10.1111/coin.12318.
Sari Aslam, N., M. R. Ibrahim, T. Cheng, H. Chen, and Y. Zhang. 2021. “ActivityNET: Neural networks to predict public transport trip purposes from individual smart card data and POIs.” Geo-Spatial Inf. Sci. 24 (4): 711–721. https://doi.org/10.1080/10095020.2021.1985943.
Spinsanti, L., F. Celli, and C. Renso. 2010. “Where you stop is who you are: Understanding people’s activities by places visited.” In Proc., Behaviour Monitoring and Interpretation (BMI) Workshop. Amsterdam, Netherlands: IOS Press. https://doi.org/https://www.researchgate.net/publication/271738077.
Sun, H., Y. Chen, Y. Wang, and X. Liu. 2021. “Trip purpose inference for tourists by machine learning approaches based on mobile signaling data.” J. Ambient Intell. Hum. Comput. 1–5. https://doi.org/10.1007/s12652-021-03346-y.
Thakur, D., and S. Biswas. 2020. “Smartphone based human activity monitoring and recognition using ML and DL: A comprehensive survey.” J. Ambient Intell. Hum. Comput. 11 (11): 5433–5444. https://doi.org/10.1007/s12652-020-01899-y.
Xiao, G., Z. Juan, and C. Zhang. 2016. “Detecting trip purposes from smartphone-based travel surveys with artificial neural networks and particle swarm optimization.” Transp. Res. Part C: Emerging Technol. 71 (Oct): 447–463. https://doi.org/10.1016/j.trc.2016.08.008.
Zhao, H., D. Qian, Y. Lv, B. Zhang, and R. Liang. 2019. “Development of a global positioning system data-based trip-purpose inference method for hazardous materials transportation management.” J. Intell. Transp. Syst. 24 (1): 24–39. https://doi.org/10.1080/15472450.2019.1615487.
Zhao, Z., H. N. Koutsopoulos, and J. Zhao. 2018. “Discovering latent activity patterns from human mobility.” In Proc., 7th ACM SIGKDD Int. Workshop Urban Computing, 1–9. New York: Association for Computing Machinery. https://doi.org/https://www.researchgate.net/publication/328213635.
Zhao, Z., H. N. Koutsopoulos, and J. Zhao. 2020. “Discovering latent activity patterns from transit smart card data: A spatiotemporal topic model.” Transp. Res. Part C: Emerging Technol. 116 (Jul): 102627. https://doi.org/10.1016/j.trc.2020.102627.
Zhong, N., Y. Li, and S.-T. Wu. 2010. “Effective pattern discovery for text mining.” IEEE Trans. Knowl. Data Eng. 24 (1): 30–44. https://doi.org/10.1109/TKDE.2010.211.
Zhu, Y. 2018. “Estimating the activity types of transit travelers using smart card transaction data: A case study of Singapore.” Transportation 47 (6): 2703–2730. https://doi.org/10.1007/s11116-018-9881-8.
Zou, Q., X. Yao, P. Zhao, H. Wei, and H. Ren. 2016. “Detecting home location and trip purposes for cardholders by mining smart card transaction data in Beijing subway.” Transportation 45 (3): 919–944. https://doi.org/10.1007/s11116-016-9756-9.

Information & Authors

Information

Published In

Go to Journal of Transportation Engineering, Part A: Systems
Journal of Transportation Engineering, Part A: Systems
Volume 149Issue 9September 2023

History

Received: Aug 24, 2022
Accepted: Feb 8, 2023
Published online: Jun 17, 2023
Published in print: Sep 1, 2023
Discussion open until: Nov 17, 2023

Permissions

Request permissions for this article.

Authors

Affiliations

Yanyan Chen, Ph.D. [email protected]
Professor, Beijing Key Laboratory of Traffic Engineering, Beijing Univ. of Technology, Beijing 100124, China (corresponding author). Email: [email protected]
Master’s Candidate, Beijing Key Laboratory of Traffic Engineering, Beijing Univ. of Technology, Beijing 100124, China. Email: [email protected]
Haodong Sun [email protected]
Ph.D. Candidate, Beijing Key Laboratory of Traffic Engineering, Beijing Univ. of Technology, Beijing 100124, China. Email: [email protected]
Jiachen Wang [email protected]
Undergraduate, Faculty of Information Technology, Beijing Univ. of Technology, Beijing 100124, China. Email: [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share