Next Point-of-Interest (POI) recommendations are pivotal for enhancing location-based services; however, accurate prediction remains challenging due to the complex interplay between dynamic user preferences and spatiotemporal constraints. Existing graph-sequence hybrids often fail to unify these dimensions, typically treating temporal contexts as disjoint features or neglecting implicit collaborative signals within sparse user trajectories. This fragmentation limits the ability to capture high-order dependencies in user mobility. To address these challenges, we propose UPTRec, a unified framework that synergizes social, spatial, and temporal reasoning. UPTRec constructs a TF-IDF-weighted user similarity graph to recover latent social connections and a flow-based POI-transition graph to encode sequential mobility patterns. These structural priors are fused with fine-grained temporal-category embeddings (utilizing Time2Vec and periodic encoding) via a multi-layer Transformer encoder to comprehensively capture user behavior. Extensive experiments on three real-world datasets (NYC, TKY, and CA) demonstrate that UPTRec achieves state-of-the-art performance among the compared baselines under the same experimental settings. On the NYC dataset, UPTRec yields a Top-1 Accuracy of 25.76% and a Mean Reciprocal Rank (MRR) of 0.3879, representing a relative improvement of 5.8% and 7.1% over the strongest baseline (GETNext). These results validate the efficacy of jointly modeling collaborative and spatiotemporal dependencies.
Li et al. (Fri,) studied this question.