Papers
Topics
Authors
Recent
Search
2000 character limit reached

Generative Spatiotemporal Intent Sequence Recommendation via Implicit Reasoning in Amap

Published 27 May 2026 in cs.IR and cs.LG | (2605.28888v1)

Abstract: Real-world user behavior rarely consists of isolated actions; instead, it often forms intent flows governed by spatiotemporal dependencies. To provide integrated service recommendations, we focus on the task of Generative Spatiotemporal Intent Sequence Recommendation (GSISR), which aims to generate intent sequences that are logically coherent and physically executable within complex spatiotemporal contexts. While LLMs offer strong reasoning potential for GSISR, direct industrial deployment is limited by high inference latency and context-mismatched or physically infeasible plans. To address these challenges, we propose a generative framework, GPlan, that internalizes LLM reasoning into lightweight models through two components. First, to enable reasoning under strict latency constraints, we introduce Progressive Implicit CoT Distillation, which compresses explicit reasoning processes into reserved latent tokens, allowing small models to inherit complex planning logic without generating long reasoning text. Second, to address the disconnect between general knowledge and real-world constraints, we design Spatiotemporal Counterfactual DPO. By aligning the model with counterfactual context-plan pairs, we improve sensitivity to spatiotemporal context and reduce context-mismatched plans. Offline experiments and online A/B testing demonstrate that our approach improves sequence coherence and context responsiveness. Our implementation and the anonymized GSISR dataset are available at https://github.com/alibaba/GPlan.

Summary

  • The paper introduces the GPlan framework to generate logically coherent, spatiotemporally valid intent sequences for mobile map recommendations.
  • It details the PICD and SC-DPO methods that merge LLM reasoning with lightweight inference, achieving notable gains in accuracy and speed.
  • Experimental results show significant improvements in metrics like Acc@1 and NDCG, with online tests confirming enhanced user engagement.

Generative Spatiotemporal Intent Sequence Recommendation via Implicit Reasoning in Amap

Problem Scope and Motivation

The paper introduces the Generative Spatiotemporal Intent Sequence Recommendation (GSISR) task, targeting interactive agents in mobile map applications like Amap. Unlike conventional next-item recommenders and retrieval-based frameworks, GSISR seeks to generate logically coherent, physically executable intent sequences grounded in complex spatiotemporal contexts. Each sequence specifies a parameterized series of in-app actions (intents), which must respect logical dependencies, user goals, and constraints imposed by physical location and time. The commercial application is in sequencing homepage recommendation cards, such as ride-hailing to hotel, hotel check-in reminder, and localized POI suggestions.

Existing sequential and generative recommendation baselines (e.g., SASRec, BERT4Rec, P5, TIGER) either focus solely on item-level probabilities or lack the ability to parameterize and contextually link recommendations. Such models often fail to guarantee logical coherence, exhibit repetitive loops, or generate physically infeasible plans.

Methodological Contributions: GPlan Framework

The GPlan framework is designed to internalize LLM-level reasoning into lightweight models suitable for industrial deployment, through two principal mechanisms:

  1. Progressive Implicit Chain-of-Thought Distillation (PICD):
    • Structured CoT (e.g., context analysis, strategy, per-intent justification) is synthesized using a teacher LLM. Through a progressive curriculum, each reasoning block is incrementally replaced by a fixed-length triplet of latent tokens, resulting in a multi-token latent scaffold that preserves semantic structure without explicit CoT outputs.
    • The compression schedule is forward and block-based, aligned to plan length. A novel compression-aware learning rate (CALR) is used: the LR is kept high during latent structure acquisition and switched to lower, cosine-decayed LR for refinement once most prefixes reach full latent compression. Loss is section-normalized to avoid distillation imbalance.
  2. Spatiotemporal Counterfactual DPO (SC-DPO):
    • SC-DPO constructs bidirectional preference pairs by perturbing spatiotemporal context variables (location, time, city, etc.) while fixing user and history. Matching and mismatched plans are used to optimize context-conditional preference, anchored by the reference SFT policy.
    • The four-term SC-DPO loss combines the DPO margin, an anchor to prevent drift in matched response probability, bounded gap constraints to avoid excessive suppression of counterfactuals, and a center term to stabilize overall reward drift relative to the reference policy. Figure 1

      Figure 1: The GPlan training and inference pipeline, showing latent CoT distillation and counterfactual preference pair optimization.

