Manuscript Offprint
arXiv:2611.04662SPADE: Spatiotemporal Preference Alignment and Diversity Enhancement for Local Search
chenxu wang 975679801@qq.com Meituan
Wenxuan Yang wenxuanyang2469@gmail.com Meituan
Yueqi Mou mouyueqi@meituan.com Meituan
Shuxian Bi shuxianbi2000@gmail.com Independent
Biao Tang biao.tang@meituan.com Meituan
Peng Yan yanpeng04@meituan.com Meituan
Abstract
Proactive query recommendation aims to suggest relevant search queries to users on the homepage of local service apps. Unlike conventional recommendation over a fixed item set, this requires open-set generation from a vocabulary of millions, where outputs must simultaneously align with user preference, match fine-grained spatiotemporal context, cover long-tail intents, and provide diverse alternatives within a few candidate slots. However, existing approaches address these axes in isolation: standard tokenization suppresses long-tail queries, coarse location encoding misses fine-grained geographic demand, generic preference optimization fails to align with production impression-click distributions, and standard beam search collapses to near-duplicate outputs. To address these limitations, we present SPADE (Spatiotemporal Preference Alignment and Diversity Enhancement), an end-to-end generative framework that jointly optimizes the generation space, contextual representation, preference distribution, and output slate quality through four targeted components: Objective-Aligned BPE (OA-BPE) aligns subword merging with business value signals to boost long-tail query generation probability; Spatio-Temporal Adaptive Representation (STAR) replaces coarse location tokens with continuous multi-scale encodings and soft gating for precise spatiotemporal grounding; MARS-DPO (Multi-dimensional Adaptive Reward Sampling DPO) combines cross-domain pre-training with preference alignment on production impression-click data via composite rewards and adaptive hard negative sampling; and Sigmoid Diversity Beam Search (SDBS) improves intent coverage without sacrificing recall. Offline experiments on large-scale production data show that SPADE outperforms the strongest generative baseline by +5.6% HR@5, -40.3% GeoC@5, and +1.9% Exec@5. A one-week online A/B test confirms production impact: +1.88% Module CTR, +0.177% Search Volume, and +0.105% Search DAU.
Keywords
Query recommendation, local search, generative recommendation, spatiotemporal modeling

Figure 1: Proactive query recommendation on a local service platform. Given the user's profile, spatiotemporal context, and behavior history, the system surfaces a ranked list of candidate search queries before the user types anything. The task is open-set generation: outputs are free-form phrases that must be spatiotemporally grounded, diverse, and executable by the platform's retrieval stack.
This task is fundamentally different from conventional recommendation. Traditional recommenders assume a fixed, enumerable candidate pool [21, 37]; proactive query recommendation has no such inventory. The system must generate free-form phrases from a vocabulary of millions, with no retrieval-based fallback. This makes it an open-set generation problem with a much larger and less constrained output space. In local search the constraints tighten further. The available inputs are limited to a user profile, current GPS location and time, and a short behavior history. Yet each generated candidate must simultaneously satisfy four requirements: (1) long-tail intent coverage, surfacing commercially valuable queries beyond popular head terms; (2) spatiotemporal grounding, matching the user's geographic and temporal context at fine granularity; (3) preference alignment, reflecting the user's genuine interests even with sparse history; and (4) decoding diversity, offering distinct options within a small candidate slate where every item must be executable by the downstream search engine. Any candidate that fails on even one dimension wastes a display slot.
Existing methods each address a subset of these requirements [16, 32]. Retrieval-based approaches such as query log mining and query-flow graphs [5, 40] are bounded by the historical candidate pool: they cannot cover long-tail intents absent from the logs and struggle with cold-start users. Generative methods close part of this gap but leave blind spots. AIGQ, OneSug, and CTR-GQS [13, 29, 46] concatenate location and time as text tokens in the prompt, capturing only coarse city or time-slot-level patterns that cannot distinguish a neighborhood center from its periphery. Generative POI methods (OneLoc, Spacetime-GR, GeoGR [23, 44, 45]) introduce geographic indexing but output structured POI identifiers, not open-vocabulary queries. Across both families, standard BPE and standard beam search are applied without adaptation: BPE optimizes for corpus compression, putting high-value long-tail queries at a structural disadvantage during autoregressive generation; beam search collapses the top-K list into near-duplicate head-intent paraphrases [42]. Few existing systems consider more than one of these requirements jointly.
To address these limitations, we propose SPADE (Spatiotemporal Preference Alignment and Diversity Enhancement), an end-to-end generative framework that jointly optimizes four stages of the generation pipeline—the generation space, contextual representation, preference distribution, and output slate quality: (1) At the vocabulary level, Objective-Aligned BPE (OA-BPE) incorporates business metrics into BPE merging [38] so that high-value long-tail queries receive shorter tokenizations, injecting a business-aligned generation prior before training begins. (2) At the input level, Spatio-Temporal Adaptive Representation (STAR) replaces coarse discrete location tokens with multi-scale hexagonal spatial and temporal encodings, injected through zero-initialized soft gates that let language modeling stabilize before spatiotemporal signals are gradually introduced. (3) At the training level, MARS-DPO (Multi-dimensional Adaptive Reward Sampling DPO) first pre-trains on cross-domain search behavior, then runs preference alignment on production impression-click data with composite rewards (ranking position, retrieval quality, geographic proximity) and adaptive hard negative sampling [34]. (4) At the decoding level, Sigmoid Diversity Beam Search (SDBS) applies a position-aware bonus to lower-ranked beams while leaving the top beam undisturbed, improving diversity without sacrificing recall.
SPADE is, to our knowledge, one of the first generative query recommendation frameworks for local search. We summarize our contributions as follows:
- A unified, co-designed framework. We propose SPADE, a generative query recommendation framework for local search in which the vocabulary, context encoding, preference alignment, and decoding stages are designed jointly: each stage operates on the output distribution of the previous one, so improvements compound rather than conflict.
- Vocabulary and context encoding. (i) OA-BPE, a business-aware tokenizer that shortens valuable long-tail queries, justified by a merge-preference analysis (Proposition 3.1); and (ii) STAR, a multi-scale spatiotemporal encoding with soft-gated injection.
- Preference alignment and decoding. (i) MARS-DPO, a production-oriented preference alignment on real impression-click feedback; and (ii) SDBS, a diversity-aware decoding strategy that improves slate quality while preserving relevance.
- Experiments. On large-scale production data, SPADE outperforms the strongest generative baseline (AIGQ) by +5.6% HR@5, -40.3% GeoC@5, and +1.9% Exec@5, with gains reaching +13.5% HR@5 on long-tail intents and -48.3% GeoC@5 in geo-sparse regions. A one-week online A/B test confirms production impact: +1.88% Module CTR, +0.177% Search Volume, and +0.105% Search DAU, with negligible latency overhead.
2 Related Work
2.1 Query Recommendation
Traditional query recommendation leverages co-occurrence statistics, session transitions, and query-flow graphs to mine candidates from historical logs [2, 5], but is limited to previously observed patterns and struggles with cold-start users and long-tail intents. More recently, the task has been reformulated as open-vocabulary text generation [12, 30], with methods spanning local search [6], conversational search [29], e-commerce [13], and industrial pre-search recommendation [46]. GQR [30] aligns LLM generation with user preference via a CTR-based listwise reward; AIGQ [46] combines listwise SFT with a policy gradient objective and hybrid serving. Despite these advances, both target generic or e-commerce settings and do not jointly model fine-grained geographic context, temporal context, or business-aware tokenization for local search. Data-centric approaches such as synthetic-prefix augmentation [35] address presentation bias in autocomplete but do not close this gap.
Location-aware recommendation [7] and spatial encoders [28] have long captured geographic relevance, while spatiotemporal models such as STAN [24] demonstrate the value of temporal attention over mobility patterns. More recent generative local methods—GNPR-SID, OneLoc, Spacetime-GR, GeoGR [23, 43–45], and LGSID [19]—verify the importance of geographic and temporal grounding, but all optimize over POI identifiers or semantic IDs rather than free-form executable queries. Generative retrieval and sequential models such as TIGER [36], P5 [12], UniSRec [17], and SASRec [21] similarly operate over fixed target spaces.
On vocabulary and alignment, standard BPE [38] and Sentence-Piece [22] are optimized for compression rather than recommendation value, and can systematically suppress rare but high-value phrases [33]. Preference-learning methods including RLHF [31], DPO [34], robust variants [11], and CausalDPO [50] have proven effective for aligning generative models; listwise objectives [26, 27] further emphasize optimizing over candidate sets rather than individual outputs. Effective local search query recommendation therefore requires a unified treatment of open-vocabulary generation, spatiotemporal grounding, business-aware tokenization, and preference alignment—a gap SPADE is designed to close.
2.2 Diversity in Generative Decoding
Standard beam search collapses to near-duplicate hypotheses [15]. Diverse Beam Search [42] mitigates this with inter-group penalties; nucleus and adaptive sampling [4, 15] broaden exploration; contrastive decoding [1, 41] penalizes degenerate continuations; and MBR decoding [10, 20] optimizes set-level utility. D5P4 [25] extends diversity control to discrete diffusion via DPP-based beam selection, and ReCast [48] addresses sparse-hit RL by restoring learnability for all-zero rollout groups. These methods are optimized for generic text quality or offline utility, however, and do not capture the constraints of industrial query recommendation, where a short candidate list must be jointly relevant, geographically grounded, and diverse under tight latency budgets. SPADE addresses this with Sigmoid Diversity Beam Search, a position-aware decoding strategy that improves intent coverage without sacrificing recall or production viability.
3 Method
3.1 Task Definition
Given a user u at time t, the system observes a user profile p, a behavioral sequence of recent queries and visited POIs, and a spatiotemporal context (c, t) with GPS coordinate . The goal is to generate K candidate queries covering the four requirements motivated above—long-tail coverage, spatiotemporal grounding, preference alignment, and slate diversity. Because the output space is the platform's full query vocabulary (millions of phrases), this is an open-set generation problem. SPADE addresses this with four components, each targeting a different stage of the generation pipeline: (1) OA-BPE constructs a business-aligned vocabulary; (2) STAR encodes fine-grained spatiotemporal context as token embeddings; (3) a two-stage training pipeline pre-trains on cross-domain search behavior and then runs preference alignment via MARS-DPO; (4) Sigmoid Diversity Beam Search produces a diverse candidate list at inference time.
3.2 Tokenizer: Objective-Aligned BPE (OA-BPE)
To improve long-tail intent coverage, OA-BPE intervenes at the vocabulary level. In a generative model, the probability of a token sequence is a product of per-token conditionals, each bounded above by some , so longer tokenizations yield lower sequence probabilities. Standard BPE [38] merges token pairs by corpus frequency, optimizing compression rather than business value. High-frequency but low-value tokens are merged early, while rare but commercially valuable long-tail queries are over-segmented and disadvantaged at generation time. Prior BPE modifications target linguistic fidelity (e.g., preserving named entities or morphological boundaries [33]); OA-BPE instead incorporates business value signals directly into the merge criterion, giving high-value queries shorter tokenizations as a generation prior with no additional training cost.
OA-BPE replaces the standard merge score with a business-value-weighted count:
where is the training corpus (the set of all platform queries), denotes an individual query in , is the occurrence count of token pair in , and is a business value weight that aggregates platform-specific engagement and conversion signals. Standard BPE is the special case ; complexity is identical . In our experiments we instantiate as a weighted combination of click-through rate (CTR), conversion rate (CVR), and a module-exposure normalization term , which compresses head-query dominance while preserving meaningful volume differences in the long tail.
Proposition 3.1 quantifies how much frequency disadvantage the value weighting can overcome.
PROPOSITION 3.1 (VALUE-WEIGHTED MERGE PREFERENCE). Let pairs and have corpus counts and count-weighted mean business values

