Skip to main content

Predicting Next Whereabouts Using Deep Learning

  • Conference paper
  • First Online:
Modeling Decisions for Artificial Intelligence (MDAI 2023)

Abstract

Trajectory prediction is a key task in the study of human mobility. This task can be done by considering a sequence of GPS locations and using different mechanisms to predict the following point that will be visited. The trajectory prediction is usually performed using methods like Markov Chains or architectures that rely on Recurrent Neural Networks (RNN). However, the use of Transformers neural networks has lately been adopted for sequential prediction tasks because of the increased efficiency achieved in training. In this paper, we propose AP-Traj (Attention and Possible directions for TRAJectory), which predicts a user’s next location based on the self-attention mechanism of the transformers encoding and a directed graph representing the road segments of the area visited. Our method achieves results comparable to the state-of-the-art model for this task but is up to 10 times faster.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Aslak, U., Alessandretti, L.: Infostop: Scalable stop-location detection in multi-user mobility data. arXiv preprint arXiv:2003.14370 (2020)

  2. Bray, J., Feldblum, J.T., Gilby, I.C.: Social bonds predict dominance trajectories in adult male chimpanzees. Anim. Behav. 179, 339–354 (2021)

    Article  Google Scholar 

  3. Chen, Y.C., Thaipisutikul, T., Shih, T.K.: A learning-based poi recommendation with spatiotemporal context awareness. IEEE Trans. Cybern. 52(4), 2453–2466 (2022). https://doi.org/10.1109/TCYB.2020.3000733

    Article  Google Scholar 

  4. Feng, J., Li, Y., Yang, Z., Qiu, Q., Jin, D.: Predicting human mobility with semantic motivation via multi-task attentional recurrent networks. IEEE Transactions on Knowledge and Data Engineering (2020)

    Google Scholar 

  5. Gambs, S., Killijian, M.O., del Prado Cortez, M.N.: Next place prediction using mobility Markov chains. In: Proceedings of the First Workshop on Measurement, Privacy, and Mobility, pp. 1–6 (2012)

    Google Scholar 

  6. Grigsby, J., Wang, Z., Qi, Y.: Long-range transformers for dynamic spatiotemporal forecasting. arXiv preprint arXiv:2109.12218 (2021)

  7. Hong, Y., Martin, H., Raubal, M.: How do you go where? improving next location prediction by learning travel mode information using transformers. arXiv preprint arXiv:2210.04095 (2022)

  8. Huang, L., Zhuang, J., Cheng, X., Xu, R., Ma, H.: STI-GAN: multimodal pedestrian trajectory prediction using spatiotemporal interactions and a generative adversarial network. IEEE Access 9, 50846–50856 (2021)

    Article  Google Scholar 

  9. Liang, Y., Zhao, Z.: NetTraj: a network-based vehicle trajectory prediction model with directional representation and spatiotemporal attention mechanisms. IEEE Transactions on Intelligent Transportation Systems (2021)

    Google Scholar 

  10. Liu, R.W., et al.: STMGCN: mobile edge computing-empowered vessel trajectory prediction using spatio-temporal multi-graph convolutional network. IEEE Transactions on Industrial Informatics (2022)

    Google Scholar 

  11. Lou, Y., Zhang, C., Zheng, Y., Xie, X., Wang, W., Huang, Y.: Map-matching for low-sampling-rate GPS trajectories. In: Proceedings of the 17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 352–361 (2009)

    Google Scholar 

  12. Pang, Y., Zhao, X., Hu, J., Yan, H., Liu, Y.: Bayesian spatio-temporal graph transformer network (b-star) for multi-aircraft trajectory prediction. Knowledge-Based Systems, p. 108998 (2022)

    Google Scholar 

  13. Shao, K., Wang, Y., Zhou, Z., Xie, X., Wang, G.: TrajForesee: how limited detailed trajectories enhance large-scale sparse information to predict vehicle trajectories? In: 2021 IEEE 37th International Conference on Data Engineering (ICDE), pp. 2189–2194. IEEE (2021)

    Google Scholar 

  14. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems 30 (2017)

    Google Scholar 

  15. Yan, B., Zhao, G., Song, L., Yu, Y., Dong, J.: PreCLN: pretrained-based contrastive learning network for vehicle trajectory prediction. World Wide Web, pp. 1–23 (2022)

    Google Scholar 

  16. Yang, C., Gidofalvi, G.: Fast map matching, an algorithm integrating hidden Markov model with precomputation. Int. J. Geogr. Inf. Sci. 32(3), 547–570 (2018). https://doi.org/10.1080/13658816.2017.1400548

    Article  Google Scholar 

  17. Yuan, J., Zheng, Y., Xie, X., Sun, G.: Driving with knowledge from the physical world. In: Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 316–324 (2011)

    Google Scholar 

  18. Yuan, J., et al. : T-drive: driving directions based on taxi trajectories. In: Proceedings of the 18th SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 99–108 (2010)

    Google Scholar 

  19. Zheng, Y., Li, Q., Chen, Y., Xie, X., Ma, W.Y.: Understanding mobility based on GPS data. In: Proceedings of the 10th International Conference on Ubiquitous Computing, pp. 312–321 (2008)

    Google Scholar 

  20. Zheng, Y., Xie, X., Ma, W.Y., et al.: GeoLife: a collaborative social networking service among user, location and trajectory. IEEE Data Eng. Bull. 33(2), 32–39 (2010)

    Google Scholar 

  21. Zheng, Y., Zhang, L., Xie, X., Ma, W.Y.: Mining interesting locations and travel sequences from GPS trajectories. In: Proceedings of the 18th International Conference on World Wide Web, pp. 791–800 (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hugo Alatrista-Salas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Galarreta, AP., Alatrista-Salas, H., Nunez-del-Prado, M. (2023). Predicting Next Whereabouts Using Deep Learning. In: Torra, V., Narukawa, Y. (eds) Modeling Decisions for Artificial Intelligence. MDAI 2023. Lecture Notes in Computer Science(), vol 13890. Springer, Cham. https://doi.org/10.1007/978-3-031-33498-6_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-33498-6_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-33497-9

  • Online ISBN: 978-3-031-33498-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics