{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,26]],"date-time":"2026-08-26T06:49:20Z","timestamp":1787726960236,"version":"build-2784847793"},"reference-count":43,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2025,5,3]],"date-time":"2025-05-03T00:00:00Z","timestamp":1746230400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IJGI"],"abstract":"<jats:p>Next point-of-interest (POI) recommendation aims to predict users\u2019 future visitation intentions based on historical check-in trajectories. However, this task faces significant challenges, including coarse-grained user interest representation, insufficient social modeling, sparse check-in data, and the insufficient learning of contextual patterns. To address this, we propose a model that combines check-in trajectory information with user friendship relationships and uses a Transformer architecture for prediction (TraFriendFormer). Our approach begins with the construction of trajectory flow graphs using graph convolutional networks (GCNs) to globally capture POI correlations across both spatial and temporal dimensions. In parallel, we design an integrated social graph that combines explicit friendships with implicit interaction patterns, in which GraphSAGE aggregates neighborhood information to generate enriched user embeddings. Finally, we fuse the POI embeddings, user embeddings, timestamp embeddings, and category embeddings and input them into the Transformer architecture. Through the self-attention mechanism, the model captures the complex temporal relationships in the check-in sequence. We validate the effectiveness of TraFriendFormer on two real-world datasets (FourSquare and Gowalla). The experimental results show that TraFriendFormer achieves an average improvement of 10.3% to 37.2% in metrics such as Acc@k and MRR compared to the selected state-of-the-art baselines.<\/jats:p>","DOI":"10.3390\/ijgi14050192","type":"journal-article","created":{"date-parts":[[2025,5,4]],"date-time":"2025-05-04T20:09:14Z","timestamp":1746389354000},"page":"192","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Trajectory- and Friendship-Aware Graph Neural Network with Transformer for Next POI Recommendation"],"prefix":"10.3390","volume":"14","author":[{"given":"Chenglin","family":"Yu","sequence":"first","affiliation":[{"name":"The Research Center for Geospatial Big Data Application, Chinese Academy of Surveying and Mapping, Beijing 100830, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lihong","family":"Shi","sequence":"additional","affiliation":[{"name":"The Research Center for Geospatial Big Data Application, Chinese Academy of Surveying and Mapping, Beijing 100830, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yangyang","family":"Zhao","sequence":"additional","affiliation":[{"name":"The Research Center for Geospatial Big Data Application, Chinese Academy of Surveying and Mapping, Beijing 100830, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2025,5,3]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"306","DOI":"10.1016\/j.neucom.2021.05.114","article-title":"A survey on deep learning based Point-of-Interest (POI) recommendations","volume":"472","author":"Islam","year":"2022","journal-title":"Neurocomputing"},{"key":"ref_2","unstructured":"Cheng, C., Yang, H., Lyu, M.R., and King, I. (2013, January 3\u20139). Where You Like to Go Next: Successive Point-of-Interest Recommendation. Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, Beijing, China."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Gambs, S., Killijian, M.O., and del Prado Cortez, M.N.E. (2012). Next place prediction using mobility Markov chains. Proceedings of the First Workshop on Measurement, Privacy, and Mobility, ACM.","DOI":"10.1145\/2181196.2181199"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Lian, D., Zhao, C., Xie, X., Sun, G., Chen, E., and Rui, Y. (2014, January 24\u201327). GeoMF: Joint geographical modeling and matrix factorization for point-of-interest recommendation. Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA.","DOI":"10.1145\/2623330.2623638"},{"key":"ref_5","unstructured":"Zhao, S., King, I., and Lyu, M.R. (2017). Geo-Pairwise Ranking Matrix Factorization Model for Point-of-Interest Recommendation. Neural Information Processing: 24th International Conference, ICONIP 2017, Guangzhou, China, 14\u201318 November 2017, Proceedings, Part V 24, Springer."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Cui, Q., Tang, Y., Wu, S., and Wang, L. (2019, January 14\u201317). Distance2Pre: Personalized Spatial Preference for Next Point-of-Interest Prediction. Proceedings of the Pacific-Asia Conference on Knowledge Discovery & Data Mining, Macau, China.","DOI":"10.1007\/978-3-030-16142-2_23"},{"key":"ref_7","unstructured":"He, J., Li, X., and Liao, L. (August, January Australia). Category-aware Next Point-of-Interest Recommendation via Listwise Bayesian Personalized Ranking. Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, Melbourne."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Zhao, S., Zhao, T., King, I., and Lyu, M.R. (2017, January 3\u20137). Geo-Teaser: Geo-Temporal Sequential Embedding Rank for Point-of-interest Recommendation. Proceedings of the 26th International Conference on World Wide Web Companion, Perth, Australia.","DOI":"10.1145\/3041021.3054138"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1585","DOI":"10.1109\/TSC.2019.2918310","article-title":"An Attention-based Spatiotemporal LSTM Network for Next POI Recommendation","volume":"14","author":"Huang","year":"2021","journal-title":"IEEE Trans. Services Comput."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Manotumruksa, J., Macdonald, C., and Ounis, I. (2018, January 8\u201312). A Contextual Attention Recurrent Architecture for Context-Aware Venue Recommendation. Proceedings of the The 41st International ACM SIGIR Conference, Ann Arbor, MI, USA.","DOI":"10.1145\/3209978.3210042"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"2512","DOI":"10.1109\/TKDE.2020.3007194","article-title":"Where to Go Next: A Spatio-Temporal Gated Network for Next POI Recommendation","volume":"34","author":"Zhao","year":"2020","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Zhao, P., Zhu, H., Liu, Y., Li, Z., and Sheng, V.S. (2018). Where to Go Next: A Spatio-temporal LSTM model for Next POI Recommendation. arXiv.","DOI":"10.1609\/aaai.v33i01.33015877"},{"key":"ref_13","unstructured":"Hamilton, W.L., Ying, R., and Leskovec, J. (2017, January 4\u20139). Inductive Representation Learning on Large Graphs. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA."},{"key":"ref_14","unstructured":"Kipf, T.N., and Welling, M. (2016). Semi-Supervised Classification with Graph Convolutional Networks. arXiv."},{"key":"ref_15","unstructured":"Monti, F., Bronstein, M.M., and Bresson, X. (2017). Geometric Matrix Completion with Recurrent Multi-Graph Neural Networks. Adv. Neural Inform. Process. Syst., 30."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ying, R., He, R., Chen, K., Eksombatchai, P., Hamilton, W.L., and Leskovec, J. (2018, January 19\u201323). Graph Convolutional Neural Networks for Web-Scale Recommender Systems. Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK.","DOI":"10.1145\/3219819.3219890"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Wang, X., He, X., Wang, M., Feng, F., and Chua, T.S. (2019, January 21\u201325). Neural Graph Collaborative Filtering. Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, Paris, France.","DOI":"10.1145\/3331184.3331267"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"3125","DOI":"10.1007\/s11280-020-00824-9","article-title":"Hybrid graph convolutional networks with multi-head attention for location recommendation","volume":"23","author":"Zhong","year":"2020","journal-title":"World Wide Web"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"433","DOI":"10.1007\/s41019-020-00135-z","article-title":"GARG: Anonymous Recommendation of Point-of-Interest in Mobile Networks by Graph Convolution Network","volume":"5","author":"Wu","year":"2020","journal-title":"Data Sci. Eng."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Tang, J., Jin, J., Miao, Z., Zhang, B., and Zhang, J. (2021, January 5\u20137). Region-aware POI Recommendation with Semantic Spatial Graph. Proceedings of the 2021 IEEE 24th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Dalian, China.","DOI":"10.1109\/CSCWD49262.2021.9437810"},{"key":"ref_21","first-page":"984","article-title":"Classification of Acute Pancreatitis in the Pediatric Population: Clinical Report from the NASPGHAN Pancreas Committee","volume":"984","author":"Kumar","year":"2017","journal-title":"J. Pediatr. Gastroenterol. Nutr."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Li, Y., Chen, T., Luo, Y., Yin, H., and Huang, Z. (2021). Discovering collaborative signals for next POI recommendation with iterative Seq2Graph augmentation. arXiv.","DOI":"10.24963\/ijcai.2021\/206"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Lim, N., Hooi, B., Ng, S.-K., Goh, Y.L., Weng, R., and Tan, R. (2022, January 11\u201315). Hierarchical Multi-Task Graph Recurrent Network for Next POI Recommendation. Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain.","DOI":"10.1145\/3477495.3531989"},{"key":"ref_24","first-page":"54","article-title":"A Diffusion model for POI recommendation","volume":"42","author":"Qin","year":"2023","journal-title":"ACM Trans. Inf. Syst."},{"key":"ref_25","first-page":"16762","article-title":"Global spatio-temporal aware graph neural network for next point-of-interest recommendation","volume":"13","author":"Wang","year":"2022","journal-title":"Appl. Intell."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Chang, B., Park, Y., Park, D., Kim, S., and Kang, J. (2018, January 13\u201319). Content-Aware Hierarchical Point-of-Interest Embedding Model for Successive POI Recommendation. Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence IJCAI-18, Stockholm, Sweden.","DOI":"10.24963\/ijcai.2018\/458"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"159","DOI":"10.1016\/j.neucom.2017.08.020","article-title":"A personalized point-of-interest recommendation model via fusion of geo-social information","volume":"273","author":"Gao","year":"2018","journal-title":"Neurocomputing"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"165748","DOI":"10.1109\/ACCESS.2020.3018758","article-title":"A Point-of-Interest Recommendation Algorithm Combining Social Influence and Geographic Location Based on Belief Propagation","volume":"8","author":"Li","year":"2020","journal-title":"IEEE Access"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"103374","DOI":"10.1016\/j.engappai.2019.103374","article-title":"A point-of-interest suggestion algorithm in Multi-source geo-social networks","volume":"88","author":"Xiong","year":"2020","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_30","first-page":"102858","article-title":"Leveraging social influence based on users activity centers for point-of-interest recommendation","volume":"59","author":"Seyedhoseinzadeh","year":"2022","journal-title":"Inf. Process. Manag. Libr. Inf. Retr. Syst. Commun. Netw. Int. J."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"791","DOI":"10.1007\/s10115-020-01541-5","article-title":"RELINE: Point-of-interest recommendations using multiple network embeddings","volume":"63","author":"Christoforidis","year":"2021","journal-title":"Knowl. Inf. Syst."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"396","DOI":"10.1016\/j.eswa.2017.01.060","article-title":"A time-aware spatio-textual recommender system","volume":"78","author":"Kefalas","year":"2017","journal-title":"Expert Syst. Appl."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Fan, W., Ma, Y., Li, Q., He, Y., Zhao, E., Tang, J., and Yin, D. (2019, January 13\u201317). Graph Neural Networks for Social Recommendation. Proceedings of the The World Wide Web Conference, San Francisco, CA, USA.","DOI":"10.1145\/3308558.3313488"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Lim, N., Hooi, B., Ng, S.-K., Wang, X., Goh, Y.L., Weng, R., and Varadarajan, J. (2020, January 19\u201323). STP-UDGAT: Spatial-Temporal-Preference User Dimensional Graph Attention Network for Next POI Recommendation. Proceedings of the 29th ACM International Conference on Information & Knowledge Management, Virtual Event, Ireland.","DOI":"10.1145\/3340531.3411876"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Huang, Z., Ma, J., Dong, Y., Foutz, N.Z., and Li, J. (2022, January 11\u201315). Empowering Next POI Recommendation with Multi-Relational Modeling. Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain.","DOI":"10.1145\/3477495.3531801"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Yang, S., Liu, J., and Zhao, K. (2022, January 11\u201315). GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendation. Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain.","DOI":"10.1145\/3477495.3531983"},{"key":"ref_37","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4\u20139). Attention Is All You Need. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA."},{"key":"ref_38","unstructured":"Kazemi, S.M., Goel, R., Eghbali, S., Ramanan, J., Sahota, J., Thakur, S., Wu, S., Smyth, C., Poupart, P., and Brubaker, M. (2019). Time2Vec: Learning a Vector Representation of Time. arXiv."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Yang, D., Qu, B., Yang, J., and Cudre-Mauroux, P. (2019). Revisiting User Mobility and Social Relationships in LBSNs: A Hypergraph Embedding Approach. The World Wide Web Conference, ACM.","DOI":"10.1145\/3308558.3313635"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"1010","DOI":"10.14778\/3115404.3115407","article-title":"An experimental evaluation of point-of-interest recommendation in location-based social networks","volume":"10","author":"Liu","year":"2017","journal-title":"Proc. Vldb Endow."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"1944","DOI":"10.1109\/TKDE.2020.3002531","article-title":"Personalized long-and short-term preference learning for next POI recommendation","volume":"34","author":"Wu","year":"2020","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Luo, Y., Liu, Q., and Liu, Z. (2021, January 19\u201323). Stan: Spatio-temporal attention network for next location recommendation. Proceedings of the Web Conference 2021, Ljubljana, Slovenia.","DOI":"10.1145\/3442381.3449998"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Huang, T., Pan, X., Cai, X., Zhang, Y., and Yuan, X. (2024, January 20\u201327). Learning Time Slot Preferences via Mobility Tree for Next POI Recommendation. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.","DOI":"10.1609\/aaai.v38i8.28697"}],"container-title":["ISPRS International Journal of Geo-Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2220-9964\/14\/5\/192\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:26:52Z","timestamp":1760030812000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2220-9964\/14\/5\/192"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,3]]},"references-count":43,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2025,5]]}},"alternative-id":["ijgi14050192"],"URL":"https:\/\/doi.org\/10.3390\/ijgi14050192","relation":{},"ISSN":["2220-9964"],"issn-type":[{"value":"2220-9964","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,3]]}}}