Skip to main content
Log in

Point-of-interest recommendation based on bidirectional self-attention mechanism by fusing spatio-temporal preference

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Point-of-Interest (POI) recommendation has emerged as a significant research area within Location-Based Social Networks (LBSNs). Many extant POI recommendation approaches utilize a unidirectional structure to encode users’ historical check-in sequences, often neglecting to adequately consider the time interval between users’ check-ins and the spatial distance between POIs. This omission potentially leads to lower recommendation accuracy. To counter these issues, we propose a model, BSA-ST-Rec (Point-of-Interest Recommendation based on Bidirectional Self-Attention Mechanism by Fusing Spatio-Temporal Preference). Initially, feature information such as check-in sequences, time intervals, and spatial distances are extracted from users’ check-in time sequences. Following this, the feature information is transformed into sequential and spatio-temporal fusion embeddings through an embedding layer. These can be used as enhanced data sources and in conjunction with the bidirectional self-attention mechanism, to capture the dynamic interest preferences of users, thereby predicting users’ next POIs and improving POI recommendation performance. We conducted experiments using two public datasets from Foursquare and Gowalla and compared our results with benchmark methods. The experimental findings demonstrate that our proposed method effectively improves the accuracy of POI recommendations.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

Availability of data and materials

The datasets generated during and analysed during the current study are available in the [Foursquare] and [Gowalla] repository, https://personal.ntu.edu.sg/gaocong/data/poidata.zip.

Code Availability

The relevant code for the paper is available.