HITL Data Synthesis and Training Design

Because raw LBS logs are insufficient for GSISR, a HITL pipeline is used, combining log pattern extraction, expert-calibrated anchor triplets, and large-scale teacher autoregressive synthesis. Extensive filtering ensures logical validity, schema correctness, and parameter dependency resolution, yielding a 100โ€‰K100\,\text{K}-sample industrial dataset, robust against ill-posed trajectories.

The structure of expert demonstration includes explicit semantic blocks (CONTEXT, STRATEGY, STEP), with reasoning compressed into reserved latent tokens. The latent scaffold adapts to variable plan lengths, and ensures that each token maps to a segment of the planning logic (e.g., tool choice, parameter assignment, dependency linking).

Experimental Results and Ablation

GPlan outperforms both traditional sequential and generative baselines in major offline metrics, including Acc@1, NDCG, and Normalized Edit Similarity (NES):

  • Acc@1 for GPlan-4B exceeds TIGER by +18.5+18.5pp (62.7 vs 44.2).
  • GPlan-1.7B (60.5 Acc@1) is within $2.2$pp of GPlan-4B, showing strong distillation efficiency.

Ablations demonstrate:

  • PICD preserves reasoning quality comparable to textual CoT-SFT, while achieving 3.7ร—3.7\times inference speedup at 4B scale.
  • CALR is essential for maintaining valid latent structure; cosine LR collapses scaffold, constant LR lacks plan refinement.
  • SC-DPO provides significant gains in context sensitivity (LLM judge ST axis +0.06 over PICD), whereas vanilla DPO drifts downward across all axes and undermines planning fidelity.

Independent LLM judge metrics (GPT-4o) specifically assess sequence flow, lifecycle logic, and contextual fit. PICD + SC-DPO attains the highest mean semantic planning score (3.64), with strong evidence in context-specific parameterization.

Latency benchmarks confirm production viability: PICD inference time (4B, 503ms) is close to Direct-SFT and dramatically lower than CoT-SFT (1.85s).

Online Deployment and Theoretical Implications

In live A/B testing, GPlan-1.7B outperformed the incumbent CTR ranker, delivering a +0.87%+0.87\% UV-CTR lift on general traffic, and +1.04%+1.04\% in high-value cross-city slice, reinforcing practical utility in scenario-dependent recommendation.

Theoretically, the introduction of latent multi-token implicit reasoning advances state-of-the-art distillation paradigms by compressing structured CoT into an interface that preserves fine-grained planning while respecting online latency constraints, overcoming limitations of both explicit CoT emission and single-vector latent internalization. SC-DPO's reference-anchored counterfactual loss provides a more nuanced alignment mechanism than vanilla DPOโ€”critical for context-dependent planning tasks where negatives correspond to mismatched context rather than globally invalid actions.

Future Directions

Future research will explore reinforcement learning from multi-turn user feedback, adaptive curriculum for long-horizon personalization, and scaling implicit reasoning to broader event-driven and lifecycle recommendation domains. The dataset and implementation release will support comparative studies and fine-grained evaluation in industrial spatiotemporal planning settings.

Conclusion

GPlan demonstrates a scalable pathway for embedding LLM-level spatiotemporal reasoning into deployable models for industrial recommendation, leveraging progressive latent distillation and context-sensitive preference optimization. Empirical results establish superiority in both accuracy and latency, as well as measurable online gains in production environments. The methodology sets a new benchmark for GSISR, with implications for both theoretical modeling of intent flows and practical recommender system deployment.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.