AlignGPR: Generative POI Recommendation with Category-Collaborative Semantic Alignment

AlignGPR uses residual quantization tokenization and progressive multi-level alignment to turn POI categories into carriers of mobility intent.
AlignGPR is a progressive collaborative semantic alignment framework for next POI recommendation. Addressing the shortcoming of existing LLM-based generative methods that treat POI categories merely as auxiliary features and overlook their role as carriers of mobility intent, it captures the deep semantic associations along "POI category → mobility intent → behavioral pattern." The method has two core designs: dual category-collaborative tokenization builds semantic identifiers (SIDs) via residual quantization, with prefixes preserving category semantics and collaborative signals providing fine-grained discrimination; progressive multi-level LLM alignment first extends the vocabulary to accommodate SIDs, then fine-tunes in three stages—concept-level grounding, knowledge-level trajectory preference understanding, and task-level generative prediction—reducing semantic drift. It consistently outperforms the strongest baselines on three real-world datasets, with MRR improvements of up to 15.99%, requiring only supervised fine-tuning of a 1.5B model with controllable deployment costs.
From Categories to Places: How AlignGPR Bridges User Intent and Behavioral Patterns
Next Point-of-Interest (POI) recommendation is a core task in location-based services, and recent years have seen significant progress in generative methods based on large language models (LLMs). However, existing approaches often treat POI categories merely as auxiliary features, overlooking the role of categories as direct carriers of user mobility intent, and failing to effectively leverage the collaborative semantics between users and POIs. This creates a gap between the intent learned by the model and real behavioral patterns. AlignGPR is a progressive collaborative semantic alignment framework proposed to address this pain point, with its core idea being to capture the deep semantic associations along the chain of POI category → mobility intent → behavioral pattern.

Dual Category-Collaborative Tokenization: Building Semantic Identifiers with Residual Quantization
The first key design of AlignGPR is Dual Category-Collaborative Tokenization. It encodes category knowledge and collaborative signals into semantic identifiers (SIDs) for POIs and users through residual quantization. The benefit is straightforward: the SID prefix largely preserves category semantics, giving the generation process inherent interpretability at the category level; meanwhile, collaborative signals provide fine-grained discriminative capability, enabling autoregressive generation to land precisely on specific POIs from user intent.
This design effectively elevates "category" from a peripheral feature to an intent carrier, while using collaborative filtering signals to compensate for the insufficient discriminability of purely semantic representations. For POI recommendation—a scenario with a huge candidate space and sparse user behavior—preserving category semantics in the prefix means the model won't deviate from the user's general activity range during generation, while collaborative signals are responsible for picking the one POI among similar candidates that best matches individual preferences.
Residual Quantization (RQ) is a multi-level vector quantization method: the first-level codebook makes a coarse-grained approximation of the input vector, then each subsequent codebook only quantizes the residual from the previous level (i.e., the unexplained portion), and through progressive stacking achieves high representation precision with a very small codebook size. In generative recommendation, RQ is commonly used to discretize POI or user representations into semantic identifiers (SIDs) composed of several tokens, where prefix tokens correspond to coarse-grained semantics and suffix tokens correspond to fine-grained differences. AlignGPR leverages this hierarchical structure so that prefixes naturally carry POI category semantics and suffixes carry collaborative filtering signals, thereby balancing interpretability and discriminability during autoregressive generation.
Semantic ID (SID) is a short discrete token sequence that an item or user is mapped to, functioning like assigning each POI an "ID number" that an LLM can generate token by token. Unlike traditional auto-increment IDs, SIDs are quantized from content or collaborative representations, so semantically similar POIs share prefixes, allowing the model to generalize reasonably to unseen combinations. Generative recommendation typically has the LLM directly output the SID sequence of the target POI, turning recommendation into a sequence generation problem; the construction quality of SIDs directly determines whether the generation space aligns with the real behavioral distribution.
Progressive Multi-level LLM Alignment: Layer-by-Layer Grounding from Concepts to Tasks
The second core contribution is Progressive Multi-level LLM Alignment. AlignGPR first extends the LLM vocabulary to accommodate SIDs, then aligns the model progressively in three stages: concept-level index-language grounding, knowledge-level trajectory preference understanding, and task-level generative POI prediction. This shallow-to-deep alignment strategy lets the LLM first establish mappings between SIDs and natural language concepts, then understand the preferences embedded in user trajectories, and only finally perform the specific prediction task—avoiding the semantic drift that can result from direct fine-tuning.
According to the paper, on three real-world datasets, AlignGPR consistently outperforms the strongest baselines, with MRR improvements of up to 15.99%, and this result is achieved solely through supervised fine-tuning (SFT) on a 1.5B-scale LLM, without relying on more complex reinforcement learning pipelines. This suggests that the framework's effectiveness comes more from the semantic alignment design itself rather than from model scale or an accumulation of training tricks.
Supervised Fine-Tuning (SFT) refers to training a pre-trained large model with supervised next-token prediction on labeled input-output sample pairs. Compared to reinforcement learning or preference optimization, SFT is simple to implement, stable to train, and computationally inexpensive, but it relies heavily on the coverage and quality of training data. In generative recommendation, SFT is typically used to teach the model to output SID sequences in the business format. AlignGPR achieving significant improvements with only a 1.5B model plus SFT shows that its gains mainly come from the data organization approach of tokenization and alignment, rather than additional reinforcement learning signals.
Why This Approach Is Worth Attention
A common problem in generative POI recommendation is that the SID sequences generated by LLMs may be semantically fluent yet disconnected from users' real behavioral patterns. AlignGPR's progressive alignment plus dual-path tokenization essentially injects both "category priors" and "collaborative constraints" into the generation space. For practical deployment, the 1.5B model plus SFT configuration also means controllable deployment costs—achieving considerable ranking quality improvements without needing to use ultra-large models. Of course, the method relies on residual quantization to construct SIDs, and the design of quantization codebooks is strongly correlated with the data distribution; generalization capability when transferring across cities or scenarios still requires further validation.
MRR (Mean Reciprocal Rank) is a ranking quality metric commonly used in recommendation and retrieval: for each user's recommendation list, take the reciprocal of the position of the first correct result (e.g., rank 1 gives 1, rank 2 gives 0.5, rank 3 gives 0.33), then average across all users. The closer MRR is to 1, the higher the correct items are ranked; it is particularly sensitive to hits at the top positions, making it suitable for measuring the goal of "can the POI that best matches intent be ranked at the top." The statement "MRR improvements of up to 15.99%" refers to the relative improvement in top-1 hit quality compared to the strongest baseline.
Key Takeaways
- AlignGPR treats POI categories as direct carriers of user mobility intent rather than auxiliary features.
- Dual category-collaborative tokenization builds SIDs through residual quantization, with prefixes preserving category semantics and collaborative signals providing fine-grained discrimination.
- Progressive multi-level LLM alignment fine-tunes progressively across concept, knowledge, and task levels, reducing the risk of semantic drift.
- MRR improvements of up to 15.99% on three real-world datasets, requiring only supervised fine-tuning of a 1.5B LLM.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.