TLDR: Spacetime-GR is a novel generative AI model for large-scale online Point-of-Interest (POI) recommendation. It addresses challenges like vast POI vocabularies and spatiotemporal user preferences by using a hierarchical indexing strategy, a unique spatiotemporal encoding module, and multimodal POI embeddings. The model undergoes a two-stage training process (pre-training and fine-tuning) to provide various outputs for ranking and end-to-end recommendations, demonstrating significant performance improvements and successful deployment in real-world systems.
In the rapidly evolving landscape of digital services, recommending Points of Interest (POIs) to users is a critical task, especially for navigation and lifestyle applications. However, traditional recommendation systems often struggle with the unique challenges of POI recommendations, where user preferences are heavily influenced by when and where they are. This is further complicated by the sheer volume of POIs and the difficulty in understanding less frequently visited locations.
A new research paper, titled “Spacetime-GR: A Spacetime-Aware Generative Model for Large Scale Online POI Recommendation,” introduces a groundbreaking solution to these problems. Authored by Haitao Lin, Zhen Yang, Jiawei Xue, Ziji Zhang, Luzhu Wang, Yikun Gu, Yao Xu, and Xin Li from AMAP, Alibaba Group, this paper unveils Spacetime-GR, the first generative model specifically designed to be aware of spacetime for large-scale online POI recommendations. You can read the full paper here.
Addressing Core Challenges
The researchers identified three main hurdles in large-scale POI recommendation: modeling a vast vocabulary of hundreds of millions of POIs, learning the intricate spatiotemporal sensitivity of user preferences, and effectively encoding information for rare POIs. Spacetime-GR tackles these head-on with several innovative components:
-
Geographic-Aware Hierarchical POI Indexing: To manage the enormous number of POIs, the model uses a clever indexing strategy. Each POI is represented by two tokens: one for its general geographic block (e.g., a 5km by 5km area) and another for its specific location within that block. This significantly reduces the vocabulary size, making the system more efficient and also inherently incorporating spatial information.
-
Novel Spatiotemporal Encoding Module: Unlike previous methods that treat time and location as secondary information, Spacetime-GR integrates users’ spatiotemporal context (like the time of day and user’s current geographic location) directly into the action sequences. This makes the model highly sensitive to variations in user interests based on time and space, such as preferring restaurants at noon versus cafes in the afternoon.
-
Multimodal POI Embeddings: To enrich the understanding of each POI, the model incorporates multimodal information. This includes textual data like names, addresses, tags, and reviews, as well as visual information from images. These are processed by a pre-trained multimodal Large Language Model (LLM) to create comprehensive POI embeddings, especially during the fine-tuning stage.
A Comprehensive Training Approach
Spacetime-GR employs a two-stage training paradigm tailored for POI recommendation:
-
Pre-training: In this initial stage, the model learns latent patterns from massive user action sequences. A crucial step here is data cleansing, which filters out less informative actions (e.g., functional actions like navigating home) and sequences with low diversity. The model also uses a curriculum learning strategy, starting with simpler, single-pattern user behaviors before moving to more complex, multi-pattern sequences, which helps it learn more effectively.
-
Post-training (Fine-tuning): After pre-training, the model is fine-tuned for specific application requirements. This includes:
-
Embedding-based Ranking SFT: Generates high-quality user and POI embeddings that can be used as features for existing ranking models.
-
Generative Ranking SFT: Directly outputs ranking scores for candidate POIs, offering a more direct recommendation approach.
-
DPO Alignment: Utilizes Direct Preference Optimization, a technique that learns from preference data (e.g., clicked vs. unclicked POIs) to enhance the model’s ability to jointly recall and rank POIs. This stage can also be customized to make the model more sensitive to specific spatiotemporal preferences, like recommending food-related POIs during meal times.
-
Also Read:
- EGRA: A New Approach to Enhance Multimodal Recommendation Systems
- Enhancing Urban Mobility Simulations with AI: The Preference Chain Approach
Real-World Impact and Performance
The effectiveness of Spacetime-GR has been rigorously evaluated on both public benchmark datasets and large-scale industrial datasets. On industrial datasets, the model demonstrated significant improvements in AUC scores, leading to a 6% increase in Click-Through Rate (CTR) and a 4.2% increase in Conversion Rate (CVR) for POIs in online services. It has been successfully deployed in online POI recommendation services, catering to hundreds of millions of POIs and users, making it the first generative model to achieve this scale in industrial settings.
Furthermore, evaluations using LLMs (like GPT-4o and Qwen-Plus) and human volunteers showed that Spacetime-GR’s recommendations were superior to existing online models, not just in overall quality but also in providing more novel and diverse POIs, enhancing user discovery. The model also maintains low latency in online applications, making it suitable for real-time recommendation systems.
Spacetime-GR represents a significant leap forward in POI recommendation, offering a powerful, flexible, and scalable solution that is highly sensitive to the dynamic nature of user preferences in the real world.