Figure 2: STAR module architecture. Spatial and temporal encodings are produced by multi-scale sinusoidal branches, fused via a two-layer MLP, and injected additively into the encoder's placeholder positions through independent learnable soft gates (initialized to zero).
with and defined analogously. Standard BPE merges first iff , whereas OA-BPE does so iff . Hence OA-BPE merges the higher-value pair first even when it is up to times rarer.
PROOF. By definition of , Eq. (1) gives , and standard BPE is the case , i.e., . Comparing the two scores, holds whenever .
Section 4.6 measures both the tokenization and generation-probability effects: tail-query median token length drops from 7.2 to 5.9 while head queries are left essentially unchanged.
3.3 Input Encoding: Spatio-Temporal Adaptive Representation (STAR)
With the OA-BPE vocabulary, the input sequence is organized into three parts:
where user tokens encode profile attributes (demographics, cluster membership, etc.), context tokens capture coarse-grained situational signals (city, district, day of week, time slot, entry scenario, device type, etc.), and history is the concatenated text of recent search queries and visited POI names. The first K positions within the context segment are reserved as placeholders for STAR, which injects fine-grained continuous spatiotemporal embeddings to complement the discrete context tokens.
SPADE uses an encoder-decoder Transformer. Token embeddings are scaled by , and STAR injects spatiotemporal embeddings additively into the first K positions. Each encoder layer uses a Sandwich Norm structure [9] combining gated self-attention with per-head QKNorm [14] and a SwiGLU FFN [39]; the decoder adds an encoder-decoder cross-attention sublayer.
Discrete context tokens (e.g., city IDs) have a fixed precision ceiling and cannot express distance relationships between continuous coordinates. STAR encodes exact GPS coordinates and the hour of day as K token-level embeddings injected additively into the encoder input, complementing the discrete channel.
3.3.1 Spatiotemporal Encoding. Following Space2Vec [28], we encode coordinates with multi-scale sinusoidal functions along three hexagonal axes spaced apart, providing isotropic spatial resolution. For normalized coordinates (Web Mercator projection), the scalar projection onto direction is , and the spatial encoding is:
where the spatial scales are log-uniformly distributed over , covering fine-grained commercial districts to city-level regions.
Temporal encoding follows the same multi-scale sinusoidal scheme for the hour of day t:
with temporal scales log-uniformly distributed over , capturing intra-hour to diurnal patterns.
3.3.2 Fusion and Soft-Gated Injection. The spatial and temporal encodings are concatenated and projected through a two-layer MLP, then reshaped into K token embeddings:
Using allows different tokens to specialize in different spatiotemporal granularities.
Each token has an independent learnable gate , initialized to zero:
With at initialization, STAR has no effect early in training, letting language modeling capacity stabilize first; as training proceeds, grows adaptively. Compared with directly replacing the placeholder embeddings, additive injection retains the original positional encoding and thus preserves more input information (this design choice is validated by ablation in Section 4.4).
3.4 Training: Alignment via MARS-DPO
Training proceeds in two stages: cross-domain pre-training builds broad intent understanding, and MARS-DPO then aligns generation with real user feedback on production impression-click data.
3.4.1 Stage 1: Cross-Domain Pre-training. The first stage trains SPADE on a Next Search Query Prediction task over cross-domain user search logs covering multiple verticals (restaurants, entertainment, lifestyle services, etc.). The loss is temperature-scaled cross-entropy:
where smooths the prediction distribution, encouraging diverse generation paths. Input features are randomly masked with probability to improve robustness to sparse inputs at inference time.
3.4.2 Stage 2: Preference Alignment via MARS-DPO. The second stage aligns the model with real user behavior using MARS-DPO (Multi-dimensional Adaptive Reward Sampling DPO), trained on impression-click data from the query recommendation module. MARS-DPO adapts DPO to this production setting along three axes: online candidate reuse, multi-dimensional rewards, and adaptive hard negatives. Unlike conventional DPO training, which optimizes over static, pre-collected preference pairs, MARS-DPO constructs its pairs directly from each request's online recall list—matching the serving traffic distribution at no additional rollout cost—and dynamically selects hard negatives from the same list.
Multi-dimensional reward. Each candidate q receives a composite reward:
where are tuned on the validation set.
(a) Rank reward uses the online ranker's position as a relevance signal: .
(b) Quality reward assesses executability: given 's top retrieved documents , we query Qwen3.5-122B-A10B via batch inference and use the logit probability ratio of the “yes” and “no” tokens as a continuous reward:
This provides smoother gradients than hard binary judgments [49]. The reward is computed offline via batch inference over the training corpus.
(c) Distance reward penalizes geographically distant results:
where is the distance from the user to the nearest POI in q's top retrieved results.
Adaptive hard negative selection. The positive sample is . We rank all remaining candidates by reward gap and select the top-K with smallest as the hard negative set . Each negative is then weighted by its softmax-normalized proximity:
where controls the concentration of weights on the hardest negatives. For each positive-negative pair , the DPO objective is:
The multi-negative loss aggregates over :
SFT anchoring. Pure DPO can cause both positive and negative probabilities to decrease. We add an SFT auxiliary loss as an absolute anchor:

