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.
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
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
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
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
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
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
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
Hidasi B, Karatzoglou A, Baltrunas L, Tikk D (2016) Session-based Recommendations with Recurrent Neural Networks. arxiv:1511.06939
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
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
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
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
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
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
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
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
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
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
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
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
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
Devlin J, Chang M-W, Lee K, Toutanova K (2019) BERT: Pre-training of Deep Bidirectional Transformers for Language derstanding. arxiv:1810.04805
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
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
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
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
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
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
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
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
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
Robusto CC (1957) The Cosine-Haversine Formula. The American Mathematical Monthly. 64(1):38–40. https://doi.org/10.2307/23090882309088
Hendrycks D, Gimpel K (2017) Bridging nonlinearities and stochastic regularizers with gaussian error linear units, 10
Rendle S, Freudenthaler C, Gantner Z, Schmidt-Thieme L (2009) BPR:Bayesian Personalized Ranking from Implicit Feedback, 10
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
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
Corresponding authors
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.
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-16542-z