Cognitive-Aligned Spatio-Temporal Large Language Models For Next Point-of-Interest Prediction
Penglong Zhai, Jie Li, Fanyi Di, Yue Liu, Yifang Yuan, Jie Huang, Peng Wu, Sicong Wang, Mingyang Yin, Tingting Hu, Yao Xu, Xin Li
TL;DR
The paper tackles next POI prediction by bridging large language models with spatio-temporal and cognitive knowledge. It introduces CoAST, a two-stage framework comprising spatio-temporal knowledge acquisition through continued pretraining on SID-tokenized POI sequences and cognitive preference alignment via SFT and Direct Preference Optimization RL. The method defines four cognitive dimensions—Temporal Consistency, Spatial Clustering, Profile Alignment, and Situational Awareness—and optimizes for cognitively plausible recommendations, achieving substantial offline gains and favorable online A/B results on AMAP. The work demonstrates practical feasibility through online deployment techniques (PD and MTP Eagle) and provides a data-driven framework for aligning LLMs with human cognition in location-based services, with significant improvements in P-CTR, U-CTR, and engagement metrics.
Abstract
The next point-of-interest (POI) recommendation task aims to predict the users' immediate next destinations based on their preferences and historical check-ins, holding significant value in location-based services. Recently, large language models (LLMs) have shown great potential in recommender systems, which treat the next POI prediction in a generative manner. However, these LLMs, pretrained primarily on vast corpora of unstructured text, lack the native understanding of structured geographical entities and sequential mobility patterns required for next POI prediction tasks. Moreover, in industrial-scale POI prediction applications, incorporating world knowledge and alignment of human cognition, such as seasons, weather conditions, holidays, and users' profiles (such as habits, occupation, and preferences), can enhance the user experience while improving recommendation performance. To address these issues, we propose CoAST (Cognitive-Aligned Spatial-Temporal LLMs), a framework employing natural language as an interface, allowing for the incorporation of world knowledge, spatio-temporal trajectory patterns, profiles, and situational information. Specifically, CoAST mainly comprises of 2 stages: (1) Recommendation Knowledge Acquisition through continued pretraining on the enriched spatial-temporal trajectory data of the desensitized users; (2) Cognitive Alignment to align cognitive judgments with human preferences using enriched training data through Supervised Fine-Tuning (SFT) and a subsequent Reinforcement Learning (RL) phase. Extensive offline experiments on various real-world datasets and online experiments deployed in "Guess Where You Go" of AMAP App homepage demonstrate the effectiveness of CoAST.
