ASTHN: Adaptive Spatio-Temporal Hypergraph Network for Next POI Recommendation
Abstract
1. Introduction
- We propose a unified hypergraph modeling framework that explicitly encodes three types of fine-grained spatio-temporal contexts, including minimum time intervals, spatial proximity, and hourly preferences, as complementary views to enhance structural priors and representation robustness under sparse trajectories.
- We design a context-adaptive fusion mechanism to align and dynamically integrate multi-source spatio-temporal signals, enabling the model to better capture preference differences and contextual dependencies across users and time periods.
- We introduce a sequential modeling module with spatio-temporal gates and a temperature-scaled output strategy, which preserves the ability to model trajectory dynamics while alleviating overly concentrated output distributions and improving the usability and stability of recommendation results.
- We conduct systematic experiments and analyses on two real-world Foursquare datasets, demonstrating that the proposed method achieves better performance gains and favorable training efficiency compared with representative baselines.
2. Related Work
2.1. Sequential Next POI Recommendation
2.2. Graph- and Hypergraph-Based Next POI Recommendation
2.3. Fine-Grained Temporal Context for Next POI Recommendation
2.4. Summary and Comparison to ASTHN
3. Problem Definition
- Check-in sequence: Let denote the set of users and let denote the set of POIs. For a user , the check-in sequence is denoted by , where . Here, denotes the POI visited at step t, and denotes the corresponding timestamp. The hour index is defined as .
- Minimum time interval: Let denote the set of POIs visited by user u. Let denote the visit times of POI i for user u, sorted in ascending order. The minimum positive time-interval matrix is defined aswhere the unit is hours.
- Geographic distance: Given two POIs with latitude and longitude and , the Haversine distance is defined aswhere km, , and .
- Hourly pattern: For user u, the hourly frequency vector is and is defined asThe normalized hourly weight vector is , where .
- Next POI recommendation: Given , the task is to predict the next POI and output a Top-K ranked list. In this work, the candidate set is restricted to .
4. Proposed Method
4.1. Framework Overview
4.2. Fine-Grained Spatio-Temporal-Context Hypergraph Construction
4.2.1. Time-Interval Hypergraph
4.2.2. Spatial-Proximity Hypergraph
4.2.3. Hourly Preference Hypergraph
4.2.4. View-Specific Structural Encoding
4.3. Spatio-Temporal-Context Adaptive Fusion
4.4. Spatio-Temporal Gated Sequential Prediction with Temperature Scaling
5. Experiments
5.1. Datasets
5.2. Settings and Baselines
- MF [3]: This method applies matrix factorization and learns latent vectors for users and POIs.
- FPMC [4]: This method combines matrix factorization with a Markov chain and learns ranking parameters under the BPR framework.
- LSTPM [15]: This model learns long-term and short-term preferences with a non-local structure and a geography-enhanced LSTM for next POI recommendation.
- GETNext [8]: This model targets next POI prediction under sparse data and incorporates trajectory-level mobility patterns.
- PRME [14]: This method learns a personalized ranking-metric embedding and combines sequential signals, user preference, and geographic influence.
- MSTHN [24]: This model jointly considers spatial relations and temporal dynamics for next POI recommendation.
- DCHL [23]: This model uses dual hypergraphs and bi-directional contrastive learning to improve high-order representation learning, and it is included as a representative contrastive-hypergraph baseline.
- DisenPOI [9]: This model disentangles sequential transition and geographic proximity for next POI recommendation.
- GUGEN [10]: This model builds a global location-relation graph and a user-history graph, and then fuses global and user-specific views.
- STHGCN [11]: This model uses a hypergraph to capture higher-order collaborative information across trajectories and fuses spatio-temporal context with a hypergraph Transformer.
5.3. Performance Comparison
5.4. Ablation Study
5.5. Hyperparameter Study
5.6. Feature-Embedding-Dimension Study
5.7. Task Complexity Analysis
5.8. Application-Scenario Visualization and Usability Analysis
6. Conclusions
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Li, Z.; Huang, X.; Liu, C.; Yang, W. Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network for Next POI Recommendation. ISPRS Int. J. Geo-Inf. 2022, 11, 543. [Google Scholar] [CrossRef]
- 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. [Google Scholar] [CrossRef]
- Koren, Y.; Bell, R.; Volinsky, C. Matrix Factorization Techniques for Recommender Systems. Computer 2009, 42, 30–37. [Google Scholar] [CrossRef]
- Rendle, S.; Freudenthaler, C.; Schmidt-Thieme, L. Factorizing Personalized Markov Chains for Next-Basket Recommendation. In Proceedings of the 19th International Conference on World Wide Web (WWW), Raleigh, NC, USA, 26–30 April 2010; pp. 811–820. [Google Scholar] [CrossRef]
- 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; Volume 30. [Google Scholar] [CrossRef]
- Luo, Y.; Liu, Q.; Liu, Z. STAN: Spatio-Temporal Attention Network for Next Location Recommendation. In Proceedings of the Web Conference (WWW), Ljubljana, Slovenia, 19–23 April 2021; pp. 2177–2185. [Google Scholar] [CrossRef]
- Xu, S.; Huang, Q.; Zou, Z. Spatio-Temporal Transformer Recommender: Next Location Recommendation. ISPRS Int. J. Geo-Inf. 2023, 12, 79. [Google Scholar] [CrossRef]
- Yang, S.; Liu, J.; Zhao, K. GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendation. arXiv 2023, arXiv:2303.04741. [Google Scholar] [CrossRef]
- Qin, Y.; Wang, Y.; Sun, F.; Ju, W.; Hou, X.; Wang, Z.; Cheng, J.; Lei, J.; Zhang, M. DisenPOI: Disentangling Sequential and Geographical Influence for Point-of-Interest Recommendation. In Proceedings of the Sixteenth ACM International Conference on Web Search and Data Mining (WSDM), Singapore, 27 February–3 March 2023; pp. 508–516. [Google Scholar] [CrossRef]
- Zuo, C.; Zhang, X.; Yan, L.; Zhang, Z. GUGEN: Global User Graph Enhanced Network for Next POI Recommendation. IEEE Trans. Mob. Comput. 2024, 23, 14975–14986. [Google Scholar] [CrossRef]
- Yan, X.; Song, T.; Jiao, Y.; He, J.; Wang, J.; Li, R.; Chu, W. Spatio-Temporal Hypergraph Learning for Next POI Recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), Taipei, China, 23–27 July 2023; pp. 403–412. [Google Scholar] [CrossRef]
- Wang, H.; Li, P.; Liu, Y.; Shao, J. Towards Real-Time Demand-Aware Sequential POI Recommendation. Inf. Sci. 2021, 547, 482–497. [Google Scholar] [CrossRef]
- Yu, J.; Guo, L.; Zhang, J.; Wang, G. A Survey on Graph Neural Network-Based Next POI Recommendation for Smart Cities. J. Reliab. Intell. Environ. 2024, 10, 299–318. [Google Scholar] [CrossRef]
- Feng, S.; Cong, G.; An, B.; Chee, Y.M. Personalized Ranking Metric Embedding for Next New POI Recommendation. In Proceedings of the 24th International Conference on Artificial Intelligence (IJCAI), Buenos Aires, Argentina, 25–31 July 2015; pp. 2069–2075. [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; Volume 34, pp. 214–221. [Google Scholar] [CrossRef]
- Zhao, P.; Zhu, H.; Liu, Y.; Xu, J.; Zhou, K.; Sheng, V.S. STGN: Spatio-Temporal Gated Network for Point-of-Interest Recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019. [Google Scholar]
- Wu, Y.; Li, K.; Zhao, G.; Qian, X. Personalized Long- and Short-term Preference Learning for Next POI Recommendation. IEEE Trans. Knowl. Data Eng. 2022, 34, 1944–1957. [Google Scholar] [CrossRef]
- Fang, J.; Meng, X. URPI-GRU: An Approach of Next POI Recommendation Based on User Relationship and Preference Information. Knowl.-Based Syst. 2022, 256, 109848. [Google Scholar] [CrossRef]
- Wang, D.; Wan, F.; Yu, D.; Shen, Y.; Xiang, Z.; Xu, Y. Context- and Category-Aware Double Self-Attention Model for Next POI Recommendation. Appl. Intell. 2023, 53, 18355–18380. [Google Scholar] [CrossRef]
- Wu, J.; Jiang, S.; Shi, L. A Next POI Recommendation Based on Graph Convolutional Network by Adaptive Time Patterns. Electronics 2023, 12, 1241. [Google Scholar] [CrossRef]
- Wang, Z.; Zhu, Y.; Liu, H.; Wang, C. Learning Graph-Based Disentangled Representations for Next POI Recommendation. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), Madrid, Spain, 11–15 July 2022; pp. 1154–1163. [Google Scholar] [CrossRef]
- Wang, Z.; Zhu, Y.; Zhang, Q.; Liu, H.; Wang, C.; Liu, T. Graph-Enhanced Spatial-Temporal Network for Next POI Recommendation. ACM Trans. Knowl. Discov. Data 2022, 16, 1–21. [Google Scholar] [CrossRef]
- Lai, Y.; Su, Y.; Wei, L.; He, T.; Wang, H.; Chen, G.; Zha, D.; Liu, Q.; Wang, X. Disentangled Contrastive Hypergraph Learning for Next POI Recommendation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), Washington, DC, USA, 14–18 July 2024. [Google Scholar] [CrossRef]
- Lai, Y.; Su, Y.; Wei, L.; Chen, G.; Wang, T.; Zha, D. Multi-view Spatial-Temporal Enhanced Hypergraph Network for Next POI Recommendation. In Database Systems for Advanced Applications, 28th International Conference, DASFAA 2023, Tianjin, China, 17–20 April 2023, Proceedings, Part II; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2023. [Google Scholar] [CrossRef]
- An, J.; Gao, M.; Tang, J. MvStHgL: Multi-View Hypergraph Learning with Spatial-Temporal Periodic Interests for Next POI Recommendation. ACM Trans. Inf. Syst. 2024, 42, 1–29. [Google Scholar] [CrossRef]
- Duan, J.; Meng, X.; Liu, G. Where To Go at the Next Timestamp. Data Sci. Eng. 2024, 9, 88–101. [Google Scholar] [CrossRef]
- Xu, Y.; Shen, H.; Jiang, Y.; Wang, E. Where and When: Predict Next POI and Its Explicit Timestamp in Sequential Recommendation. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence (IJCAI), Montreal, QC, Canada, 16–22 August 2025. [Google Scholar] [CrossRef]
- Zhang, X.; Liu, D.; Yan, L.; Zhang, Z.; Li, Y. Graph-Enhanced Spatio-Temporal Interval Aware Network for Next POI Recommendation in Mobile Environment. J. Internet Technol. 2024, 25, 619–628. [Google Scholar] [CrossRef]
- He, X.; He, W.; Liu, Y.; Lu, X.; Xiao, Y.; Liu, Y. ImNext: Irregular Interval Attention and Multi-Task Learning for Next POI Recommendation. Knowl.-Based Syst. 2024, 293, 111674. [Google Scholar] [CrossRef]
- Zhou, Y.; Zhang, D.; Zhou, K.; Han, P. Context-Aware Knowledge Graph Learning for Point-of-Interest Recommendation. ISPRS Int. J. Geo-Inf. 2026, 15, 14. [Google Scholar] [CrossRef]









