Next Point-of-Interest Recommendation Based on Joint Mining of Spatial–Temporal and Semantic Sequential Patterns
Abstract
:1. Introduction
- To improve the performance and generalization of recommendation, we propose a self-attention- and multi-task-learning-based method (MSAN) to fully explore spatial–temporal and semantic sequential patterns simultaneously, which mines the user’s visiting intention from his/her semantic sequence and uses the user’s visiting intention prediction task as the auxiliary task of the next POI recommendation task.
- We propose to use hierarchical POI category attributes to describe the user’s visiting intention. To mine the user’s visiting intention, we designed a hierarchical semantic encoder (HSE) to encode the hierarchical intention feature. Moreover, a self-attention-based hierarchical intention-aware module (HIAM) is proposed to consider the temporal effect for aggregating relevant POI categories within the user’s semantic sequence to update the intention representation of each check-in.
- Experiments based on two real-world datasets demonstrated that the MSAN model outperformed most of the current state-of-the-art baseline models. Thus, we verified the effectiveness of using the visiting intention prediction task as the auxiliary task of the next POI recommendation.
2. Related Work
2.1. Traditional POI Recommendation
2.2. Next POI Recommendation
3. Motivation and Preliminaries
3.1. Motivation
3.2. Preliminaries
4. The Proposed Framework
4.1. Spatial-Temporal Interval Encoder
4.2. Visiting Intention Prediction Task
4.2.1. Hierarchical Semantic Encoder
4.2.2. Hierarchical Intention-Aware Module
4.2.3. Intention Prediction
4.3. Next POI Recommendation Task
4.3.1. Spatial-Temporal Sequence Encoder
4.3.2. Spatial-Temporal Aware Module
4.3.3. Next POI Recommendation
4.4. Model Training
5. Experiment
5.1. Datasets
5.2. Evaluation Metrics
5.3. Baseline Models
- STRNN [2]: The STRNN is an improvement to the traditional RNN, which incorporates the spatial–temporal interval matrix between consecutive check-in behaviors into the RNN to model spatial–temporal context information.
- HST-LSTM [25]: HST-LSTM integrates spatial–temporal context information into LSTM and proposes a trajectory hierarchy division method based on functional areas, which alleviates the problem of data sparsity by mining the spatial–temporal transition patterns between different functional areas.
- TMCA [6]: TMCA designs an LSTM-based encoder–decoder network and proposes three types of attention mechanisms to fuse the spatial–temporal context information, including multi-level context attention (micro and macro levels) and temporal attention.
- LSTPM [5]: LSTPM divides the user’s historical check-in trajectory into long-term trajectory sequences and short-term trajectory sequences and designs corresponding LSTM networks to capture long-term and short-term sequence preferences, respectively.
- iMTL [34]: iMTL is an interactive multi-task learning framework, which uses a dual-channel encoder based on an LSTM network to capture the temporal features and POI categorical features separately, and it designs a task-specific decoder to optimize the interactive learning of the two tasks.
- GeoSAN [3]: GeoSAN is a self-attention-based sequence prediction model that can capture long-term sequence dependencies, and a self-attention-based geography encoder is proposed to capture the spatial correlations between POIs within the user’s check-in trajectory.
- SANST [7]: SANST uses the self-attention network (SAN) to simultaneously fuse spatio-temporal context information. Specifically, it uses the hierarchical grid embedding method to capture geographic clustering features.
- STAN [4]: STAN proposes to model the spatial–temporal intervals between non-adjacent POIs and non-sequential check-ins and integrate them into the self-attention mechanism.
- CHA [35]: CHA proposes to explore the category hierarchy of POIs to help learn robust location representations even when there is insufficient data. Moreover, it develops a spatial–temporal decay LSTM to model the influence of the time interval and distance and proposes a discrete Fourier-series-based periodic attention to model users’ innate periodic activities.
- LSMA [36]: LSMA utilizes a multi-level attention mechanism to study the multi-factor dynamic representation of a user’s check-in behavior and non-linear dependence between check-ins in his/her check-in trajectory. Moreover, it combines the long- and short-term preferences of the user to form the final user preference.
5.4. Experimental Setting
5.5. Performance Evaluation
5.5.1. Overall Performance
5.5.2. Ablation Study
- MSAN-HIAM: We removed the HIAM module and only used the self-attention mechanism to capture the sequential correlations within the user’s check-in trajectory. Correspondingly, Equation (8) was modified as: .
- MSAN-Intention: The visiting intention prediction module was removed, and we kept only the next POI recommendation.
5.5.3. Stability Study
5.5.4. Analysis of Training Process
5.5.5. Interpretability Study
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhao, S.; King, I.; Lyu, M.R. A survey of point-of-interest recommendation in location-based social networks. arXiv 2016, arXiv:1607.00647. [Google Scholar]
- Liu, Q.; Wu, S.; Wang, L.; Tan, T. Predicting the next location: A recurrent model with spatial and temporal contexts. In Proceedings of the AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016; pp. 194–200. [Google Scholar]
- Lian, D.; Wu, Y.; Ge, Y.; Xie, X.; Chen, E. Geography-aware sequential location recommendation. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Virtual Event, 6–10 July 2020; pp. 2009–2019. [Google Scholar]
- Luo, Y.; Liu, Q.; Liu, Z. Stan: Spatio-temporal attention network for next location recommendation. In Proceedings of the Web Conference 2021, Ljubljana, Slovenia, 19–23 April 2021; pp. 2177–2185. [Google Scholar]
- Sun, K.; Qian, T.; Chen, T.; Liang, Y.; Nguyen, Q.V.H.; Yin, H. Where to go next: Modeling long-and short-term user preferences for point-of-interest recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 214–221. [Google Scholar]
- Li, R.; Shen, Y.; Zhu, Y. Next point-of-interest recommendation with temporal and multi-level context attention. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17–20 November 2018; pp. 1110–1115. [Google Scholar]
- Guo, Q.; Qi, J. Sanst: A self-attentive network for next point-of-interest recommendation. arXiv 2020, arXiv:2001.10379. [Google Scholar]
- Aliannejadi, M.; Rafailidis, D.; Crestani, F. A joint two-phase time-sensitive regularized collaborative ranking model for point of interest recommendation. IEEE Trans. Knowl. Data Eng. 2019, 32, 1050–1063. [Google Scholar] [CrossRef] [Green Version]
- Cho, E.; Myers, S.A.; Leskovec, J. Friendship and mobility: User movement in location-based social networks. In Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Diego, CA, USA, 21–24 August 2011; pp. 1082–1090. [Google Scholar]
- Yuan, Q.; Cong, G.; Ma, Z.; Sun, A.; Thalmann, N.M. Time-aware point-of-interest recommendation. In Proceedings of the 36th International ACM SIGIR Conference on Research and Development in Information Retrieval, Dublin, Ireland, 28 July–1 August 2013; pp. 363–372. [Google Scholar]
- Li, X.; Jiang, M.; Hong, H.; Liao, L. A time-aware personalized point-of-interest recommendation via high-order tensor factorization. Acm Trans. Inf. Syst. (TOIS) 2017, 35, 1–23. [Google Scholar] [CrossRef]
- Gao, H.; Tang, J.; Hu, X.; Liu, H. Exploring temporal effects for location recommendation on location-based social networks. In Proceedings of the 7th ACM Conference on Recommender Systems, Hong Kong, China, 12–16 October 2013; pp. 93–100. [Google Scholar]
- Wang, Y.; Yuan, N.J.; Lian, D.; Xu, L.; Xie, X.; Chen, E.; Rui, Y. Regularity and conformity: Location prediction using heterogeneous mobility data. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Sydney, Australia, 10–13 August 2015; pp. 1275–1284. [Google Scholar]
- Ye, M.; Yin, P.; Lee, W.C.; Lee, D.L. Exploiting geographical influence for collaborative point-of-interest recommendation. In Proceedings of the 34th International ACM SIGIR Conference on Research and Development in Information Retrieval, Beijing, China, 24–28 July 2011; pp. 325–334. [Google Scholar]
- Cheng, C.; Yang, H.; King, I.; Lyu, M. Fused matrix factorization with geographical and social influence in location-based social networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Toronto, ON, Canada, 22–26 July 2012; pp. 17–23. [Google Scholar]
- Chang, B.; Park, Y.; Park, D.; Kim, S.; Kang, J. Content-aware hierarchical point-of-interest embedding model for successive poi recommendation. In Proceedings of the IJCAI, Stockholm, Sweden, 13–19 July 2018; pp. 3301–3307. [Google Scholar]
- Ference, G.; Ye, M.; Lee, W.C. Location recommendation for out-of-town users in location-based social networks. In Proceedings of the 22nd ACM International Conference on INFORMATION & Knowledge Management, Atlanta, GA, USA, 17–21 October 2013; pp. 721–726. [Google Scholar]
- Wang, H.; Terrovitis, M.; Mamoulis, N. Location recommendation in location-based social networks using user check-in data. In Proceedings of the 21st ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Beijing, China, 2–5 November 2013; pp. 374–383. [Google Scholar]
- Ying, J.J.C.; Kuo, W.N.; Tseng, V.S.; Lu, E.H.C. Mining user check-in behavior with a random walk for urban point-of-interest recommendations. ACM Trans. Intell. Syst. Technol. (TIST) 2014, 5, 1–26. [Google Scholar] [CrossRef]
- Yang, D.; Zhang, D.; Yu, Z.; Wang, Z. A sentiment-enhanced personalized location recommendation system. In Proceedings of the 24th ACM conference on Hypertext and Social Media, Paris, France, 1–3 May 2013; pp. 119–128. [Google Scholar]
- Zhao, Y.L.; Nie, L.; Wang, X.; Chua, T.S. Personalized recommendations of locally interesting venues to tourists via cross-region community matching. ACM Trans. Intell. Syst. Technol. (TIST) 2014, 5, 1–26. [Google Scholar] [CrossRef]
- Bao, J.; Zheng, Y.; Mokbel, M.F. Location-based and preference-aware recommendation using sparse geo-social networking data. In Proceedings of the 20th International Conference on Advances in Geographic Information Systems, Redondo Beach, CA, USA, 6–9 November 2012; pp. 199–208. [Google Scholar]
- Liu, X.; Liu, Y.; Aberer, K.; Miao, C. Personalized point-of-interest recommendation by mining users’ preference transition. In Proceedings of the Proceedings of the 22nd ACM International Conference on Information & Knowledge Management, San Francisco, CA, USA, 27 October–1 November 2013; pp. 733–738. [Google Scholar]
- Zhang, J.D.; Chow, C.Y.; Li, Y. Lore: Exploiting sequential influence for location recommendations. In Proceedings of the 22nd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Dallas, TX, USA, 4–7 November 2014; pp. 103–112. [Google Scholar]
- Kong, D.; Wu, F. HST-LSTM: A hierarchical spatial–temporal long-short term memory network for location prediction. In Proceedings of the IJCAI, Stockholm, Sweden, 13–19 July 2018; pp. 2341–2347. [Google Scholar]
- Kang, W.C.; McAuley, J. Self-attentive sequential recommendation. In Proceedings of the 2018 IEEE International Conference on data Mining (ICDM), Singapore, 17–20 November 2018; pp. 197–206. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30, 1–11. [Google Scholar]
- Meng, X.; Lin, X.; Wang, X.; Zhou, X. Intention-Oriented Itinerary Recommendation Through Bridging Physical Trajectories and Online Social Networks. KSII Trans. Internet Inf. Syst. 2012, 6, 3197–3218. [Google Scholar] [CrossRef]
- Zhao, J.; Zhao, P.; Zhao, L.; Liu, Y.; Sheng, V.S.; Zhou, X. Variational self-attention network for sequential recommendation. In Proceedings of the 2021 IEEE 37th International Conference on Data Engineering (ICDE), Chania, Greece, 19–22 April 2021; pp. 1559–1570. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Ba, J.L.; Kiros, J.R.; Hinton, G.E. Layer normalization. arXiv 2016, arXiv:1607.06450. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Yang, D.; Zhang, D.; Zheng, V.W.; Yu, Z. Modeling user activity preference by leveraging user spatial temporal characteristics in LBSNs. IEEE Trans. Syst. Man Cybern. Syst. 2014, 45, 129–142. [Google Scholar] [CrossRef]
- He, R.; Lee, W.S.; Ng, H.T.; Dahlmeier, D. An interactive multi-task learning network for end-to-end aspect-based sentiment analysis. arXiv 2019, arXiv:1906.06906. [Google Scholar]
- Zang, H.; Han, D.; Li, X.; Wan, Z.; Wang, M. Cha: Categorical hierarchy-based attention for next poi recommendation. Acm Trans. Inf. Syst. (TOIS) 2021, 40, 1–22. [Google Scholar] [CrossRef]
- Wang, X.; Liu, Y.; Zhou, X.; Leng, Z.; Wang, X. Long-and Short-Term Preference Modeling Based on Multi-Level Attention for Next POI Recommendation. ISPRS Int. J. Geo-Inf. 2022, 11, 323. [Google Scholar] [CrossRef]
Dataset | # of Users | # of POIs | # of Check-Ins | Avg. # of Check-In |
---|---|---|---|---|
NYC | 1083 | 38,333 | 227,428 | 210.0 |
TKY | 2293 | 61,858 | 573,703 | 250.2 |
Model | Acc@10 | Acc@20 | NDCG@10 | NDCG@20 |
---|---|---|---|---|
STRNN | 0.153 | 0.192 | 0.103 | 0.175 |
TMCA | 0.161 | 0.205 | 0.117 | 0.182 |
LSTPM | 0.169 | 0.213 | 0.128 | 0.197 |
iMTL | 0.187 | 0.255 | 0.137 | 0.212 |
HST-LSTM | 0.202 | 0.298 | 0.168 | 0.231 |
LSMA | 0.213 | 0.305 | 0.188 | 0.247 |
CHA | 0.219 | 0.323 | 0.199 | 0.257 |
SANST | 0.227 | 0.342 | 0.205 | 0.263 |
GeoSAN | 0.276 | 0.367 | 0.228 | 0.284 |
STAN | 0.304 | 0.393 | 0.236 | 0.291 |
MSAN | 0.324 | 0.425 | 0.251 | 0.31 |
Improv. | 6.6% | 8.1% | 6.4% | 6.5% |
Model | Acc@10 | Acc@20 | NDCG@10 | NDCG@20 |
---|---|---|---|---|
STRNN | 0.147 | 0.188 | 0.133 | 0.157 |
TMCA | 0.153 | 0.196 | 0.146 | 0.178 |
LSTPM | 0.188 | 0.239 | 0.158 | 0.201 |
iMTL | 0.205 | 0.258 | 0.164 | 0.235 |
HST-LSTM | 0.217 | 0.276 | 0.173 | 0.251 |
LSMA | 0.225 | 0.283 | 0.177 | 0.259 |
CHA | 0.231 | 0.286 | 0.181 | 0.264 |
SANST | 0.243 | 0.292 | 0.188 | 0.265 |
GeoSAN | 0.256 | 0.314 | 0.207 | 0.271 |
STAN | 0.297 | 0.325 | 0.227 | 0.282 |
MSAN | 0.317 | 0.355 | 0.234 | 0.291 |
Improv. | 6.7% | 9.2% | 3.1% | 3.2% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Tian, J.; Zhao, Z.; Ding, Z. Next Point-of-Interest Recommendation Based on Joint Mining of Spatial–Temporal and Semantic Sequential Patterns. ISPRS Int. J. Geo-Inf. 2023, 12, 297. https://doi.org/10.3390/ijgi12070297
Tian J, Zhao Z, Ding Z. Next Point-of-Interest Recommendation Based on Joint Mining of Spatial–Temporal and Semantic Sequential Patterns. ISPRS International Journal of Geo-Information. 2023; 12(7):297. https://doi.org/10.3390/ijgi12070297
Chicago/Turabian StyleTian, Jing, Zilin Zhao, and Zhiming Ding. 2023. "Next Point-of-Interest Recommendation Based on Joint Mining of Spatial–Temporal and Semantic Sequential Patterns" ISPRS International Journal of Geo-Information 12, no. 7: 297. https://doi.org/10.3390/ijgi12070297
APA StyleTian, J., Zhao, Z., & Ding, Z. (2023). Next Point-of-Interest Recommendation Based on Joint Mining of Spatial–Temporal and Semantic Sequential Patterns. ISPRS International Journal of Geo-Information, 12(7), 297. https://doi.org/10.3390/ijgi12070297