Figure 3: Sigmoid Diversity Beam Search. Standard beam search collapses all beams to paraphrases of one intent (left). The sigmoid bonus (center) is zero for the top beam and increases with rank, preserving the best candidate while boosting lower-ranked beams. With SDBS (right), each beam covers a distinct intent; bar segments show the original score (dark) and diversity bonus (light).
Impression feedback weighting. Training samples carry varying reliability. We assign sample-level weights to impressions without clicks, with clicks, and with downstream conversions:
MARS-DPO adopts pointwise alignment: impression-click logs provide per-candidate signals, and slate-level diversity is delegated to the decoding stage (Section 3.5).
3.5 Decoding: Sigmoid Diversity Beam Search (SDBS)
To improve decoding diversity, we replace standard beam search with a position-aware diversity bonus at inference time.
Standard beam search ranks candidates by sequence probability alone, causing all outputs to collapse to near-duplicate queries (e.g., “hot pot restaurant”, “hot pot delivery”, “hot pot nearby”), as illustrated in Figure 3 (left). We address this with a position-aware diversity bonus added to beam 's score at each decoding step (Figure 3, center and right).
Diverse Beam Search (DBS) [42] addresses mode collapse by partitioning beams into groups and applying Hamming-distance penalties between groups. This inter-group penalty operates on surface-level token overlap, which can penalize legitimate variations (e.g., “hot pot restaurant” vs. “hot pot nearby”) while missing semantically redundant pairs that share few tokens. DBS also perturbs all beams, including the top beam, risking degradation of the highest-quality output.
Our approach differs in two ways. First, SDBS uses a position-based bonus rather than a token-overlap penalty: it encourages lower-ranked beams to survive the pruning step without requiring explicit pairwise comparisons, making it both simpler ( vs. ) and agnostic to surface form. Second, the bonus is designed to satisfy four properties: (i) zero at so beam 0 is never perturbed and the highest-quality output is preserved; (ii) strictly increasing in so lower-ranked beams receive progressively larger
Algorithm 1: Sigmoid Diversity Beam Search
Input: beam size ; sigmoid params (Eq. 17)
Init beams: ,
for each step do
for : expand to top-2 next tokens
Merge; score each pair:
Keep top- pairs as next beams
return top- finished sequences
incentives to diverge; (iii) concave so the marginal bonus diminishes, preventing excessive perturbation of low-ranked beams; and (iv) bounded above so diversity never overrides model confidence. Properties (ii)–(iv) are not arbitrary design choices. In the theoretical analysis below we model beam scores as Zipf-distributed (Assumption 3.2) and show that the budget-optimal promotion shape for rescuing pruned lower-ranked candidates is necessarily increasing and concave (Theorem 3.3): the score deficit of a pruned candidate grows only logarithmically in rank, so a concave bonus tracks it with minimal budget, while diminishing marginal coverage gains favor rescuing contiguous low ranks over distant ones. Boundedness (iv) is what ties the promotion to top-1 confidence preservation (Corollary 3.4). A shifted sigmoid satisfies all four properties:
with (steepness: how rapidly the bonus grows with beam rank), (strength: overall magnitude of the diversity bonus), and (saturation: the fraction of reachable at the asymptote, ). The constraint additionally ensures global concavity on : the inflection point of the sigmoid lies at , so for all . Algorithm 1 gives the complete procedure.
Design analysis. To guide the choice of , we analyze SDBS under a simplified single-step model of beam scores: Theorem 3.3 gives a shape-independent limit on what bounded rank-based promotion can rescue, together with the budget-optimal rescue shape—from which the concavity of is derived rather than assumed—and Corollary 3.4 identifies the budget scale at which the top-1 margin is necessarily exceeded. The model abstracts away token-level autoregressive dynamics; its role is to provide intuition for parameter selection, while sequence-level behavior is validated empirically (Section 4.4). Write .
Assumption 3.2 (Zipfian beam scores). At a given decoding step, the candidate sequence probabilities decay with rank as , , where is the top-ranked candidate; equivalently, .
Two consequences are used below: the top-1 confidence margin is a constant, ; and the deficit of a pruned candidate relative to the boundary beam grows only logarithmically,
Assumption 3.2 deliberately abstracts away the token-level, autoregressive nature of beam search, in which hypotheses are re-sorted at every step over sequence probabilities rather than a static rank distribution. The results below are structural statements about this idealized regime, intended as design intuition for the shape and scale of , not as guarantees on generated sequences.
A pruned candidate outranks the boundary beam iff , i.e., iff its bonus differential covers the deficit (note ):
This is a single-step, boundary-beam benchmark; intermediate ranks also collect bonuses, so exact survival requires entering the top- bonused scores. Since additional distinct intents yield diminishing marginal coverage, the promotion should rescue a contiguous window rather than scattered high ranks. We ask how far a budget can reach, and which shape spends it most economically.
THEOREM 3.3 (RESCUE HORIZON AND OPTIMAL SHAPE). Fix a decoding step, suppose Assumption 3.2 holds, let satisfy with , and treat the rank domain as continuous. (a) No promotion satisfying —of any shape—can rescue a rank beyond
(b) If every rank of a contiguous window satisfies (19), then
and the bound is tight: it is attained by the linear-to-logarithmic shape
truncated at , which satisfies and meets (19) with equality throughout the unsaturated region.
PROOF. (a) By (19), ; solving for gives both bounds. (b) Write . Since on with equality at , the right derivatives compare as ; concavity then forces the secant slope , i.e., , and yields (21).
Part (a) implies that SDBS enlarges the effective search width by at most relative to standard beam search.
The optimal shape ramps linearly up to the boundary beam and then tracks the deficit logarithmically: increments are front-loaded, since a flat-then-steep shape wastes budget on distant ranks. The shifted sigmoid of Eq. (17) is such a relaxation of : it shares the front-loaded concave ramp, and its saturation—the price of boundedness—caps the rescue window at . Two design rules follow: critical steepness, (otherwise no rank is rescued at all); and slope matching, , a principled initialization for .
COROLLARY 3.4 (STRUCTURAL RELEVANCE-DIVERSITY THRESHOLD). Under Assumption 3.2, any promotion that rescues even the first pruned rank () requires budget ; its budget necessarily exceeds the top-1 confidence margin. Rescue and exact top-1 preservation are therefore in tension in this model, suggesting that the relevance-diversity trade-off has a structural origin rather than being a tuning artifact.
Table 1: Dataset statistics.
| Statistic | Value |
|---|---|
| # Sampled users | 100K |
| # Unique queries | 1.48M |
| # Cities | 2,608 |
| Max behavior seq. length | 30 |
| Avg. behavior seq. length | 27.7 |
| Stage 1 samples (pre-training) | 7.79M |
| Stage 2 samples (alignment) | 3.08M |
This follows by setting in (21): the bracket equals , which exceeds for every . Corollary 3.4 predicts a plateau-then-degrade relevance curve as the budget grows—precisely the behavior in Figure 4, where HR@5 stays flat up to the production operating point () and degrades only beyond it. With scores fluctuating around the Zipf trend, rescues occur probabilistically below the threshold, consistent with the diversity gains at unchanged HR@5 in Section 4.4. These single-step results do not translate directly to sequence-level decoding: hypotheses are re-sorted at every step, and over steps the bonus accumulates to at most . One property does hold step by step: since beam 0 is unbonused while every rival gains at most , the top-ranked continuation coincides with standard beam search whenever the leading margin exceeds . Whether the model operates in this regime in practice is an empirical question; Section 4.4 confirms it, with SDBS leaving HR@5 unchanged relative to standard beam search while reducing Div@5 by 8.7%. Since the bonus is rank-asymmetric (zero at ), it also partially counteracts the length penalty that OA-BPE reduces at the vocabulary level (Section 3.2).
4 Experiments
Our experiments answer four questions. RQ1: Does SPADE outperform strong industrial and generative baselines? RQ2: How much does each component contribute? RQ3: Where are the gains largest: cold-start users, long-tail intents, sparse regions, or peak hours? RQ4: Do offline gains hold in production?
4.1 Experimental Setup
Dataset and split. We randomly sample 100K users from the production logs of a large-scale local service platform; both training stages operate on this shared user pool. Stage 1 (cross-domain pretraining) collects the sampled users' search logs across all verticals (restaurants, entertainment, lifestyle services, etc.) over 30 consecutive days. Stage 2 (MARS-DPO alignment) uses impression-click pairs from the query suggestion module for the same users over the same 30-day window. Each instance contains the user profile, a recent behavior sequence (truncated to 30 interactions), GPS-level geographic context, and temporal context (hour-of-day, day-of-week, holiday flag). We use a strict chronological split: the model is trained on the 30-day window, validated on the immediately following day, and tested on the day after that. The test-set labels are collected from the held-out day, and no evaluation-day instances are used in preference-pair construction or candidate generation. Table 1 summarizes the corpus statistics.
Offline metrics. Following prior work [13, 29, 46], we evaluate four aspects of quality. Relevance: HR@K, MRR@K, and SemSim@K measure exact-match recall, rank quality, and embedding-space proximity to the label query, respectively. Diversity: Intra-List Diversity (IDiv@K, mean pairwise cosine similarity within the top-K list; lower is more diverse). Local grounding: Geo-Consistency (GeoC@K) is the mean minimum distance (km) from the user's GPS location to the nearest POI in the retrieved results for each generated query; lower values indicate better geographic alignment. Executability: Search Executability (Exec@K), an LLM-as-judge score (0–1) measuring whether each generated query returns suitable results in the platform's retrieval system. To avoid correlated bias with the training reward , Exec@K uses a separate judge model (Qwen3-32B) with an independently designed prompt. We report results at , which matches the production display slot count.
Implementation details. The backbone is a 6-layer Transformer decoder with hidden size 512 and 8 attention heads. Stage 1 pre-training uses a learning rate of 5e-5, batch size 256, temperature , and random feature masking probability , trained for 3 epochs. Stage 2 MARS-DPO uses a learning rate of 1e-6, batch size 256, DPO temperature , and SFT anchor weight , trained for 1 epoch. The composite reward weights are , reflecting the dominance of the rank signal in production. Adaptive hard negative sampling uses top- candidates with concentration parameter . Impression feedback weights are . All models are trained on 8 data-center GPUs with AdamW () and linear warmup over the first 5% steps.
Online metrics. For the A/B test, we report Module CTR, Search Volume, Search DAU, and serving-side statistics (P50/P95 latency and incremental resource cost).
4.2 Baselines
We compare against production-strength retrieval systems and recent generative query recommendation methods.
Industrial non-generative baselines. SwingQ2Q [47]: graph-based query-to-query recommendation trained via the Swing algorithm on user search cooccurrence. Pop/Trend [3]: time-aware and region-aware trending query recommendation. Dense-Ret [8, 18]: a dual-encoder retrieval model over a fixed query pool with user and context features.
Generative baselines. ZS-LLM: zero-shot prompting of Qwen3.5-122B-A10B with user behavior, GPS, and temporal context, generating queries without fine-tuning. GQR [30]: LLM-based generative query recommendation with CTR-alignment training. Local-SUG [6]: a geography-aware LLM for query suggestion in local-life services with city-aware candidate mining, the most task-aligned academic baseline. CTR-GQS [29]: business-aware generative baseline for conversational search. OneSug [13]: end-to-end generative framework for e-commerce query suggestion. AIGQ [46]: the closest industrial baseline; listwise training, IL-GRPO policy optimization, hybrid nearline/online deployment.
For fair comparison, all fine-tuned generative baselines are re-implemented and retrained from scratch on the same 30-day corpus under their original training objectives; ZS-LLM is evaluated zero-shot without fine-tuning. All methods receive the same input
Table 2: Main offline comparison (). Best in bold; second-best underlined. HR is reported in percentage points. : significant over AIGQ (, paired -test over per-user metrics). : lower is better. Sim = SemSim, Div = IDiv, Geo = GeoC.
| Method | Relevance | Div↓ | Grounding | |||
|---|---|---|---|---|---|---|
| HR | Sim | MRR | Geo↓ | Exec | ||
| Pop/Trend | 6.1 | .256 | .0423 | .318 | 2.73 | .784 |
| Dense-Ret | 8.3 | .298 | .0614 | .291 | 2.48 | .841 |
| SwingQ2Q | 9.7 | .324 | .0738 | .279 | 2.31 | .897 |
| ZS-LLM | 5.4 | .241 | .0387 | .237 | 3.52 | .793 |
| CTR-GQS | 10.1 | .342 | .0782 | .245 | 2.94 | .887 |
| GQR | 10.8 | .356 | .0836 | .251 | 2.83 | .871 |
| OneSug | 11.3 | .367 | .0891 | .234 | 3.05 | .903 |
| Local-SUG | 11.0 | .362 | .0867 | .241 | 2.28 | .915 |
| AIGQ | 12.5 | .386 | .1012 | .204 | 2.78 | .934 |
| SPADE | 13.2† | .398† | .1065† | .211 | 1.66† | .952† |
| Δ AIGQ | +5.6% | +3.1% | +5.2% | +3.4% | -40.3% | +1.9% |
features, including GPS coordinates, temporal context, user profile, and behavior history. The difference lies only in feature encoding: AIGQ, OneSug, and CTR-GQS represent location and time as text tokens, while SPADE uses continuous multi-scale spatiotemporal encodings. For cross-domain methods (e.g., OneSug), we apply minimal adaptations by replacing item vocabularies with query text while preserving the original loss formulation.
4.3 Main Offline Comparison (RQ1)
Table 2 presents the main offline results. SPADE outperforms all baselines in relevance (HR@5 +5.6%, MRR@5 +5.2%), executability (Exec@5 +1.9%), and geographic grounding (GeoC@5 -40.3%). The one metric where SPADE does not lead is diversity: IDiv@5 (0.211) is 3.4% higher than AIGQ (0.204), i.e., marginally less diverse. The gap is structural: AIGQ's listwise optimization conditions each candidate on previously generated outputs, giving it a natural deduplication advantage, but relies on a ranking model to judge list quality, a noisy signal that weakens relevance. SPADE's pointwise alignment (MARS-DPO) provides more accurate per-candidate rewards at the cost of cross-candidate visibility during training. SDBS recovers most of the diversity loss at decoding time—without it, IDiv@5 would degrade to 0.231 (+13.2% over AIGQ)—and as Figure 4 shows, SDBS achieves a strictly better relevance–diversity Pareto frontier than Diverse Beam Search. The remaining gains in relevance and grounding stem primarily from continuous spatiotemporal encoding (STAR) and business-aligned tokenization (OA-BPE).
For reference, non-generative baselines like SwingQ2Q achieve competitive relevance but lack diversity due to reliance on historical query co-occurrence. Among generative baselines, OneSug slightly outperforms Local-SUG in relevance, while Local-SUG benefits from location modeling in GeoC@5 and Exec@5. GQR surpasses CTR-GQS in relevance, whereas CTR-GQS improves diversity through its alignment objective. AIGQ is the strongest overall baseline, yet SPADE surpasses it across the key metrics.
Table 3: Ablation study. All variants share the same backbone and training data. Best results are bold. ↓: lower is better.
| Variant | HR@5 | MRR@5 | IDiv@5↓ | GeoC@5↓ |
|---|---|---|---|---|
| w/o OA-BPE | 12.5 | 0.1024 | 0.213 | 1.68 |
| w/o STAR | 12.6 | 0.1018 | 0.223 | 2.55 |
| w/ Std-DPO | 12.8 | 0.1029 | 0.219 | 1.71 |
| w/ Std-BS | 13.2 | 0.1062 | 0.231 | 1.67 |
| w/ DBS | 8.7 | 0.0651 | 0.208 | 2.82 |
| SPADE | 13.2 | 0.1065 | 0.211 | 1.66 |
4.4 Component Ablation (RQ2)
Table 3 reports the ablation study, with five variants: (1) w/o OA-BPE: replace OA-BPE with standard BPE; (2) w/o STAR: replace the spatiotemporal encoder with a coarse discrete location token; (3) w/ Std-DPO: replace MARS-DPO with standard DPO (uniform negative sampling, equal sample weights); (4) w/ Std-BS: replace Sigmoid Diversity Beam Search with standard beam search; (5) w/ DBS: replace Sigmoid Diversity Beam Search with Diverse Beam Search [42].
Every component contributes positively. OA-BPE yields the largest HR@5 gain (12.5 → 13.2, +5.6%), confirming that business-aligned tokenization improves the generation prior for high-value long-tail queries; its effect is localized to relevance, with IDiv@5 and GeoC@5 nearly unchanged. Removing STAR degrades all four metrics: without fine-grained spatiotemporal encoding, the model cannot capture interests tied to the user's immediate surroundings or time-sensitive demand patterns, reducing both relevance (-4.5% HR@5) and diversity (+5.7% IDiv@5) while causing the largest GeoC@5 increase (+53.6%). MARS-DPO improves HR@5 by 3.1% and MRR@5 by 3.5% over standard DPO, confirming that adaptive hard negative sampling and impression feedback weighting strengthen preference alignment. Sigmoid Diversity Beam Search reduces IDiv@5 by 8.7% over standard beam search with negligible impact on HR@5 (<0.2%). DBS achieves slightly better IDiv@5 (0.208) than SDBS, but its forced beam grouping generates low-relevance candidates, causing a -34.1% HR@5 collapse and severe GeoC@5 degradation (2.82 km), a trade-off that is unacceptable in production.
4.5 Slice Analysis for Local Search (RQ3)
Table 4 reports HR@5 and GeoC@5 on four traffic slices, and SPADE's advantage over AIGQ grows in the most difficult conditions. On cold-start users (fewer than 5 interactions), SPADE achieves +9.8% HR@5, suggesting that OA-BPE and STAR provide better inductive bias when user history is sparse. On long-tail intents (query frequency <100 in the training log), SPADE gains +13.5% HR@5, consistent with OA-BPE's intended effect: more favorable tokenizations for business-valuable long-tail queries shift the generation prior toward rare but important intents. On geographically sparse regions (fewer than 10K monthly active users), SPADE reduces GeoC@5 by 48.3% (lower is better), confirming that continuous spatiotemporal encoding is most valuable when discrete location tokens are too coarse to capture fine-grained regional demand. On time-sensitive traffic (weekday meal hours 11–13 and 17–20), both methods achieve higher HR@5 because weekday dining
Table 4: Slice analysis. HR@5 and GeoC@5 (km, ↓) for SPADE and AIGQ on four traffic subsets. Δ: relative change of SPADE over AIGQ.
| Slice | HR@5 | GeoC@5↓ | ||
|---|---|---|---|---|
| AIGQ | SPADE (Δ) | AIGQ | SPADE (Δ) | |
| Cold-start | 9.2 | 10.1 (+9.8%) | 3.41 | 1.94 (-43.1%) |
| Long-tail | 7.4 | 8.4 (+13.5%) | 3.58 | 2.07 (-42.2%) |
| Geo-sparse | 10.8 | 11.6 (+7.4%) | 4.12 | 2.13 (-48.3%) |
| Time-sensitive | 16.8 | 17.9 (+6.5%) | 1.92 | 1.38 (-28.1%) |
Table 5: OA-BPE vs. standard BPE tokenization statistics.
| Subset | Metric | Std | OA | Δ |
|---|---|---|---|---|
| Head (≥1K) | Med. tok. len. | 4.1 | 4.0 | -2.4% |
| Gen. prob. top-10 | 0.587 | 0.591 | +0.7% | |
| Tail (<100) | Med. tok. len. | 7.2 | 5.9 | -18.3% |
| Gen. prob. top-10 | 0.312 | 0.383 | +22.7% | |
| Frac. shortened | — | — | 64.1% | |
| Avg. toks saved | — | — | 1.8 |
near the workplace is high-frequency and predictable; the GeoC@5 gap narrows to -28.1% as coarse location signals already capture routine office-area demand.
4.6 Analysis of OA-BPE and STAR (RQ2 cont.)
OA-BPE tokenization quality. Table 5 compares OA-BPE with standard BPE across head queries (frequency ≥1000) and long-tail queries (frequency <100). On head queries, OA-BPE produces nearly identical tokenizations (-2.4% median length), confirming that business-value weighting does not degrade high-frequency terms. On long-tail queries, OA-BPE reduces the median token length by 18.3% and increases their generation probability in the top-10 output list by 22.7%. The fraction of long-tail queries whose tokenization is shortened (by at least one token) reaches 64.1%, indicating that the OA-BPE merge criterion systematically favors commercially valuable rare phrases.
STAR spatiotemporal encoding. Table 6 isolates the contribution of each STAR component. We evaluate five variants: (1) w/o spatial: removes the multi-scale spatial sinusoidal encoding and relies solely on temporal signals and user history; (2) w/o temporal: removes the periodic temporal encoding (hour-of-day and day-of-week) and relies solely on spatial signals; (3) single-scale: replaces the multi-scale spatial encoding (S = 4 resolutions from 1 km to city-level) with a single 1 km resolution, removing the coarser scales that capture regional demand patterns; (4) no gate: replaces the zero-initialized soft gate with direct addition of spatiotemporal embeddings to the hidden state, removing the gradual warm-up mechanism; (5) SPADE (full): the complete STAR module with multi-scale spatial encoding, periodic temporal encoding, and soft gating.
Removing spatial encoding causes the largest GeoC@5 degradation (2.55 km, +53.6%) and the largest HR@5 drop (-3.8%), confirming that geographic grounding depends primarily on multi-scale spatial signals and that spatial context also contributes to intent
Table 6: STAR component ablation. All variants use the same OA-BPE vocabulary, MARS-DPO training, and SDBS decoding. ↓: lower is better.
| Variant | HR@5 | MRR@5 | IDiv@5↓ | GeoC@5↓ |
|---|---|---|---|---|
| w/o spatial | 12.7 | 0.1031 | 0.213 | 2.55 |
| w/o temporal | 13.0 | 0.1048 | 0.212 | 1.79 |
| single-scale | 12.9 | 0.1041 | 0.214 | 1.91 |
| no gate | 12.8 | 0.1033 | 0.216 | 1.82 |
| SPADE (full) | 13.2 | 0.1065 | 0.211 | 1.66 |
relevance. Removing temporal encoding has a smaller effect on GeoC@5 (1.79 km, +7.8%) but still hurts HR@5 (-1.5%), indicating that time-of-day patterns contribute to relevance by capturing periodic demand shifts (e.g., lunch vs. evening intents). The single-scale variant degrades both GeoC@5 (1.91 km) and HR@5 (12.9), showing that coarser scales encode complementary regional demand that a single fine resolution cannot capture alone. Removing the soft gate yields HR@5 of 12.8 (-3.0%) despite retaining spatial and temporal signals: directly injecting spatiotemporal embeddings into the hidden state disrupts pre-trained language model representations during early training, whereas the zero-initialized gate lets the model incorporate these signals gradually as training stabilizes.
GeoC@5 also decreases monotonically as the finest spatial resolution is refined: 2.68 km with city-level tokens (close to the AIGQ baseline at 2.78 km), 2.41 km at 10 km, 1.98 km at 5 km, and 1.66 km at 1 km.
4.7 Diversity Analysis
Figure 4 shows the relevance-diversity trade-off as the bonus strength varies from 0 to 1. At , all methods reduce to standard beam search. As increases, Sigmoid Diversity Beam Search achieves a strictly better Pareto frontier than Diverse Beam Search [42]: at the same HR@5, SPADE's decoder yields lower IDiv@5 (more diverse), and vice versa. The production operating point () corresponds to the results in Table 2.
4.8 Online A/B Test (RQ4)
We deploy SPADE on the production platform and run a one-week A/B test against the production baseline with 20% of traffic per arm. SPADE achieves +1.88% relative lift in Module CTR (), +0.177% in Search Volume (), and +0.105% in Search DAU (), indicating that offline gains transfer to production.
Serving performance. On a single inference-class GPU, SPADE occupies about 20 GB of memory and achieves a throughput of 289 QPS with P50 latency of 36.1 ms and P95 latency of 65.4 ms. This satisfies the platform's real-time serving constraint (P95 < 100 ms) with comfortable headroom, and the per-request cost is comparable to the previous generation model, requiring no additional GPU allocation for deployment.
5 Conclusion
In this work, we presented SPADE, an end-to-end generative framework for proactive query recommendation in local search. Its four components—OA-BPE, STAR, MARS-DPO, and Sigmoid Diversity