| Category | Method | Structure | Geographic Modeling | Temporal Cue |
|---|---|---|---|---|
| Traditional/metric | MF [3] | – | × | × |
| FPMC [4] | – | × | × | |
| PRME [14] | – | ✓ | × | |
| Sequential | LSTPM [15] | – | ✓ | × |
| STGN [16] | – | ✓ | Interval | |
| PLSPL [17] | – | × | × | |
| Attention/Transformer | STAN [6] | – | ✓ | Interval |
| STTF [7] | – | ✓ | Coarse time | |
| GETNext [8] | Graph | ✓ | Coarse time | |
| Graph/hypergraph | DisenPOI [9] | Graph | ✓ | × |
| GUGEN [10] | Graph | ✓ | × | |
| STHGCN [11] | Hypergraph | ✓ | Coarse time | |
| MSTHN [24] | Hypergraph | ✓ | Coarse time | |
| DCHL [23] | Hypergraph | × | × | |
| Proposed method | ASTHN (Ours) | Hypergraph | ✓ | Interval + hourly |
| Dataset | #Users | #POIs | #Check-Ins |
|---|---|---|---|
| Foursquare-NYC | 1064 | 5136 | 147939 |
| Foursquare-TKY | 2245 | 7872 | 447571 |
| Model | Foursquare-NYC | Foursquare-TKY | ||||||
|---|---|---|---|---|---|---|---|---|
| Recall@5 | Recall@10 | NDCG@5 | NDCG@10 | Recall@5 | Recall@10 | NDCG@5 | NDCG@10 | |
| MF | 0.0961 | 0.1522 | 0.2318 | 0.2426 | 0.0701 | 0.1267 | 0.2071 | 0.2327 |
| FPMC | 0.2126 | 0.2970 | 0.1526 | 0.1825 | 0.2045 | 0.2746 | 0.1439 | 0.1547 |
| LSTPM | 0.2495 | 0.2668 | 0.2425 | 0.2483 | 0.2203 | 0.2703 | 0.1556 | 0.1734 |
| GETNext | 0.3572 | 0.3866 | 0.3113 | 0.3094 | 0.2686 | 0.3282 | 0.2212 | 0.2242 |
| PRME | 0.2236 | 0.3105 | 0.1664 | 0.1845 | 0.2278 | 0.2944 | 0.1518 | 0.1789 |
| MSTHN | 0.3585 | 0.4398 | 0.3109 | 0.3619 | 0.3378 | 0.3933 | 0.2569 | 0.2753 |
| DCHL | 0.2478 | 0.3382 | 0.2903 | 0.2433 | 0.1831 | 0.2674 | 0.1513 | 0.1834 |
| DisenPOI | 0.3589 | 0.3831 | 0.2979 | 0.3071 | 0.2692 | 0.3314 | 0.2263 | 0.2332 |
| GUGEN | 0.2355 | 0.3258 | 0.1970 | 0.2310 | 0.1738 | 0.2573 | 0.1424 | 0.1741 |
| STHGCN | 0.2119 | 0.3123 | 0.1753 | 0.2142 | 0.1513 | 0.2377 | 0.1274 | 0.1534 |
| ASTHN | 0.3725±0.0124 | 0.5041±0.0591 | 0.3184±0.0102 | 0.3664±0.0042 | 0.3575±0.0364 | 0.5396±0.0150 | 0.2925±0.0214 | 0.3317±0.0226 |
| Improvement (%) | +3.79 | +14.62 | +2.28 | +1.24 | +5.83 | +37.20 | +13.86 | +20.49 |
| Model | Time Complexity |
|---|---|
| STGN (RNN/LSTM-based) | |
| STAN (Self-attention-based) | |
| GETNext (Graph-based) | |
| STHGCN (Hypergraph + multi-head attention) | |
| Diff-POI (Diffusion/Generative) | |
| ASTHN (Proposed) |
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. |
© 2026 by the authors. Published by MDPI on behalf of the International Society for Photogrammetry and Remote Sensing. 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.
Share and Cite
Liu, F.; Li, T.; Li, J. ASTHN: Adaptive Spatio-Temporal Hypergraph Network for Next POI Recommendation. ISPRS Int. J. Geo-Inf. 2026, 15, 242. https://doi.org/10.3390/ijgi15060242
Liu F, Li T, Li J. ASTHN: Adaptive Spatio-Temporal Hypergraph Network for Next POI Recommendation. ISPRS International Journal of Geo-Information. 2026; 15(6):242. https://doi.org/10.3390/ijgi15060242
Chicago/Turabian StyleLiu, Fang, Tianrui Li, and Jiangtao Li. 2026. "ASTHN: Adaptive Spatio-Temporal Hypergraph Network for Next POI Recommendation" ISPRS International Journal of Geo-Information 15, no. 6: 242. https://doi.org/10.3390/ijgi15060242
APA StyleLiu, F., Li, T., & Li, J. (2026). ASTHN: Adaptive Spatio-Temporal Hypergraph Network for Next POI Recommendation. ISPRS International Journal of Geo-Information, 15(6), 242. https://doi.org/10.3390/ijgi15060242