References

  1. Rendle S, Freudenthaler C, Schmidt-Thieme L (2010) Factorizing personalized Markov chains for next-basket recommendation. In: Proceedings of the 19th International Conference on World Wide Web - WWW ’10, p. 811. ACM Press, Raleigh, North Carolina, USA. https://doi.org/10.1145/1772690.1772773

  2. Donkers T, Loepp B, Ziegler J (2017) Sequential User-based Recurrent Neural Network Recommendations. In: Proceedings of the Eleventh ACM Conference on Recommender Systems, p 152–160. ACM, Como Italy. https://doi.org/10.1145/3109859.3109877

  3. Hidasi B, Karatzoglou A (2018) Recurrent Neural Networks with Top-k Gains for Session-based Recommendations. Proceedings of the 27th ACM International Conference on Information and Knowledge Management, 843–852. https://doi.org/10.1145/3269206.3271761arxiv:1706.03847

  4. Tan YK, Xu X, Liu Y (2016) Improved Recurrent Neural Networks for Session-based Recommendations. In: Proceedings of the 1st Workshop on Deep Learning for Recommender Systems, p 17–22. ACM, Boston MA USA. https://doi.org/10.1145/2988450.2988452

  5. Wu C-Y, Ahmed A, Beutel A, Smola AJ, Jing H (2017) Recurrent Recommender Networks. In: Proceedings of the tenth ACM International Conference on Web Search and Data Mining, p 495–503. ACM, Cambridge United Kingdom. https://doi.org/10.1145/3018661.3018689

  6. Cui Q, Tang Y, Wu S, Wang L (2019) Distance2Pre: Personalized Spatial Preference for Next Point-of-Interest Prediction. In: Advances in Knowledge Discovery and Data Mining: 23rd Pacific-Asia Conference, PAKDD 2019, Macau, China, April 14-17, 2019, Proceedings, Part III, p 289–301. Springer-Verlag, Berlin, Heidelberg. https://doi.org/10.1007/978-3-030-16142-2_23

  7. Hidasi B, Karatzoglou A, Baltrunas L, Tikk D (2016) Session-based Recommendations with Recurrent Neural Networks. arxiv:1511.06939

  8. Sun F, Liu J, Wu J, Pei C, Lin X, Ou W, Jiang P (2019) BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer. In: Proceedings of the 28th ACM International Conference on Information and Knowledge Management, p 1441–1450. ACM, Beijing China. https://doi.org/10.1145/3357384.3357895

  9. Kang W-C, McAuley J (2018) Self-Attentive Sequential Recommendation. In: 2018 IEEE International Conference on Data Mining(ICDM), p 197–206. IEEE, Singapore. https://doi.org/10.1109/ICDM.2018.00035

  10. Zhang J-D, Chow C-Y, Li Y (2015) iGeoRec: A Personalized and Efficient Geographical Location Recommendation Framework. IEEE Transactions on Services Computing. 8(5):701–714. https://doi.org/10.1109/TSC.2014.2328341

    Article  Google Scholar 

  11. Lian D, Zhao C, Xie X, Sun G, Chen E, Rui Y (2014) GeoMF: Joint geographical modeling and matrix factorization for point-of-interest recommendation. In: Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, p 831–840. ACM, New York USA. https://doi.org/10.1145/2623330.2623638

  12. Li W, Mo J, Xin M, Jin Q (2018) An Optimized trust model integrated with linear features for cyber-enabled recommendation services. J Parallel Distrib Comput 118:81–88. https://doi.org/10.1016/j.jpdc.2017.10.003

    Article  Google Scholar 

  13. Li W, Zhou X, Shimizu S, Xin M, Jiang J, Gao H, Jin Q (2019) Personalization Recommendation Algorithm Based on Trust Correlation Degree and Matrix Factorization. IEEE Access 7:45451–45459. https://doi.org/10.1109/ACCESS.2018.2885084

    Article  Google Scholar 

  14. Cai Z, Yuan G, Qiao S, Qu S, Zhang Y, Bing R (2022) FG-CF: Friends-aware graph collaborative filtering for POI recommendation. Neurocomputing 488:107–119. https://doi.org/10.1016/j.neucom.2022.02.070

    Article  Google Scholar 

  15. Chai R, Yin C, Meng X, Zhang X, Guan X, Qi X (2021) A recurrent neural network model based on spatial and temporal information for the next point of interest recommendation. CAAI Trans Intell Syst 16(03):407–415. https://doi.org/10.11992/tis.202004009

    Article  Google Scholar 

  16. Cheng C, Yang H, Lyu M, King I (2013) Where you like to go next: Successive point-of-interest recommendation. IJCAI International Joint Conference on Artificial Intelligence, 2605–2611

  17. Feng S, Li X, Zeng Y, Cong G, Chee YM, Yuan Q (2015) Personalized Ranking Metric Embedding for Next New POI Recommendation. In: Twenty-Fourth International Joint Conference on Artificial Intelligence

  18. Tao Y, Wang C, Yao L, Li W, Yu Y (2021) Item trend learning for sequential recommendation system using gated graph neural network. Neural Comput & Applic. https://doi.org/10.1007/s00521-021-05723-2

    Article  Google Scholar 

  19. Dai S, Yu Y, Fan H, Dong J (2022) Spatio-Temporal Representation Learning with Social Tie for Personalized POI Recommendation. Data Sci Eng. 7(1):44–56. https://doi.org/10.1007/s41019-022-00180-w

    Article  Google Scholar 

  20. Liu Q, Wu S, Wang L, Tan T (2016) Predicting the next location: A recurrent model with spatial and temporal contexts. In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence. AAAI’16, p 194–200. AAAI Press, Phoenix, Arizona

  21. Devlin J, Chang M-W, Lee K, Toutanova K (2019) BERT: Pre-training of Deep Bidirectional Transformers for Language derstanding. arxiv:1810.04805

  22. He J, Li X, Liao L (2017) Category-aware Next Point-of-Interest Recommendation via Listwise Bayesian Personalized Ranking. In: Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, p 1837–1843. International Joint Conferences on Artificial Intelligence Organization, Melbourne, Australia. https://doi.org/10.24963/ijcai.2017/255

  23. Li X, Cong G, Li X-L, Pham T-AN, Krishnaswamy S (2015) Rank-GeoFM: A Ranking based Geographical Factorization Method for Point of Interest Recommendation. In: Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, p 433–442. ACM, Santiago Chile. https://doi.org/10.1145/2766462.2767722

  24. Lian D, Wu Y, Ge Y, Xie X, Chen E (2020) Geography-Aware Sequential Location Recommendation. In: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, p 2009–2019. ACM, Virtual Event CA USA. https://doi.org/10.1145/3394486.3403252

  25. Ye M, Yin P, Lee W-C, Lee D-L (2011) Exploiting geographical influence for collaborative point-of-interest recommendation. In: Proceedings of the 34th International ACM SIGIR Conference on Research and Development in Information - SIGIR ’11, p. 325. ACM Press, Beijing, China. https://doi.org/10.1145/2009916.2009962

  26. Yuan F, Jose JM, Guo G, Chen L, Yu H, Alkhawaldeh RS (2016) Joint Geo-Spatial Preference and Pairwise Ranking for Point-of-Interest Recommendation. In: 2016 IEEE 28th International Conference on Tools with Artificial Intelligence (ICTAI), p 46–53. IEEE, San Jose, CA, USA. https://doi.org/10.1109/ICTAI.2016.0018

  27. Yuan Q, Cong G, Ma Z, Sun A, Thalmann NM- (2013) Time-aware point-of-interest recommendation. In: Proceedings of the 36th International ACM SIGIR Conference on Research and Development in Information Retrieval, p 363–372. ACM, Dublin Ireland. https://doi.org/10.1145/2484028.2484030

  28. Zhang J-D, Chow C-Y, Li Y (2014) LORE: Exploiting sequential influence for location recommendations. In: Proceedings of the 22nd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, p 103–112. ACM, Dallas Texas. https://doi.org/10.1145/2666310.2666400

  29. Zhang J-D, Chow C-Y (2013) iGSLR: Personalized geo-social location recommendation: A kernel density estimation approach. In: Proceedings of the 21st ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, p 334–343. ACM, Orlando Florida. https://doi.org/10.1145/2525314.2525339

  30. Lin W, Zhang X, Qi L, Li W, Li S, Sheng VS, Nepal S (2021) Location-Aware Service Recommendations With Privacy-Preservation in the Internet of Things. IEEE Trans Comput Soc Syst. 8(1):227–235. https://doi.org/10.1109/TCSS.2020.2965234

    Article  Google Scholar 

  31. Robusto CC (1957) The Cosine-Haversine Formula. The American Mathematical Monthly. 64(1):38–40. https://doi.org/10.2307/23090882309088

    Article  MathSciNet  Google Scholar 

  32. Hendrycks D, Gimpel K (2017) Bridging nonlinearities and stochastic regularizers with gaussian error linear units, 10

  33. Rendle S, Freudenthaler C, Gantner Z, Schmidt-Thieme L (2009) BPR:Bayesian Personalized Ranking from Implicit Feedback, 10

  34. Feng S, Cong G, An B, Chee YM (2017) POI2Vec: Geographical Latent Representation for Predicting Future Visitors. In: Thirty-First AAAI Conference on Artificial Intelligence

Download references

Acknowledgements

The work was supported by grants from the Nature Science Foundation of Anhui Province in China, No.2008085MF193, the Outstanding Young Talents Program of Anhui Province in China, No.gxyqZD2018060, the Major Science and Technology Project of Anhui Province, No.201903a06020006, the Provincial Quality Project of the Anhui Province Education Department in China, No.2019jyxm0285. And we thank all the anonymous reviewers for their hard work and valuable comments.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Shulin Cheng or Meng Qian.

Ethics declarations

Ethics approval

Not applicable

Consent to participate

Consent

Consent for publication

Consent

Conflict of interest

The authors declare that they have no conflicts of interest to report regarding the present study.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Cheng, S., Wu, Z., Qian, M. et al. Point-of-interest recommendation based on bidirectional self-attention mechanism by fusing spatio-temporal preference. Multimed Tools Appl 83, 26333–26347 (2024). https://doi.org/10.1007/s11042-023-16542-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-16542-z

Keywords

Navigation