Figure 4: Relevance-diversity trade-off as diversity strength varies. The y-axis is inverted so that the upper-right corner is optimal (high relevance, high diversity). SDBS (SPADE) achieves a strictly better Pareto frontier than DBS: at comparable IDiv@5, SDBS retains near-full HR@5 while DBS collapses to 8.7 HR@5 (-34%).
Beam Search—form a single co-designed pipeline spanning the vocabulary, context encoding, preference alignment, and decoding stages. Offline experiments show +5.6% HR@5 and -40.3% GeoC@5 over the strongest baseline; a one-week online A/B test confirms the offline results, with +1.88% Module CTR, +0.177% Search Volume, and +0.105% Search DAU. Limitations point to future directions: the quality reward relies on Qwen3.5-122B-A10B batch inference, which a distilled reward model could replace; OA-BPE weights require periodic recomputation as the query distribution evolves; and STAR encodes a single GPS coordinate, leaving trajectory-level spatiotemporal context as a natural extension.
References
[1] Esteban Garces Arias, Julian Rodemann, Meimingwei Li, Christian Heumann, and Matthias Aßenmacher. 2024. Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generation. In arXiv preprint arXiv:2407.18698. arXiv:2407.18698.
[2] Ricardo Baeza-Yates, Carlos Hurtado, and Marcelo Mendoza. 2004. Query Recommendation Using Query Logs in Search Engines. In International Workshop on Clustering Information over the Web (ClustWeb). 588–596.
[3] Ziv Bar-Yossef and Naama Kraus. 2011. Context-Sensitive Query Auto-Completion. In Proceedings of the 20th International Conference on World Wide Web. ACM, 107–116. doi:10.1145/1963405.1963424
[4] Sourya Basu, Govardana Sachithanandam Ramachandran, Nitish Shirish Keskar, and Lav R. Varshney. 2021. Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity. In International Conference on Learning Representations.
[5] Paolo Boldi, Francesco Bonchi, Carlos Castillo, Debora Donato, Aristides Gionis, and Sebastiano Vigna. 2008. The Query-flow Graph: Model and Applications. In Proceedings of the 17th ACM Conference on Information and Knowledge Management. 609–618. doi:10.1145/1458082.1458163
[6] Jinwen Chen, Shuai Gong, Shiwen Zhang, Zheng Zhang, Yachao Zhao, Lingxiang Wang, Haibo Zhou, Yuan Zhan, Wei Lin, and Hainan Zhang. 2026. LocalSUG: Geography-Aware LLM for Query Suggestion in Local-Life Services. arXiv preprint arXiv:2603.04946 (2026).
[7] Chen Cheng, Haiqin Yang, Michael R. Lyu, and Irwin King. 2013. Where You Like to Go Next: Successive Point-of-Interest Recommendation. In Proceedings of the 23rd International Joint Conference on Artificial Intelligence. 2605–2611.
[8] Paul Covington, Jay Adams, and Emre Sargin. 2016. Deep Neural Networks for YouTube Recommendations. In Proceedings of the 10th ACM Conference on Recommender Systems. ACM, 191–198. doi:10.1145/2959100.2959190
[9] Ming Ding, Zhuoyi Yang, Wenyi Hong, Wendi Zheng, Chang Zhou, Da Yin, Junyang Liu, Xu Zhou, Zhou Shao, Hongxia Yang, and Jie Tang. 2021. CogView: Mastering Text-to-Image Generation via Transformers. In Advances in Neural Information Processing Systems, Vol. 34. arXiv:2105.13290.
[10] Bryan Eikema and Wilker Aziz. 2020. Is MAP Decoding All You Need? The Inadequacy of the Mode in Neural Machine Translation. In Proceedings of the 28th International Conference on Computational Linguistics. 4506–4520. doi:10.18653/v1/2020.coling-main.398
[11] Adam Fisch, Jacob Eisenstein, Vicky Zayats, Alekh Agarwal, Ahmad Beirami, Chirag Nagpal, Pete Shaw, and Jonathan Berant. 2024. Robust Preference Optimization through Reward Model Distillation. In arXiv preprint arXiv:2405.19316.
[12] Shijie Geng, Shuchang Liu, Zuohui Fu, Yingqiang Ge, and Yongfeng Zhang. 2022. Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5). In Proceedings of the 16th ACM Conference on Recommender Systems. 299–315. doi:10.1145/3523227.3546767
[13] Xian Guo, Ben Chen, Siyuan Wang, Ying Yang, Chenyi Lei, Yueling Ding, and Han Li. 2026. OneSug: The Unified End-to-End Generative Framework for E-commerce Query Suggestion. In Proceedings of the Fortieth AAAI Conference on Artificial Intelligence.
[14] Alex Henry, Prudhi Raj Dachapally, Shubham Pawar, and Yuxuan Chen. 2020. Query-Key Normalization for Transformers. In Findings of the Association for Computational Linguistics: EMNLP 2020. arXiv:2010.04245.
[15] Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The Curious Case of Neural Text Degeneration. In Proceedings of the 8th International Conference on Learning Representations.
[16] Min Hou, Le Wu, Yuxin Liao, Yonghui Yang, Zhen Zhang, Yu Wang, Changlong Zheng, Han Wu, and Richang Hong. 2025. A Survey on Generative Recommendation: Data, Model, and Tasks. arXiv preprint arXiv:2510.27157 (2025). doi:10.48550/arXiv.2510.27157
[17] Yupeng Hou, Shanlei Mu, Wayne Xin Zhao, Yaliang Li, Bolin Ding, and Ji-Rong Wen. 2022. Towards Universal Sequence Recommenders. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 585–593. doi:10.1145/3534678.3539381
[18] Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. 2013. Learning Deep Structured Semantic Models for Web Search using Clickthrough Data. In Proceedings of the 22nd ACM International Conference on Information and Knowledge Management. ACM, 2333–2338. doi:10.1145/2505515.2505665
[19] Hao Jiang, Guoquan Wang, Donglin Zhou, Sheng Yu, Yang Zeng, Wencong Zeng, Kun Gai, and Guorui Zhou. 2025. LLM-Aligned Geographic Item Tokenization for Local-Life Recommendation. arXiv preprint arXiv:2511.14221 (2025). doi:10.48550/arXiv.2511.14221
[20] Yuu Jinnai, Ukyo Honda, Tetsuro Morimura, and Peinan Zhang. 2024. Generating Diverse and High-Quality Texts by Minimum Bayes Risk Decoding. In Findings of the Association for Computational Linguistics: ACL 2024. arXiv:2401.05054.
[21] Wang-Cheng Kang and Julian McAuley. 2018. Self-Attentive Generative Recommendation. In 2018 IEEE International Conference on Data Mining (ICDM). IEEE, 197–206. doi:10.1109/ICDM.2018.00035
[22] Taku Kudo and John Richardson. 2018. SentencePiece: A Simple and Language Independent Subword Tokenizer and Detokenizer for Neural Text Processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. 66–71. doi:10.18653/v1/D18-2012
[23] Haitao Lin, Zhen Yang, Jiawei Xue, Ziji Zhang, Luzhu Wang, Yikun Gu, Yao Xu, and Xin Li. 2025. Spacetime-GR: A Spacetime-Aware Generative Model for Large Scale Online POI Recommendation. arXiv preprint arXiv:2508.16126 (2025). doi:10.48550/arXiv.2508.16126
[24] Yingtao Luo, Qiang Liu, and Zhaocheng Liu. 2021. STAN: Spatio-Temporal Attention Network for Next Location Recommendation. In Proceedings of the Web Conference 2021. 2177–2185. doi:10.1145/3442381.3449998
[25] Jonathan Lys, Vincent Gripon, Bastien Pasdeloup, Axel Marmoret, Lukas Mauch, Fabien Cardinaux, and Ghouthi Bouki Hacene. 2026. DSP4: Partition Determinant Point Process for Diversity in Parallel Discrete Diffusion Decoding. arXiv preprint arXiv:2603.19146 (2026). doi:10.48550/arXiv.2603.19146
[26] Xueguang Ma, Liang Wang, Nan Yang, Furu Wei, and Jimmy Lin. 2024. Fine-Tuning LLaMA for Multi-Stage Text Retrieval. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. doi:10.1145/3626772.3657951
[27] Xueguang Ma, Xinyu Zhang, Ronak Pradeep, and Jimmy Lin. 2023. Zero-Shot Listwise Document Reranking with a Large Language Model. In arXiv preprint arXiv:2305.02156.
[28] Gengchen Mai, Krzysztof Janowicz, Bo Yan, Rui Zhu, Ling Cai, and Ni Lao. 2020. Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cells. In Proceedings of the 8th International Conference on Learning Representations.
[29] Erxue Min, Hsiu-Yuan Huang, Xihong Yang, Min Yang, Xin Jia, Yunfang Wu, Hengyi Cai, Junfeng Wang, Shuaiqiang Wang, and Dawei Yin. 2025. CTR-Guided Generative Query Suggestion in Conversational Search. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track. Association for Computational Linguistics, Suzhou, China, 2624–2634. doi:10.18653/v1/2025.emplr-industry.178
[30] Erxue Min, Hsiu-Yuan Huang, Xihong Yang, Min Yang, Xin Jia, Yunfang Wu, Hengyi Cai, Junfeng Wang, Shuaiqiang Wang, and Dawei Yin. 2025. From Prompting to Alignment: A Generative Framework for Query Recommendation. In arXiv preprint arXiv:2504.10208. arXiv:2504.10208.
[31] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F. Christiano, Jan Leike, and Ryan Lowe. 2022. Training Language Models to Follow Instructions with Human Feedback. In Advances in Neural Information Processing Systems, Vol. 35.
[32] Liwei Pan, Weike Pan, Meiyan Wei, Hongzhi Yin, and Zhong Ming. 2025. A Survey on Sequential Recommendation. arXiv preprint arXiv:2412.12770 (2025). doi:10.48550/arXiv.2412.12770
[33] Buo Phan, Marton Havasi, Matthew Muckley, and Karen Ulrich. 2024. Understanding and Mitigating Tokenization Bias in Language Models. In Proceedings of the 41st International Conference on Machine Learning. arXiv:2406.16829.
[34] Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2023. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. In Advances in Neural Information Processing Systems, Vol. 36. 53728–53741.
[35] Adithya Rajan, Xiaoyu Liu, Prateek Verma, and Vibhu Arora. 2025. Synthetic Pre-fixes to Mitigate Bias in Real-Time Neural Query Autocomplete. In Proceedings of the ACM SIGIR Asia Pacific Conference on Information Retrieval. arXiv:2510.01574.
[36] Shashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan, Trung Vu, Lukasz Heldt, Lichan Hong, Yi Tay, Vinh Q. Tran, Jonah Samost, Maciej Kula, Ed H. Chi, and Maheswaran Sathiamoorthy. 2023. Recommender Systems with Generative Retrieval. In Advances in Neural Information Processing Systems, Vol. 36. 10299–10315.
[37] Badrul Sarwar, George Karypis, Joseph Konstan, and John Riedl. 2001. Item-based Collaborative Filtering Recommendation Algorithms. In Proceedings of the 10th International Conference on World Wide Web. ACM, 285–295. doi:10.1145/371920.372071
[38] Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural Machine Translation of Rare Words with Subword Units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Berlin, Germany, 1715–1725. doi:10.18653/v1/P16-1162
[39] Noam Shazeer. 2020. GLU Variants Improve Transformer. arXiv preprint arXiv:2002.05202 (2020).
[40] Milad Shokouhi and Kira Radinsky. 2012. Time-Sensitive Query Auto-Completion. In Proceedings of the 35th International ACM SIGIR Conference on Research and Development in Information Retrieval. 601–610. doi:10.1145/2348283.2348364
[41] Yixuan Su, Tian Lan, Yan Wang, Dani Yogatama, Lingpeng Kong, and Nigel Collier. 2022. A Contrastive Framework for Neural Text Generation. In Advances in Neural Information Processing Systems, Vol. 35.
[42] Ashwin K. Vijayakumar, Michael Cogswell, Ramprasath R. Selvaraju, Qing Sun, Stefan Lee, David J. Krundall, and Dhruv Batra. 2018. Diverse Beam Search for Improved Description of Complex Scenes. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence. doi:10.1609/aaai.v32i1.12340
[43] Dongsheng Wang, Yuxi Huang, Shen Gao, Yifan Wang, Chengrui Huang, and Shuo Shang. 2025. Generative Next POI Recommendation with Semantic ID. arXiv preprint arXiv:2506.01375 (2025). doi:10.48550/arXiv.2506.01375
[44] Fangye Wang, Haowen Lin, Yifang Yuan, Siyuan Wang, Xiaojiang Zhou, Song Yang, and Pengjie Wang. 2026. GeoGR: A Generative Retrieval Framework for Spatio-Temporal Aware POI Recommendation. arXiv preprint arXiv:2602.10411 (2026). doi:10.48550/arXiv.2602.10411
[45] Zhipeng Wei, Kuo Cai, Junda She, Jie Chen, Minghao Chen, Yang Zeng, Qiang Luo, Wencong Zeng, Ruiming Tang, Kun Gai, and Guorui Zhou. 2025. OneLoc: Geo-Aware Generative Recommender Systems for Local Life Service. arXiv preprint arXiv:2508.14646 (2025). doi:10.48550/arXiv.2508.14646
[46] Jingcao Xu, Jianyun Zou, Renkai Yang, Zili Geng, Qiang Liu, and Haihong Tang. 2026. AIGQ: An End-to-End Hybrid Generative Architecture for E-commerce Query Recommendation. arXiv preprint arXiv:2603.19710 (2026). doi:10.48550/arXiv.2603.19710
[47] Xiaoyong Yang, Yadong Zhu, Yi Zhang, Xiaobo Wang, and Quan Yuan. 2020. Large Scale Scale Graph Construction for Recommendation in E-commerce. arXiv preprint arXiv:2010.05525 (2020). doi:10.48550/arXiv.2010.05525
[48] Peiyan Zhang, Hanmo Liu, Chengxuan Tong, Yuxia Wu, Wei Guo, and Yong Liu. 2026. ReCast: Recasting Learning Signals for Reinforcement Learning in Generative Recommendation. arXiv preprint arXiv:2604.22169 (2026). doi:10.48550/arXiv.2604.22169
[49] Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. 2025. Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models. arXiv preprint arXiv:2506.05176 (2025).
[50] Chu Zhao, Enneng Yang, Jianzhe Zhao, and Guibing Guo. 2026. Causal Direct Preference Optimization for Distributionally Robust Generative Recommendation. arXiv preprint arXiv:2603.22335 (2026). doi:10.48550/arXiv.2603.22335