Paper deep dive
WeGR: Unified Generative Retrieval for Industrial Search Systems in WeChat
Jiajun Han, Guoxin Ma, Felix, Liangsheng Xu, Ruiqi Yu, Yingdi Guo, Zongbing Wang, Xinhua Ye, Chenyan Hua, Xin Xie, Pengcheng Yang, Haijun Wu
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Generative retrieval (GR) offers a promising paradigm for industrial search by unifying candidate generation within an autoregressive framework. However, its effectiveness is limited by two key challenges. First, existing Semantic ID (SID) tokenizers struggle to incorporate collaborative signals while maintaining effective codebook utilization, limiting their ability to distinguish items and achieve high-quality retrieval. Second, existing reinforcement learning (RL) methods suffer from severe reward sparsity under exact SID matching, leaving many sampled trajectories without effective learning signals and hindering preference optimization. To address these challenges, we propose WeGR, a unified generative retrieval framework consisting of two complementary components. Specifically, the Collaborative and Collapse-free Tokenizer (CoCo-VAE) incorporates query-to-item and item-to-item collaborative signals while mitigating codebook collapse through codebook refresh and complementary regularization, enabling more informative and balanced SID representations. Building upon these SIDs, Dynamic Horizon Policy Optimization (DHPO) progressively expands both reward evaluation and policy optimization horizons, reducing learning difficulty while leveraging behavioral reward signals at different levels of the SID hierarchy, without relying on auxiliary reward models. Extensive offline experiments demonstrate the effectiveness of WeGR in improving retrieval and ranking performance. Moreover, a two-month online A/B test in WeChat E-commerce Search demonstrates relative improvements of 2.539% in orders, 1.508% in click-through rate, and 1.381% in conversion rate, while reducing online CPU and GPU usage by 25.5% and 26.1%, respectively. The system has been successfully deployed across multiple search scenarios in WeChat, serving billions of users, generating tens of millions of PVs daily.
Tags
Links
- Source: https://arxiv.org/abs/2610.16979v1
- Canonical: https://arxiv.org/abs/2610.16979v1
Trouble viewing inline? Open PDF directly ā
Full Text
64,724 characters extracted from source content.
Expand or collapse full text
WeGR: Unified Generative Retrieval for Industrial Search Systems in WeChatThanks: āThese authors contributed equally as co-first authors.Thanks: #These authors contributed equally as co-second authors.Thanks: ā Corresponding author. Jiajun Hanā, Guoxin Maā, Felixāā , Liangsheng Xu#, Ruiqi Yu#, Yingdi Guo, Zongbing Wang, Xinhua Ye, Chenyan Hua, Xin Xie, Pengcheng Yang, Haijun Wu Ā© none Abstract. Generative retrieval (GR) offers a promising paradigm for industrial search by unifying candidate generation within an autoregressive framework. However, its effectiveness is limited by two key challenges. First, existing Semantic ID (SID) tokenizers struggle to incorporate collaborative signals while maintaining effective codebook utilization, limiting their ability to distinguish items and achieve high-quality retrieval. Second, existing reinforcement learning (RL) methods suffer from severe reward sparsity under exact SID matching, leaving many sampled trajectories without effective learning signals and hindering preference optimization. To address these challenges, we propose WeGR, a unified generative retrieval framework consisting of two complementary components. Specifically, the Collaborative and Collapse-free Tokenizer (CoCo-VAE) incorporates query-to-item and item-to-item collaborative signals while mitigating codebook collapse through codebook refresh and complementary regularization, enabling more informative and balanced SID representations. Building upon these SIDs, Dynamic Horizon Policy Optimization (DHPO) progressively expands both reward evaluation and policy optimization horizons, reducing learning difficulty while leveraging behavioral reward signals at different levels of the SID hierarchy, without relying on auxiliary reward models. Extensive offline experiments demonstrate the effectiveness of WeGR in improving retrieval and ranking performance. Moreover, a two-month online A/B test in WeChat E-commerce Search demonstrates relative improvements of 2.539% in orders, 1.508% in click-through rate, and 1.381% in conversion rate, while reducing online CPU and GPU usage by 25.5% and 26.1%, respectively. The system has been successfully deployed across multiple search scenarios in WeChat, serving billions of users, generating tens of millions of PVs daily. Keywords: Search System, Generative Retrieval, Reinforcement Learning 1. Introduction As illustrated in Figure 1, modern industrial search systems typically organize candidate generation, pre-ranking, and ranking as a multi-stage cascade. Such systems maintain multiple retrieval channels and pass their merged candidate set through downstream ranking stages, increasing both serving complexity and computational cost. Generative retrieval (GR) offers an alternative paradigm by representing each item as a sequence of discrete tokens, commonly referred to as a Semantic ID (SID), and directly generating candidate SIDs conditioned on the query and user context (Tay et al., 2022; Wang et al., 2022; Bevilacqua et al., 2022; Rajput et al., 2023). By replacing independent candidate scoring with autoregressive generation, GR provides a unified interface for modeling relevance, semantics, and user preference. Realizing this potential in large-scale industrial search system, however, depends on learning behaviorally informative SIDs and aligning the policy model with observed user feedback in a robust and transferable manner. Figure 1. (a) Our proposed End-to-End generative retrieval framework, (b) the traditional multi-stage cascading architecture in E-commerce search. The first challenge lies in constructing SIDs that preserve collaborative semantics while maintaining effective codebook utilization. Existing quantization methods mainly follow two paradigms. RQ-VAE-based methods support end-to-end learning and allow task-specific supervision to directly shape SID construction, but discrete assignment and successive residual decomposition can produce imbalanced codeword usage and codebook collapse (Rajput et al., 2023; Wan et al., 2026). RQ-Kmeans-based methods provide more explicit control over cluster assignments and can incorporate balancing strategies or alternative quantizers (Deng et al., 2025; Chen et al., 2025); however, collaborative and business-specific signals are usually encoded only in upstream item representations and may be attenuated or distorted during multi-level residual quantization. Consequently, existing paradigms offer complementary strengths but do not fully reconcile collaborative-information preservation with stable codebook utilization, limiting the representational capacity of the resulting SID space. The second challenge lies in aligning the generative policy with user preferences. Supervised fine-tuning (SFT) maximizes the likelihood of observed positive SIDs but does not explicitly distinguish the relative value of generated candidates. On-policy reinforcement learning (RL) facilitates preference optimization by leveraging reward signals from user interactions (Fu et al., 2026b; Zhang et al., 2026d). Group Relative Policy Optimization (GRPO) is a widely used optimizer that learns from the relative advantages of multiple sampled trajectories. However, when using outcome-based rewards from clicks and orders, GRPO requires generated SIDs to exactly match positive items, resulting in severe reward sparsity and insufficient learning signals (Zhang et al., 2026b). To alleviate reward sparsity, existing approaches either expand rollout budgets via guided decoding (e.g., beam search) (Chen et al., 2026b) or introduce auxiliary rankers for denser rewards (Chen et al., 2026a; Zhang et al., 2026c). Larger rollout budgets incur substantial computation, while beam search introduces a mismatch between selected trajectories and the policyās sampling distribution. On the other hand, auxiliary rankersātrained strictly on candidates from upstream retrieval stagesāprovide unreliable scores for medium- and long-tail items explored by the generative policy. Furthermore, practical ranking scores often rely on hand-crafted heuristics tailored to specific scenarios, limiting cross-scenario generalizability and requiring costly adaptation. Thus, denser rewards do not necessarily yield better preference alignment and may instead inject misleading supervision. To address these challenges, we present WeGR, a unified generative retrieval framework for industrial search systems. WeGR connects behavior-aware SID construction with reward-model-free preference optimization through two components. First, the Collaborative and Collapse-free Tokenizer (CoCo-VAE) incorporates query-to-item and item-to-item collaborative supervision into continuous representation learning. It further combines first-layer codebook refresh with residual-fidelity and collision regularization, mitigating persistent codeword underutilization while preserving semantic structure across quantization layers. Second, Dynamic Horizon Policy Optimization (DHPO) leverages the hierarchical structure of SIDs for coarse-to-fine GRPO optimization. By progressively expanding the horizons for both reward evaluation and policy optimization, DHPO allows sampled trajectories to receive behavioral rewards through prefix matching during early training, before gradually transitioning to exact item-level preference optimization. This enables more effective use of click- and order-based outcome rewards without auxiliary reward models. We further introduce Multi-Positive Supervised Fine-Tuning (MSFT) to learn from multiple positive items and provide stable learning signals when group-relative rewards become uninformative. We evaluate WeGR in large-scale production search. In controlled online A/B tests, the V1.2 deployment removes 80% of candidates from conventional retrieval channels while achieving relative improvements of 2.539%, 1.508%, and 1.381% in orders, CTR, and CVR, respectively. This reduces the number of candidates entering pre-ranking by 38.10%, yielding CPU and GPU savings of 25.5% and 26.1%. WeGR also reduces average serving latency by 21.7 ms in WeChat Channels Search and 15.4 ms in WeChat Search. Further analyses examine performance across different user groups and query-frequency levels. To validate its cross-scenario applicability, we independently evaluate DHPO on WeChat e-commerce live-stream search, where it consistently outperforms SFT across all Click and Order metrics, achieving relative gains of 5.95%ā7.07% in HR@6 and 6.12%ā7.82% in MRR@6. These results demonstrate the effectiveness and efficiency of WeGR in industrial deployment, as well as the applicability of DHPO across different search scenarios. The main contributions of this work are summarized as follows: ⢠We introduce CoCo-VAE, a behavior-aware residual quantization framework that integrates collaborative supervision with codebook refresh, residual-fidelity preservation, and collision regularization to mitigate codebook underutilization without sacrificing SID semantics. ⢠We propose DHPO, a reward-model-free GRPO variant that progressively expands the horizons of reward evaluation and policy optimization along the SID hierarchy, alleviating outcome reward sparsity while maintaining generalizability across diverse search scenarios. ⢠We demonstrate the effectiveness of WeGR via production experiments and fine-grained analyses, showing improvements in business metrics with reduction in candidate volume, serving resources, and latency. We further validate DHPO in an independent live-stream search scenario. 2. Related Works 2.1. Generative Retrieval Generative retrieval (GR) formulates retrieval as autoregressive generation, directly predicting target identifiers conditioned on queries or user histories (Tay et al., 2022; Wang et al., 2022; Bevilacqua et al., 2022; Geng et al., 2022). For item retrieval, each item is represented as a Semantic ID (SID), a sequence of discrete tokens encoding its semantic information. Such SIDs are constructed through two paradigms: RQ-VAE-based learnable quantization (Rajput et al., 2023; Lee et al., 2022) and RQ-Kmeans-based residual clustering (Deng et al., 2025; Chen et al., 2025). RQ-Kmeans-based methods. (Luo et al., 2024) construct SIDs by successively clustering item embeddings and residuals, with explicit assignment control. OneRec (Deng et al., 2025) uses balanced clustering, while OneSearch (Chen et al., 2025) combines selective cluster balancing with optimized product quantization of the remaining residual (Ge et al., 2014). These designs separate quantization from behavior-aware representation learning. In OneSearch, collaborative signals enter upstream contrastive embeddings, but subsequent clustering does not directly optimize behavioral objectives. Preserving these signals in SIDs thus relies on quantization fidelity, not direct behavioral supervision of code assignment. RQ-VAE-based methods. learn representations and codebooks via reconstruction and quantization, allowing task supervision. LC-Rec (Zheng et al., 2024) combines learned indices with collaborative-semantic alignment tasks, while LETTER (Wang et al., 2024) directly regularizes the tokenizer via collaborative contrastive alignment and code-assignment diversity. ETEGRec (Liu et al., 2025) couples tokenization and recommendation via sequenceāitem and preferenceāsemantic alignment. These approaches differ in whether alignment targets the recommender, the tokenizer, or their joint training, rather than merely in the information used. Yet task alignment cannot ensure effective codebook utilization: hard assignments can undertrain rare codewords, causing codebook collapse (van den Oord et al., 2018) (Mentzer et al., 2023). DIGER (Fu et al., 2026a) enables recommendation-guided differentiable assignment with Gumbel-noise exploration to reduce code concentration; R3-VAE (Wan et al., 2026) stabilizes quantization via reference-vector guidance and scoring-based assignment. CoCo-VAE jointly addresses behavioral alignment and codebook underutilization within the RQ-VAE framework. It combines query-to-item and item-to-item supervision in continuous representations with codebook maintenance and regularization to preserve collaborative semantics, quantization fidelity, and codebook utilization. 2.2. Preference Alignment for Generative Retrieval Preference alignment in GR aims to capture user preferences and downstream utility, such as relevance, engagement, and conversion, beyond generation likelihood. Existing approaches achieve this through either inference-time guidance or training-time optimization. Given predicted semantic-code values, GPRās Value-Guided Trie-based Beam Search (Zhang et al., 2026a) allocates beam widths under trie constraints without updating the generative policy. Training-based approaches (Li et al., 2024) incorporate utility into supervised or preference objectives. Exponential reward-weighted SFT (Chidambaram et al., 2026) reweights logged interactions by observed rewards, while VARG (Chu et al., 2026) combines value-aware supervision with local ordinal learning over value-ordered codes. DPO (Rafailov et al., 2023) learns relative candidate preferences; RankGR (Fu et al., 2026b) extends comparisons to lists, and RAD-DPO (Chen et al., 2026c) addresses shared-prefix conflicts and noisy implicit feedback. Reinforcement learning aligns generation with retrieval utility through relevance-feedback training (Zhou et al., 2023), PPO (Schulman et al., 2017), or GRPO (Shao et al., 2024). However, exact-match behavioral rewards require the complete SID of a clicked or ordered item, leaving partially correct prefixes unrewarded (Zhang et al., 2026b). Limited rollouts can yield all-zero reward groups and no reward-driven policy gradient. With advantages centered within each group, increasing sample count alone cannot recover a learning signal if all sampled rewards remain identical. Existing methods alleviate reward sparsity by modifying sampling or reward design (Zhou et al., 2025). Larger rollout budgets increase computational costs, while HCGRec (Zhang et al., 2026b) uses target-prefix hints to recover rewarding trajectories but introduces additional training complexity and a potential training-inference mismatch. VARG (Chu et al., 2026) provides denser feedback through relevance and ranker-derived rewards, yet its reliance on auxiliary scoring systems may limit cross-scenario generalizability. Hierarchy-aware methods alleviate reward sparsity through finer-grained credit assignment. OneSearch-V2 (Chen et al., 2026a) combines behavioral rewards with estimated relevance and CTR, using position-wise advantages and prefix-dependent gating. HRPO (Guo et al., 2026) estimates prefix utilities from user-group statistics to derive token-level rewards. However, both methods rely on additional utility estimation or reward design, potentially introducing noisy supervision and limiting generalizability across search scenarios. DHPO alleviates reward sparsity through curriculum learning by progressively expanding reward evaluation and policy optimization horizons from prefix-level to item-level matching. This enables effective behavioral supervision while ensuring accurate credit assignment, without relying on auxiliary reward models. 3. Methodology In this section, we present WeGR, a unified generative retrieval framework for e-commerce search. WeGR consists of two complementary components. First, CoCo-VAE (§ 3.1) incorporates query-to-item and item-to-item collaborative signals into SID construction while mitigating codebook collapse through complementary regularization. Building on these SIDs, DHPO (§ 3.2.1) progressively expands reward evaluation and policy optimization horizons, enabling coarse-to-fine preference learning under sparse outcome rewards without relying on auxiliary reward models. The overall framework is illustrated in Figure 2. Figure 2. Overview of the proposed WeGR framework. The upper panels (aāc) illustrate CoCo-VAE SID tokenizer construction: (a) codebook refresh reactivates underutilized codewords; (b) Q2I and I2I collaborative signals guide SID learning; and (c) residual fidelity and anti-collapse regularization preserve semantic information and improve codebook utilization. The lower panels (dāe) illustrate preference optimization: (d) training data and model initialization, including session-level positive samples; and (e) DHPO progressively expands reward evaluation and policy optimization horizons, enabling coarse-to-fine preference learning along the SID hierarchy. 3.1. Collaborative and Collapse-free Tokenizer To preserve collaborative information while maintaining effective codebook utilization, we propose CoCo-VAE, a collaborative-aware residual quantization framework. Specifically, CoCo-VAE incorporates query-to-item (Q2I) and item-to-item (I2I) collaborative signals to guide representation learning, while combining Codebook Refresh with Fidelity Anti-collapse Regularization (FAR) to mitigate codebook collapse during hierarchical quantization. 3.1.1. Q2I And I2I Collaborative Regularization We introduce Q2I and I2I collaborative signals to address the lack of co-occurrence information in multimodal embeddings (Zhou et al., 2026). Specifically, an auxiliary contrastive loss is employed to capture collaborative relationships and guide SID construction. Unlike existing methods that impose constraints directly within the discrete codebook space, which can cause codebook collapse by forcing semantically dissimilar embeddings to share the same SID, we apply such constraints exclusively to the continuous representations of the encoder with a detached projection head. This design decouples collaborative representation learning from codebook optimization, allowing behavioral signals to enrich item representations without disrupting codebook assignments, thereby preserving representation diversity, quantization fidelity, and codebook stability. 3.1.2. Codebook Refresh In residual quantization, some codewords may become ādeadā due to insufficient usage during training, limiting effective codebook capacity. Incorporating Q2I and I2I collaborative signals may further concentrate item assignments on a few popular codewords, exacerbating codebook imbalance and collapse. To stabilize the first quantization layer, we introduce Codebook Refresh, a variant of the random-restart strategy (Dhariwal et al., 2020), as formulated in Eq. 1. We track codeword usage using an exponential moving average (EMA), where Nk,tN_k,t denotes the usage statistic of codeword k, nk,tn_k,t its assignment count at training step t, and γ the decay factor. When Nk,tN_k,t falls below a threshold Ļ, the codeword is considered ādeadā and reinitialized using the active codebook embedding, with a small Gaussian perturbation. Otherwise, it follows the standard update rule. This process is formulated as: (1) Nk,t=γāNk,tā1+(1āγ)ānk,t,k,tā[Nk,tā„Ļ]k,tupdate+[Nk,t<Ļ](j,t+ϵ),ϵā¼ā”(,0.012ā). casesN_k,t=γ N_k,t-1+(1-γ)n_k,t,\\ ce_k,t [N_k,tā„Ļ]ce_k,t^update+I[N_k,t<Ļ](ce_j,t+ ε),\\ ε (0,0.01^2I). cases where k,tce_k,t denotes the k-th codeword embedding, k,tupdatece_k,t^update represents its standard update, and j,tce_j,t is the j-th codeword embedding which is more active. This mechanism reactivates underutilized codewords and mitigates persistent codebook collapse. We restrict Codebook Refresh to the first quantization layer L1L_1, as frequent reinitialization in deeper layers may disrupt residual quantization. 3.1.3. Fidelity Anti-collapse Regularization Although Codebook Refresh mitigates codebook collapse in the first quantization layer L1L_1, codewords in deeper layers may remain underutilized. To address this issue, we introduce Fidelity Anti-collapse Regularization (FAR) from two complementary perspectives. At the sample level, we enable each sample to update multiple semantically relevant codewords instead of only its nearest one, expanding gradient coverage. At the codeword level, we regularize codeword assignments across samples by penalizing excessive collisions, preventing a large number of samples from concentrating on a few codewords. Sample-level Residual Fidelity. In conventional RQ-VAE (Rajput et al., 2023), hard top-1 assignment limits codeword updates to the nearest codeword, leaving other semantically relevant codewords insufficiently trained. To address this limitation, we select the most similar codewords for each residual embedding and aggregate them using softmax-normalized similarity weights. Specifically, let Ti(l)T_i^(l) denote the set of selected codeword indices for sample i at layer l, where |Ti(l)|=Ktop|T_i^(l)|=K_top, and wiāk(l)w_ik^(l) denote the corresponding aggregation weights. We construct a weighted representation ^i(l) e_i^(l) and minimize its cosine distance from the original residual embedding i(lā1)e_i^(l-1): (2) āfid=1LāBāāl=1Lāi=1B[1ācosā”(i(lā1),^i(l))],^i(l)=ākāTi(l)wiāk(l)āk(l), casesL_fid= 1LB _l=1^L _i=1^B [1- (e_i^(l-1), e_i^(l)) ],\\ e_i^(l)= _kā T_i^(l)w_ik^(l)ce_k^(l), cases where k(l)ce_k^(l) denotes the k-th codeword embedding at layer l, while B and L represent the batch size and the number of quantization layers, respectively. This sample-level objective allows multiple relevant codewords to receive gradient updates simultaneously, improving codebook utilization while preserving residual semantics. Codeword-level Collision Regularization. While sample-level residual fidelity broadens gradient updates across relevant codewords, it does not explicitly regulate their overall assignment distribution. We therefore introduce a codeword-level Anti-Collapse Loss to prevent different samples from concentrating on the same codewords, promoting more balanced codebook utilization. Specifically, we compute the probability distribution of each sample i over all codewords at quantization layer l, based on the cosine similarities between its residual embedding and the corresponding codewords: (3) piāk(l)=expā”(siāk(l)/β)āh=1Mlexpā”(siāh(l)/β),p_ik^(l)= (s_ik^(l)/β) _h=1^M_l (s_ih^(l)/β), where piāk(l)p_ik^(l) denotes the probability of selecting the k-th codeword for sample i at layer l, siāk(l)s_ik^(l) represents the cosine similarity between its residual embedding and the corresponding codeword, MlM_l is the codebook size at layer l, and β is the softmax temperature. For two distinct samples i and j, we measure their codeword collision probability as the overlap between their assignment distributions: (4) Ciāj(l)=āØi(l),j(l)ā©=āk=1Mlpiāk(l)āpjāk(l),C_ij^(l)= _i^(l),p_j^(l) = _k=1^M_lp_ik^(l)p_jk^(l), where i(l)p_i^(l) and j(l)p_j^(l) represent the probability distributions of samples i and j over all MlM_l codewords at layer l. A higher collision probability indicates a greater likelihood that both samples select the same codeword. We then minimize the average collision probability across distinct sample pairs and all quantization layers: (5) ācollision=1Lāāl=1L1Bā”(Bā1)āāiā jCiāj(l),L_collision= 1L _l=1^L 1B(B-1) _iā jC_ij^(l), By penalizing codeword collisions across samples, this objective prevents excessive assignments to a few popular codewords, encouraging more balanced codebook utilization. By combining sample-level residual fidelity with codeword-level collision regularization, we formulate the Fidelity Anti-collapse Regularization (FAR) objective as: (6) āFAR=Ī»fidāāfid+Ī»collisionāācollision,L_FAR= _fidL_fid+ _collisionL_collision, Together, these two objectives improve codebook utilization by expanding gradient supervision and reducing codeword concentration across samples. Overall Objective. The overall training objective combines FAR with the reconstruction loss to preserve item semantic information while mitigating codebook collapse: (7) āall=Ī»RecāāRec+Ī»FARāāFAR+Ī»Q2IāāQ2I+Ī»I2IāāI2I,L_all= _RecL_Rec+ _FARL_FAR+ _Q2IL_Q2I+ _I2IL_I2I, where āRecL_Rec denotes the reconstruction loss, āQ2IL_Q2I and āI2IL_I2I denotes the Q2I/I2I InfoNCE loss(Oord et al., 2018) and the Ī» coefficients balance the contributions of different objectives. Together with collaborative regularization and Codebook Refresh, FAR enables CoCo-VAE to preserve behavioral information while improving codebook utilization, yielding more informative and stable SIDs for downstream generative retrieval. 3.2. Dynamic Horizon Policy Optimization To alleviate reward sparsity in generative retrieval, we propose Dynamic Horizon Policy Optimization (DHPO), a coarse-to-fine reinforcement learning framework exploiting SID hierarchies. Instead of directly optimizing complete SIDs, DHPO progressively expands both reward evaluation and policy optimization horizons, enabling a gradual transition from prefix-level to item-level preference learning without auxiliary reward models. 3.2.1. Dynamic-Horizon Curriculum Learning For each search session with query q and user context x, we construct a positive set +ā(x)=((j),a(j))j=1MxY^+(x)=\(y^(j),a^(j))\_j=1^M_x containing the items clicked or ordered by the user, where MxM_x is the number of positive samples in the session, (j)=(y1(j),ā¦,yL(j))y^(j)=(y^(j)_1,ā¦,y^(j)_L) denotes the L-token SID of a positive item, and a(j)āclick,ordera^(j)ā\click,order\ denotes the corresponding user action. We define the item-level outcome reward as (8) Ritem(^,x)=max1ā¤jā¤Mxr(a(j))ā [^=(j)],R_item( y,x)= _1⤠j⤠M_xr(a^(j))Ā·I [ y=y^(j) ], where rā”(ā )r(Ā·) assigns rewards ror_o and rcr_c to orders and clicks, respectively, with ro>rc>0r_o>r_c>0. DHPO divides policy optimization into multiple stages based on the hierarchical structure of SIDs. We introduce a dynamic horizon hā1,ā¦,Lhā\1,ā¦,L\, which determines the number of SID tokens used for reward evaluation and policy optimization at each stage. Training starts with h=1h=1 and gradually extends to the complete SID length L, enabling a progressive transition from prefix-level preference learning to item-level ranking optimization. The horizon increases by one after every Ī· optimization steps, where Ī· denotes the number of training steps in each stage. Formally, at optimization step n, the horizon is defined as (9) hā”(n)=minā”(1+ānĪ·ā,L),h(n)= (1+ nĪ· ,L ), At each training stage, we assign behavioral rewards to generated SIDs based on whether their first h tokens match those of clicked or ordered items in the same session: (10) Rh(^,x)=max1ā¤jā¤Mxr(a(j))ā [^1:h=1:h(j)].R_h( y,x)= _1⤠j⤠M_xr(a^(j))Ā·I [ y_1:h=y^(j)_1:h ]. When multiple positive items share the same prefix, the highest reward is retained. At shorter horizons, generated SIDs can receive rewards by matching only the initial tokens of positive items, even when their complete sequences differ. As h increases, DHPO progressively refines preference learning from shorter SID prefixes to complete item-level matching. Importantly, DHPO preserves the original outcome-based rewards while adjusting the matching granularity, avoiding the need for auxiliary reward models. Given G sampled rollouts ^(i)i=1G\ y^(i)\_i=1^G, we compute the group-relative advantage using the rewards at the current horizon: (11) A^i=Rhā(^(i),x)āmeanjāGā”(Rhā(^(j),x))stdjāGā”(Rhā(^(j),x))+Ī“, A_i= R_h( y^(i),x)-mean_jā G (R_h( y^(j),x) )std_jā G (R_h( y^(j),x) )+Ī“, where Ī“ is a constant for numerical stability. At each horizon, DHPO compares the rewards of sampled SID prefixes and adjusts their relative generation probabilities to favor those with higher rewards. Since prefix matching does not guarantee that the complete generated SID corresponds to a positive item, applying the reward to the entire sequence may cause inaccurate supervision for subsequent tokens. DHPO therefore aligns policy optimization with the reward horizon, updating only the first h tokens to ensure accurate credit assignment. The optimization objective is defined as (12) āDHPO=ā1Gāi=1G1hāt=1hmin(Ļi,t(Īø)A^i,clip(Ļi,t(Īø),1āϵ,1+ϵ)A^i), _DHPO=- 1G _i=1^G 1h _t=1^h ( _i,t(Īø) A_i,\,clip ( _i,t(Īø),1-ε,1+ε ) A_i ), where Ļi,tā(Īø)=ĻĪøā(y^t(i)ā£x,^<t(i))/ĻĪøoldā(y^t(i)ā£x,^<t(i)) _i,t(Īø)= _Īø( y^(i)_t x, y^(i)_<t)/ _ _old( y^(i)_t x, y^(i)_<t) denotes the per-token importance ratio. By jointly expanding the reward and optimization horizons, DHPO gradually extends behavioral supervision to deeper SID positions. When h=Lh=L, the prefix reward recovers the original item-level outcome reward, i.e., RL=RitemR_L=R_item, completing the transition from hierarchical preference learning to exact item-level optimization. Table 1. Overall performance comparison on the Click and Order datasets. The best results are highlighted in bold. Method Click (20k) Order (20k) HR@6 HR@50 HR@200 MRR@6 MRR@50 MRR@200 HR@6 HR@50 HR@200 MRR@6 MRR@50 MRR@200 Semantic ID Construction (SFT) RQāKmeans 0.2641 0.4120 0.4869 0.1714 0.1815 0.1823 0.4051 0.5890 0.6613 0.2702 0.2833 0.2841 RQāKmeans + L3 Balance 0.2491 0.3746 0.4455 0.1657 0.1745 0.1753 0.3832 0.5374 0.6137 0.2602 0.2711 0.2719 RQāOPQ 0.2585 0.4000 0.4510 0.1694 0.1790 0.1796 0.3897 0.5661 0.6188 0.2621 0.2744 0.2751 RQāVAE 0.1865 0.2775 0.3185 0.1216 0.1281 0.1285 0.3470 0.4922 0.5416 0.2313 0.2419 0.2425 R3āVAE 0.2149 0.3246 0.3846 0.1432 0.1507 0.1514 0.3505 0.5047 0.5748 0.2343 0.2449 0.2456 CoCoāVAE 0.2759 0.4293 0.5093 0.1821 0.1925 0.1934 0.4103 0.5956 0.6732 0.2776 0.2909 0.2918 Reinforcement Learning (RL) DPO 0.2693 0.4107 0.4795 0.1785 0.1882 0.1890 0.4051 0.5741 0.6443 0.2781 0.2899 0.2907 SāDPO (OneSearchV1) 0.2701 0.4200 0.4950 0.1787 0.1891 0.1899 0.4042 0.5845 0.6592 0.2747 0.2874 0.2882 LDPO 0.2725 0.4172 0.4928 0.1792 0.1893 0.1901 0.4121 0.5840 0.6627 0.2792 0.2912 0.2921 Vanilla GRPO 0.2588 0.3934 0.4437 0.1691 0.1786 0.1792 0.3910 0.5576 0.6098 0.2639 0.2758 0.2765 TPMAāGRPO (OneSearchV2) 0.2750 0.4264 0.5067 0.1803 0.1906 0.1915 0.4133 0.5945 0.6722 0.2837 0.2966 0.2974 HCGRec 0.2710 0.4244 0.5045 0.1775 0.1879 0.1888 0.4081 0.5905 0.6664 0.2705 0.2833 0.2842 DHPO (Ours) 0.2810 0.4304 0.5108 0.1851 0.1953 0.1962 0.4217 0.5995 0.6763 0.2878 0.3003 0.3011 3.2.2. Multi-Positive Supervised Fine-Tuning Although DHPO alleviates sparse rewards through progressive prefix matching, some rollout groups may still exhibit insufficient reward variation, particularly during early training or for sparse user interactions. Moreover, industrial search naturally involves multiple positive items associated with the same user context,reflecting diverse user interests and behavioral preferences. To address these challenges, we propose Multi-Positive Supervised Fine-Tuning (MSFT) as a complementary regularization objective. Rather than optimizing a single positive item for each training instance, MSFT jointly supervises all observed positive SIDs: (13) āMSFT=ā1Mxāj=1Mx1Lāt=1LlogĻĪø(yt(j)ā£x,<t(j)).L_MSFT=- 1M_x _j=1^M_x 1L _t=1^L _Īø (y_t^(j) x,y_<t^(j) ). MSFT complements DHPO by jointly supervising multiple relevant items, thereby preserving the modelās ability to capture diverse user interests. Meanwhile, its next-token prediction objective provides stable learning signals across the entire SID sequence, even when sparse rewards lead to degenerate group-relative advantages, helping maintain the retrieval capability established during supervised initialization. The overall training objective is (14) ā=āDHPO+Ī»MāSāFāTāāMSFT,L=L_DHPO+ _MSFTL_MSFT, where Ī»MāSāFāT _MSFT controls the contribution of the MSFT objective. 4. Experiment 4.1. Experimental Settings Datasets. We extract high-quality user interactions from WeChat e-commerce search logs collected between June and July 2026 for supervised fine-tuning (SFT) and reinforcement learning (RL). The dataset spans 31 days, with the first 30 for training and the last for testing. All offline evaluations and ablation studies use this dataset. The Click and Order test sets each contain 20,000 search interactions with observed positive items. Evaluation Metrics. Following existing generative retrieval studies (Wan et al., 2026; Chen et al., 2025; Chen et al., 2026a; Deng et al., 2025), we evaluate recall and ranking performance using Hit Rate (HR) and Mean Reciprocal Rank (MRR). We report results at Kā6,50,200Kā\6,50,200\, averaged over all evaluation samples. Baseline Methods. We compare WeGR with SID construction and preference optimization baselines. SID construction baselines include RQ-Kmeans-based methods, namely RQ-Kmeans (Deng et al., 2025), RQ-Kmeans with balancing, and RQ-OPQ (Chen et al., 2025), as well as RQ-VAE-based methods such as RQ-VAE (Rajput et al., 2023; Guo et al., 2025; Wang et al., 2024) and R3-VAE (Wan et al., 2026). For preference optimization, we compare DPO (Rafailov et al., 2023), S-DPO (Chen et al., 2024; Chen et al., 2025), and LDPO (Fu et al., 2026b; Song et al., 2024) as off-policy RL baselines, and vanilla GRPO (Shao et al., 2024), TPMA-GRPO (Chen et al., 2026a), and HCGRec (Zhang et al., 2026b) as on-policy RL baselines. Implementation Details. We adopt GPT-2 Small (Radford et al., 2019) as the backbone for both offline evaluation and online deployment due to its computational efficiency and low inference latency. For CoCo-VAE, we use three codebook layers with sizes of (16384,128,128)(16384,128,128). The loss weights Ī»fid _fid, Ī»collision _collision, Ī»FAR _FAR, Ī»Q2I _Q2I, Ī»I2I _I2I, and Ī»Rec _Rec are set to 0.90.9, 1.01.0, 0.40.4, 0.20.2, 0.050.05 and 1.01.0, respectively. For RL, we assign rewards of ro=2r_o=2 and rc=1r_c=1 to orders and clicks, respectively, and set the MSFT weight to Ī»=0.5Ī»=0.5. We use a GRPO group size of G=8G=8 and Ī·=300Ī·=300 optimization steps per DHPO stage, with Ī· adjustable to control stage duration. We update the model daily, performing SFT followed by RL. 4.2. Offline Performance Table 1 summarizes the performance of SID construction and preference optimization methods on the Click and Order datasets. We analyze the results from two aspects. Effectiveness of SID Construction. As shown in Table 1, CoCo-VAE consistently outperforms all SID construction baselines across both Click and Order datasets. Compared with RQ-Kmeans, the strongest SFT baseline, CoCo-VAE improves HR@6 by 4.47% and 1.28% on Click and Order, respectively, with further gains of 4.60% and 1.80% at HR@200. CoCo-VAE also substantially outperforms existing RQ-VAE-based methods, demonstrating its effectiveness across different quantization paradigms. These improvements highlight the importance of jointly preserving collaborative information and maintaining effective codebook utilization. By mitigating codebook collapse while incorporating user interaction signals, CoCo-VAE can better capture behavioral relationships and distinguish different items in the hierarchical SID space, leading to more accurate item representations and improved recall performance. Effectiveness of Preference Optimization. All RL methods are initialized from CoCo-VAE. As shown in Table 1, existing methods often struggle to improve preference ranking while maintaining retrieval capability. DPO-based methods underperform the SFT baseline, mainly because shared SID prefixes between chosen and rejected items lead to conflicting gradients and weaken learning signals. Moreover, DPO may suffer from reward hacking, increasing preference margins by lowering rejected-item probabilities rather than increasing those of chosen items. For on-policy RL, Vanilla GRPO underperforms SFT across all metrics, as sparse outcome rewards leave many training samples without effective learning signals. TPMA-GRPO improves credit assignment through prefix-matching rewards that do not directly reflect user preferences, while HCGRec uses prefix hints to recover learning signals but may introduce a training-inference mismatch. In contrast, DHPO progressively expands both reward evaluation and policy optimization horizons, reducing learning difficulty while providing reward signals at different levels of the SID hierarchy to guide preference optimization. Compared with TPMA-GRPO, DHPO achieves relative gains of 2.18% and 2.03% in HR@6, and 2.66% and 1.45% in MRR@6 on Click and Order, respectively, demonstrating more effective preference alignment while preserving retrieval capability. 4.3. Ablation Study In this section, we conduct ablation studies to evaluate the key components of CoCo-VAE and DHPO. Ablation of CoCo-VAE. To verify the effectiveness of each component in CoCo-VAE, we conduct ablation studies on the Click and Order datasets, as shown in Table 2. We consider four ablation variants: i) w/o q2i removes query-to-item collaborative supervision; i) w/o i2i removes item-to-item collaborative supervision; i) w/o fid. removes the residual fidelity loss; and iv) w/o coll. removes the anti-collapse regularization. The results demonstrate the complementary roles of these components. Removing q2i reduces HR@6 from 0.2759 to 0.2650 on Click and from 0.4103 to 0.3933 on Order, highlighting the importance of query-item co-occurrence in SID construction. Similarly, removing i2i reduces HR@6 to 0.2704 and 0.4042 on Click and Order, respectively, indicating the contribution of item-level collaborative relationships. Moreover, the performance degradation caused by removing residual fidelityāwith HR@6 decreasing to 0.2437 and 0.3944 on Click and Order, respectivelyāor anti-collapse regularizationāwith HR@6 decreasing to 0.2492 and 0.3987āhighlights their respective roles in preserving semantic information and promoting effective codebook utilization. Together, these components enable CoCo-VAE to learn informative SID representations for generative retrieval. Table 2. Ablation Study of CoCoVAE. The best results are highlighted in bold. Methods Click (20k) Order (20k) HR@6 MRR@6 HR@6 MRR@6 CoCo-VAE 0.2759 0.1821 0.4103 0.2776 w/o q2i 0.2650 0.1732 0.3933 0.2604 w/o i2i 0.2704 0.1748 0.4042 0.2693 w/o fid 0.2437 0.1585 0.3944 0.2602 w/o coll 0.2492 0.1627 0.3987 0.2644 Ablation of DHPO. As shown in Table 3, applying vanilla GRPO leads to substantial performance degradation, as sparse outcome rewards leave many training samples without effective learning signals, undermining the recall capability established during SFT. Introducing MSFT largely mitigates the performance degradation caused by sparse outcome rewards by providing stable supervision over multiple positive items while capturing diverse user interests. Finally, DHPO progressively expands both reward evaluation and policy optimization horizons, enabling coarse-to-fine preference learning from SID prefixes to complete items. Compared with the SFT baseline, DHPO achieves relative improvements of 1.85% and 2.78% in HR@6, and 1.65% and 3.67% in MRR@6 on Click and Order, respectively, demonstrating its effectiveness in preference optimization while preserving retrieval capability. Table 3. Ablation Study of DHPO. The best results are highlighted in bold. Methods Click (20k) Order (20k) HR@6 MRR@6 HR@6 MRR@6 CoCoāVAE 0.2759 0.1821 0.4103 0.2776 GRPO 0.2588 0.1691 0.3910 0.2639 GRPO + MSFT 0.2764 0.1830 0.4160 0.2835 DHPO 0.2810 0.1851 0.4217 0.2878 4.4. Online A/B Testing To evaluate the effectiveness and efficiency of WeGR in a production environment, we conducted controlled online A/B tests against the incumbent search system from June 22 to August 4. All results in Table 4 are reported as relative changes over the control group and are statistically significant (p<0.05p<0.05). We evaluate three deployment configurations that differ in the extent to which WeGR replaces candidates from conventional retrieval channels. V1.0 (Additive Retrieval) introduces WeGR as an additional retrieval channel while retaining all candidates from the other retrievers. V1.1 (60% Candidate Removal) and V1.2 (80% Candidate Removal) remove 60% and 80% of the candidates contributed by the other retrieval channels, respectively. These configurations allow us to examine whether the business gains persist or improve as WeGR progressively replaces conventional retrieval candidates. Table 4. Online A/B testing results from June 22 to August 4. All numbers denote relative improvements over the production baseline, with bold values indicating statistical significance (p<0.05p<0.05). Deployment Configuration Order CTR CVR V1.0 (Additive Retrieval) +1.579% +1.108% +0.520% V1.1 (60% Candidate Removal) +1.962% +0.884% +0.950% V1.2 (80% Candidate Removal) +2.539% +1.508% +1.381% As shown in Table 4, all three deployment configurations yield statistically significant improvements in Order, CTR, and CVR (p<0.05p<0.05). Under the additive configuration, V1.0 increases Order, CTR, and CVR by 1.579%, 1.108%, and 0.520%, respectively. After removing 60% of the candidates contributed by the other retrievers, V1.1 further increases the Order and CVR gains to 1.962% and 0.950%, while maintaining a significant CTR improvement of 0.884%. When the removal ratio reaches 80%, V1.2 yields the largest gains across all three metrics, improving Order by 2.539%, CTR by 1.508%, and CVR by 1.381%. These results show that the business gains do not depend on enlarging the candidate set; instead, the overall performance further improves as WeGR replaces a larger proportion of candidates from conventional retrieval channels. Online resource savings. Beyond the improvements in business metrics, WeGR substantially reduces online serving costs. The key reason is that WeGR replaces, rather than simply supplements, a large fraction of candidates produced by conventional retrieval channels. In V1.2, cutting off 80% of the candidates from the other retrievers reduces the number of items entering pre-ranking to 61.90% of the baseline, i.e., 38.10% fewer items need to be scored. Since pre-ranking performs item-wise feature processing and model inference over the merged candidate set, this reduction directly decreases its CPU and GPU workloads. As shown in Figure 3, the normalized CPU and GPU usages decrease from 100% to 74.5% and 73.9%, corresponding to resource savings of 25.5% and 26.1%, respectively. The resource reduction is smaller than the reduction in scored items because the online pipeline still incurs fixed overhead from retrieval, request processing, and other serving components. These results demonstrate that WeGR improves online effectiveness while alleviating computation cost of the downstream cascade. online resource savings for baseline and WeGR. Figure 3. The comparisons of online resource savings for baseline and WeGR.online resource savings for baseline and WeGR. Online latency reduction. WeGR also improves serving efficiency across two production search scenarios. As reported in Table 5, it reduces the average online latency by 21.7 ms in WeChat Channels Search and by 15.4 ms in WeChat Search. These consistent latency reductions are primarily attributable to the reduced number of candidates passed to the pre-ranking stage, thereby lowering the computational overhead of per-item feature processing and model inference. Together with the online A/B testing gains, the results demonstrate that WeGR improves business performance while reducing serving latency in industrial search systems. Table 5. Average online latency reductions achieved by WeGR. Production Scenario Latency Reduction WeChat Channels Search 21.7 ms WeChat Search 15.4 ms 4.5. Further Analysis In this section, we investigate some questions regarding long-term behavior and user-level benefits of WeGR in industrial deployment. 1) How does the performance of WeGR evolve over time? Industrial search systems operate over a continuously changing item corpus and user interests. It is therefore important to examine whether the retrieval quality of WeGR remains stable as the system evolves. Figure 4 reports the daily Click and Order HR@200 from June 19 to August 19, 2026. Despite short-term fluctuations, both metrics exhibit a clear upward trend. Specifically, the average Click HR@200 increases from 69.98% in the first seven days to 76.99% in the last seven days, while the corresponding Order HR@200 rises from 80.24% to 87.29%. The Order HR@200 remains consistently higher than the Click HR@200 throughout the observation period, indicating that WeGR effectively retrieves high-value items associated with downstream conversions. These results demonstrate that WeGR maintains robust retrieval quality over time and benefits from continuously accumulated interaction signals rather than degrading as the item corpus and user interests evolve. The daily Click and Order HR@200 of WeGR from June 19 to August 19, 2026. Figure 4. Daily Click and Order HR@200 of WeGR over time.The daily Click and Order HR@200 of WeGR from June 19 to August 19, 2026. 2) Which user groups contribute most to the online gains of WeGR? We divide users into six groups according to their lifecycle status: active existing users (UG1), reactivated existing users (UG2), lapsed existing users (UG3), active new users (UG4), reactivated new users (UG5), and lapsed new users (UG6). As shown in Table 6, WeGR yields positive Order, CTR, and CVR gains across all six groups, demonstrating that its online improvements are not driven by a single user cohort. The gains are particularly pronounced among reactivated and lapsed new users. UG5 achieves the largest improvements in Order and CTR, reaching 9.855% and 3.448%, respectively, while UG6 obtains the highest CVR gain of 7.382%. UG4 also exhibits substantial increases of 4.823% in Order and 3.063% in CVR. In contrast, the gains for active existing users are relatively moderate. This pattern suggests that WeGR is especially effective for users with limited or rapidly changing interaction histories, for whom conventional retrieval methods may suffer from sparse or stale behavioral signals. By jointly exploiting semantic representations and user interactions within a unified generative framework, WeGR can better recover their current search intent and retrieve items with stronger conversion potential. Table 6. Online relative gains across different user groups. All numbers denote relative improvements over the baseline, and bold values indicate statistical significance (p<0.05p<0.05). Metric UG1 UG2 UG3 UG4 UG5 UG6 Order +1.611% +5.154% +1.556% +4.823% +9.855% +6.143% CTR +1.125% +2.323% +2.112% +1.638% +3.448% +0.524% CVR +0.399% +2.481% +0.247% +3.063% +6.585% +7.382% 3) On which query-frequency regimes does WeGR work best? We stratify queries by historical frequency into low (00ā33), medium-low (44ā9999), medium (100100ā999999), and high-frequency (ā„1000ā„ 1000) buckets. As shown in Table 7, the strongest business-value gains arise at the long-tail and head regions, while the engagement benefit extends to medium-frequency traffic. On long-tail traffic, WeGR significantly improves Order by 3.24% for low-frequency queries and improves both Order and CVR by 3.86% and 3.58%, respectively, for medium-low-frequency queries. These conversion-oriented gains suggest that the learned SID space can transfer collaborative and semantic structure to queries for which direct behavioral evidence is limited. For high-frequency queries, WeGR yields significant gains of 3.51% in Order and 2.73% in CTR, indicating that the model also effectively exploits abundant interaction signals for head traffic. Medium-frequency queries exhibit a significant CTR improvement of 0.99%, despite statistically insignificant changes in Order and CVR, suggesting that increased engagement does not yet translate into downstream conversion within this bucket. Overall, WeGR exhibits complementary effects across the traffic distribution: it primarily strengthens conversion outcomes in the long tail, improves both engagement and orders at the head, and provides a more moderate engagement benefit in the middle. We emphasize that this analysis identifies where the online gains arise; establishing the precise mechanism behind these heterogeneous treatment effects requires further controlled investigation. Table 7. Online relative gains across query-frequency buckets. All numbers denote relative improvements over the baseline, and bold values indicate statistical significance (p<0.05p<0.05). Query bucket Frequency Order CVR CTR Low 00ā33 +3.24% +2.40% +0.95% Medium-low 44ā9999 +3.86% +3.58% +0.91% Medium 100100ā999999 ā0.05%-0.05\% ā0.84%-0.84\% +0.99% High ā„1000ā„ 1000 +3.51% +1.12% +2.73% 4) Does DHPO generalize across different industrial search scenarios? We assess the cross-scenario transferability of DHPO through an independent evaluation in WeChat e-commerce live-stream search, with its SFT-initialized counterpart serving as the reference. As reported in Table 8, DHPO yields consistent improvements across all twelve metrics on the 18K order- and click-supervised evaluation sets. The gains are particularly pronounced at shallow retrieval depths: HR@6 increases by 7.07% and 5.95%, while MRR@6 increases by 7.82% and 6.12%, under order and click supervision, respectively. Moreover, the persistent MRR improvements across cutoffs indicate that DHPO refines the relative ordering of behaviorally preferred items throughout the retrieved list, whereas the larger gains at K=6K=6 suggest a stronger concentration of such items near the top ranks. The consistency of these effects in a distinct production domain supports the central premise of DHPO: preference alignment can be transferred via behavior-grounded, dynamically expanded optimization horizons without a scenario-specific reward model. As this study isolates the policy-optimization stage, the evidence pertains specifically to the transferability of DHPO rather than that of the complete WeGR framework. Table 8. DHPO performance on WeChat live-stream search relative to SFT. Order (18K) Click (18K) Metric SFT DHPO Improve SFT DHPO Improve HR@6 0.2827 0.3027 +7.07% 0.1982 0.2100 +5.95% HR@100 0.5237 0.5362 +2.39% 0.4804 0.4935 +2.73% HR@200 0.5648 0.5762 +2.02% 0.5430 0.5545 +2.12% MRR@6 0.2045 0.2205 +7.82% 0.1340 0.1422 +6.12% MRR@100 0.2176 0.2333 +7.22% 0.1475 0.1561 +5.83% MRR@200 0.2179 0.2336 +7.21% 0.1480 0.1565 +5.74% 5. Conclusion In this work, we presented WeGR, a unified generative retrieval framework for industrial search systems in WeChat. By combining collaborative-aware SID construction with progressive preference optimization, WeGR effectively improves retrieval and ranking performance while addressing codebook collapse and reward sparsity. Extensive offline experiments and large-scale online A/B tests demonstrate its effectiveness in improving business outcomes and reducing serving costs, highlighting the potential of generative retrieval to simplify industrial search systems. Furthermore, evaluations in an independent live-stream search scenario demonstrate the applicability of DHPO across different industrial search settings. References Bevilacqua et al. (2022) M. Bevilacqua, G. Ottaviano, P. Lewis, S. Yih, S. Riedel, and F. Petroni Autoregressive search engines: generating substrings as document identifiers. In Advances in Neural Information Processing Systems, Vol. 35, p. 31668ā31683. External Links: Document, Link Cited by: §1, §2.1. Chen et al. (2025) B. Chen, X. Guo, S. Wang, Z. Liang, Y. Lv, Y. Ma, X. Xiao, B. Xue, X. Zhang, Y. Yang, H. Dai, X. Xu, T. Zhao, M. Peng, X. Zheng, C. Wang, Q. Zhao, Z. Zhai, Y. Zhao, B. Liu, J. Lv, X. Liang, Y. Ding, J. Chen, C. Lei, W. Ou, H. Li, and K. Gai OneSearch: a preliminary exploration of the unified end-to-end generative framework for e-commerce search. External Links: 2509.03236, Document, Link Cited by: §1, §2.1, §2.1, §4.1, §4.1. Chen et al. (2026a) B. Chen, S. Wang, Y. Ma, Z. Liang, X. Zhang, Y. Lv, Y. Yang, H. Dai, L. Mao, T. Zhao, Z. Qian, X. Sun, Z. Zhai, Y. Zhao, B. Liu, J. Lv, X. Liang, H. Kong, J. Chen, H. Li, C. Lei, W. Ou, and K. Gai OneSearch-V2: the latent reasoning enhanced self-distillation generative search framework. External Links: 2603.24422, Document, Link Cited by: §1, §2.2, §4.1, §4.1. Chen et al. (2026b) J. Chen, S. Zhang, S. Gong, Z. Zhang, Y. Zhao, L. Wang, H. Zhou, W. Lin, and H. Zhang LocalSUG: city-preference-enhanced LLM for query suggestion in local-life services. External Links: 2603.04946, Document, Link Cited by: §1. Chen et al. (2024) Y. Chen, J. Tan, A. Zhang, Z. Yang, L. Sheng, E. Zhang, X. Wang, and T. Chua On softmax direct preference optimization for recommendation. Advances in Neural Information Processing Systems 37, p. 27463ā27489. Cited by: §4.1. Chen et al. (2026c) Z. Chen, G. Sun, Y. Qiu, X. Yao, M. Li, H. Wang, Y. Zhang, S. Wang, and S. Xu RAD-DPO: robust adaptive denoising direct preference optimization for generative retrieval in e-commerce. In Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval, p. 4507ā4512. External Links: Document, Link Cited by: §2.2. Chidambaram et al. (2026) K. Chidambaram, S. K. Krishnamurthy, Q. Xu, K. Hsiao, and M. Bhattacharya Robust post-training for generative recommenders: why exponential reward-weighted SFT outperforms RLHF. External Links: 2603.10279, Document Cited by: §2.2. Chu et al. (2026) X. Chu, J. Zhu, M. Jin, J. Wang, X. Fang, and W. Zhang VARG: value-aware and ranking-aligned generative retrieval for dynamic e-commerce search. External Links: 2609.14493, Link Cited by: §2.2, §2.2. Deng et al. (2025) J. Deng, S. Wang, K. Cai, L. Ren, Q. Hu, W. Ding, Q. Luo, and G. Zhou OneRec: unifying retrieve and rank with generative recommender and iterative preference alignment. External Links: 2502.18965, Document Cited by: §1, §2.1, §2.1, §4.1, §4.1. Dhariwal et al. (2020) P. Dhariwal, H. Jun, C. Payne, J. W. Kim, A. Radford, and I. Sutskever Jukebox: a generative model for music. External Links: 2005.00341, Document, Link Cited by: §3.1.2. Fu et al. (2026a) J. Fu, X. Ge, A. Karatzoglou, I. Arapakis, S. Verberne, J. M. Jose, and Z. Ren Differentiable semantic ID for generative recommendation. In Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval, p. 369ā379. External Links: Document, Link Cited by: §2.1. Fu et al. (2026b) K. Fu, C. Wu, K. Yuan, B. Cao, D. Huang, Y. Yan, J. Zheng, J. Zhang, S. Zhou, J. Wu, and K. Kuang RankGR: rank-enhanced generative retrieval with listwise direct preference optimization in recommendation. External Links: 2602.08575, Document, Link Cited by: §1, §2.2, §4.1. Ge et al. (2014) T. Ge, K. He, Q. Ke, and J. Sun Optimized product quantization. IEEE Trans. Pattern Anal. Mach. Intell. 36 (4), p. 744ā755. External Links: Link, Document Cited by: §2.1. Geng et al. (2022) S. Geng, S. Liu, Z. Fu, Y. Ge, and Y. Zhang Recommendation as language processing (RLP): a unified pretrain, personalized prompt & predict paradigm (P5). In Proceedings of the 16th ACM Conference on Recommender Systems, p. 299ā315. External Links: Document, Link Cited by: §2.1. Guo et al. (2026) K. Guo, Y. Yang, J. Gao, G. Zeng, F. Yang, Y. Liang, P. Jiang, Q. Cai, and X. Zhao Hierarchical residual policy optimization for generative recommendations. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, p. 1427ā1438. External Links: Document, Link Cited by: §2.2. Guo et al. (2025) X. Guo, B. Chen, S. Wang, Y. Yang, C. Lei, and et al OneSug: the unified end-to-end generative framework for e-commerce query suggestion. External Links: Link, Document, 2506.06913 Cited by: §4.1. Lee et al. (2022) D. Lee, C. Kim, S. Kim, M. Cho, and W. Han Autoregressive image generation using residual quantization. External Links: 2203.01941, Link Cited by: §2.1. Li et al. (2024) M. Li, H. Wang, Z. Chen, G. Nie, Y. Qiu, and et al. Generative retrieval with preference optimization for e-commerce search. External Links: 2407.19829, Link Cited by: §2.2. Liu et al. (2025) E. Liu, B. Zheng, C. Ling, L. Hu, H. Li, and W. X. Zhao Generative recommender with end-to-end learnable item tokenization. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval, p. 729ā739. External Links: Document, Link Cited by: §2.1. Luo et al. (2024) X. Luo, J. Cao, T. Sun, J. Yu, R. Huang, W. Yuan, H. Lin, Y. Zheng, S. Wang, Q. Hu, et al. Qarm: quantitative alignment multi-modal recommendation at kuaishou. arXiv preprint arXiv:2411.11739. Cited by: §2.1. Mentzer et al. (2023) F. Mentzer, D. Minnen, E. Agustsson, and M. Tschannen Finite scalar quantization: vq-vae made simple. External Links: 2309.15505, Link Cited by: §2.1. Oord et al. (2018) A. v. d. Oord, Y. Li, and O. Vinyals Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748. Cited by: §3.1.3. Radford et al. (2019) A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog 1 (8), p. 9. Cited by: §4.1. Rafailov et al. (2023) R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn Direct preference optimization: your language model is secretly a reward model. Advances in neural information processing systems 36, p. 53728ā53741. Cited by: §2.2, §4.1. Rajput et al. (2023) S. Rajput, N. Mehta, A. Singh, R. Hulikal Keshavan, T. Vu, L. Heldt, L. Hong, Y. Tay, V. Tran, J. Samost, M. Kula, E. Chi, and M. Sathiamoorthy Recommender systems with generative retrieval. In Advances in Neural Information Processing Systems, Vol. 36, p. 10299ā10315. External Links: Document, Link Cited by: §1, §1, §2.1, §3.1.3, §4.1. Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms. External Links: 1707.06347, Document, Link Cited by: §2.2. Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: pushing the limits of mathematical reasoning in open language models. External Links: 2402.03300, Document, Link Cited by: §2.2, §4.1. Song et al. (2024) F. Song, B. Yu, M. Li, H. Yu, F. Huang, Y. Li, and H. Wang Preference ranking optimization for human alignment. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, p. 18990ā18998. Cited by: §4.1. Tay et al. (2022) Y. Tay, V. Tran, M. Dehghani, J. Ni, D. Bahri, H. Mehta, Z. Qin, K. Hui, Z. Zhao, J. Gupta, T. Schuster, W. W. Cohen, and D. Metzler Transformer memory as a differentiable search index. In Advances in Neural Information Processing Systems, Vol. 35, p. 21831ā21843. External Links: Document, Link Cited by: §1, §2.1. van den Oord et al. (2018) A. van den Oord, O. Vinyals, and K. Kavukcuoglu Neural discrete representation learning. External Links: 1711.00937, Link Cited by: §2.1. Wan et al. (2026) Q. Wan, Z. Yang, D. Yang, Y. Fan, X. Yan, S. Liu, Y. Liu, C. Zhang, W. Xu, J. Qin, and K. Wang R3-VAE: reference vector-guided rating residual quantization VAE for generative recommendation. External Links: 2604.11440, Document, Link Cited by: §1, §2.1, §4.1, §4.1. Wang et al. (2024) W. Wang, H. Bao, X. Lin, J. Zhang, Y. Li, F. Feng, S. Ng, and T. Chua Learnable item tokenization for generative recommendation. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, p. 2400ā2409. External Links: Document, Link Cited by: §2.1, §4.1. Wang et al. (2022) Y. Wang, Y. Hou, H. Wang, Z. Miao, S. Wu, Q. Chen, Y. Xia, C. Chi, G. Zhao, Z. Liu, X. Xie, H. Sun, W. Deng, Q. Zhang, and M. Yang A neural corpus indexer for document retrieval. In Advances in Neural Information Processing Systems, Vol. 35, p. 25600ā25614. External Links: Document, Link Cited by: §1, §2.1. Zhang et al. (2026a) J. Zhang, Y. Li, Y. Liu, C. Wang, Y. Wang, Y. Xiong, X. Liu, H. Wu, Q. Li, E. Zhang, J. Sun, X. Xu, Z. Zhang, R. Liu, S. Huang, Z. Zhang, Z. Guo, S. Yang, M. Guo, H. Yu, J. Jiang, and S. Hu GPR: towards a generative pre-trained one-model paradigm for large-scale advertising recommendation. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining, External Links: Document, Link Cited by: §2.2. Zhang et al. (2026b) K. Zhang, H. Fang, X. Luo, H. Yin, Y. Gao, P. Yan, W. Liu, W. Zhang, and Y. Yu Learning from unreachable rewards: hint-conditioned reinforcement learning for generative recommendation. External Links: 2608.11980, Document, Link Cited by: §1, §2.2, §2.2, §4.1. Zhang et al. (2026c) K. Zhang, J. Zhang, W. Cheng, Y. Cheng, J. Zhang, H. Lu, X. Zhang, H. Gan, J. Cao, T. Wang, X. Zhang, B. Xia, K. Cai, S. Wang, H. Dou, J. Yu, M. Wen, Q. Luo, D. Liang, C. Lei, J. Wang, R. Liu, Z. Liu, R. Tang, T. Gao, S. Liu, Y. Ding, H. Kong, H. Li, G. Zhou, W. Ou, and K. Gai OneMall: one architecture, more scenarios ā end-to-end generative recommender family at kuaishou e-commerce. External Links: 2601.21770, Document, Link Cited by: §1. Zhang et al. (2026d) X. Zhang, G. Chen, B. Zuo, F. Li, P. Wang, J. Xu, and B. Zheng Value: value-aware large language model for query rewriting via weighted trie in sponsored search. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, p. 2584ā2593. Cited by: §1. Zheng et al. (2024) B. Zheng, Y. Hou, H. Lu, Y. Chen, W. X. Zhao, M. Chen, and J. Wen Adapting large language models by integrating collaborative semantics for recommendation. In 2024 IEEE 40th International Conference on Data Engineering (ICDE), p. 1435ā1448. External Links: Document, Link Cited by: §2.1. Zhou et al. (2025) G. Zhou, H. Hu, H. Cheng, H. Wang, J. Deng, J. Zhang, K. Cai, L. Ren, L. Ren, L. Yu, P. Zheng, Q. Luo, Q. Wang, Q. Hu, R. Huang, R. Tang, S. Wang, S. Yang, T. Wu, W. Li, X. Luo, X. Wang, Y. Su, Y. Wu, Z. Cheng, Z. Liu, Z. Zhang, B. Zhang, B. Wang, C. Ma, C. Song, C. Wang, C. Chu, D. Wang, D. Meng, D. Zang, F. Yang, F. Zhang, F. Jiang, F. Zhang, G. Wang, G. Zhang, H. Li, H. Bao, H. Cao, J. Huang, J. Chen, J. Liu, J. Jia, K. Gai, L. Hu, L. Zeng, Q. Wang, Q. Zhou, R. Zhang, S. Wang, S. He, S. Yang, S. Mao, S. Huang, T. He, T. Gao, W. Yuan, X. Liang, X. Xu, X. Liu, Y. Wang, Y. Zhou, Y. Wang, Y. Liu, Y. Song, Y. Zhang, Y. Zhao, Z. Ling, and Z. Li OneRec-v2 technical report. External Links: 2508.20900, Link Cited by: §2.2. Zhou et al. (2026) J. Zhou, K. Mei, L. Li, T. Wang, F. Rao, and J. Lyu WeMM-Embedding: WeChat multi-modal embedding technical report. External Links: 2608.24053, Document, Link Cited by: §3.1.1. Zhou et al. (2023) Y. Zhou, Z. Dou, and J. Wen Enhancing generative retrieval with reinforcement learning from relevance feedback. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Singapore, p. 12481ā12490. External Links: Document, Link Cited by: §2.2.