TL;DR
Multi-Decoder OneRec bridges the gap between fragmented multi-route retrieval and tightly coupled single-decoder generative retrieval in industrial recommender systems. By combining a shared base model with isolated LoRA experts and a coordinated constrained beam search, it achieves precise multi-objective quota control without negative transfer or candidate overlap.
What Problem Does This Paper Address?
Large-scale industrial recommender systems must balance multiple competing objectives, such as maximizing watch time, increasing user interactions (likes, shares), and surfacing new content (cold-start). Traditionally, engineers handle this using Multi-Route Retrieval, where independent models are trained for each objective and allocated a specific "quota" of the final candidate pool. While this offers excellent control over candidate composition, it creates massive operational overhead because modeling, training, and serving pipelines become heavily fragmented.
Recently, Generative Retrieval—which represents items as discrete "Semantic IDs" (SIDs) and uses a sequence-to-sequence model to generate recommendations token-by-token—has emerged as a unified alternative. However, standard single-decoder generative models struggle with multiple objectives. Jointly training a single decoder couples the objective policies together, leading to negative transfer when supervision signals conflict. Furthermore, separate objective-conditioned runs often generate overlapping, redundant candidates, wasting the fixed retrieval budget.
Methods
The authors introduce Multi-Decoder OneRec, a framework designed to be shared in representation, isolated in objective-specific updates, and coordinated during decoding.
The architecture consists of three main pillars:
- Shared yet Isolated Architecture: A shared user-context module encodes user history once per request. A fully parameterized General Decoder handles general exposure retrieval and establishes a baseline SID generation prior. For each specialized objective (e.g., watch time, likes), the model attaches an isolated, parameter-efficient Low-Rank Adaptation (LoRA) expert, an objective-specific beginning-of-sequence (BOS) embedding, and a SID embedding residual.
- Feedback-Adaptive Optimization with Gradient Isolation: To prevent objectives from interfering with each other, the framework uses gradient routing. Gradients from objective-specific losses are stopped at the shared base parameters. Event-based experts (like "Long-View" or "Like") are trained via standard Next-Token Prediction (NTP) on filtered samples. The continuous "Watch-Time" expert is trained via policy optimization using a user-history-normalized relative reward, regularized by a Kullback–Leibler (KL) divergence loss against the General Decoder to prevent the generative space from collapsing.
- Quota-Aware Coordinated Decoding: At inference time, the model utilizes Multi-Decoder Constrained Beam Search (MD-CBS). Routes are executed sequentially based on priority. To prevent different decoders from wasting budget on the same items, later routes are masked from expanding prefixes or SIDs already claimed by earlier routes. The General Decoder runs last to backfill any remaining slots in the budget.
Datasets
The authors introduce and publicly release Kwai26, a billion-scale benchmark for multi-objective generative retrieval constructed from 60 consecutive days of short-video traffic from Kuaishou. The dataset includes:
- 1.31 billion raw item-level records.
- 31.85 million Item-ID entries.
- 25.03 million items mapped to valid, 3-level hierarchical Semantic IDs.
- Predefined chronological splits and a standardized evaluation protocol to ensure reproducible offline evaluation.
Key Insights and Ideas
- BOS Tokens are Insufficient for Decoupling: Injecting task information solely via prompts or task-specific BOS tokens changes how a common policy is conditioned, but keeps the underlying core transformations shared. True isolation requires dedicated trainable transformations (like LoRA layers) combined with gradient blocking.
- Coordinated Constraints Preserve Search Breadth: Independent decoders naturally drift toward identical high-probability semantic regions. Enforcing constraints during the beam search process (via MD-CBS) rather than deduplicating post-hoc prevents the system from wasting beam capacity on redundant paths.
- The Necessity of the General Prior: Continuous reward optimization (like maximizing watch time) can easily distort the valid token distribution. Using the stop-gradient distribution of the General Decoder as a reference anchor is critical to maintaining valid generative syntax.
Key Results
Offline Evaluation (on Kwai26)
Compared to the single-decoder OneRec baseline under a strict 512-item retrieval budget, Multi-Decoder OneRec achieved significant relative improvements across all target metrics:
- Exposure Recall@512: +1.69%
- Long-View Recall@512: +4.04%
- Like Recall@512: +5.54%
- Watch-Time Recall@512: +5.62%
Online Production A/B Test
The framework was deployed in a production A/B test on Kwai Brazil, where generative retrieval accounts for 57% of total impressions. Multi-Decoder OneRec delivered clear ecosystem gains:
- App usage time per device: +0.37%
- Day-7 retained users: +0.19%
- New-content Cold-Start consumption: +2.09%
- Sharing actions (devices with $\ge$ 1 share): +0.19%
Limitations and Future Work
The primary trade-off of Multi-Decoder OneRec is its computational overhead during inference. Running four separate decoder routes increases the required floating-point operations (FLOPs) by 2.23× compared to a single-decoder setup, even though the parameter count only increases by 20% due to LoRA.
While the authors demonstrate that route-specific beam widths and quotas can help manage this cost, future work will need to focus on optimizing inference efficiency—potentially through parallel decoding strategies or speculative decoding—to make multi-decoder generative retrieval more palatable for compute-constrained production environments.
Summary updated