Introduction
For over a decade, large-scale recommendation systems have relied on a cascaded architecture—a pipeline of retrieval, pre-ranking, and ranking stages. While effective, this approach has hit a ceiling due to fragmented compute (over 50% of resources are wasted on inter-stage communication), objective collisions between stages, and a rigid structure that prevents the application of modern scaling laws and reinforcement learning (RL).
OneRec addresses these challenges by reshaping recommendation as a generative task. Instead of ranking a pre-filtered list, the model generates "semantic IDs" for items using a unified encoder-decoder architecture, mirroring the evolution of Large Language Models (LLMs).
System Architecture
OneRec replaces the traditional multi-stage pipeline with a streamlined, end-to-end generative model. The architecture is designed to handle the scale of production environments like Kuaishou, which serves over 400 million daily active users.
Key Components
- Hierarchical Tokenizer: To manage billions of items, OneRec uses RQ-Kmeans to convert videos into coarse-to-fine semantic IDs. These IDs are "collaborative-aware," integrating both multimodal content and user behavior patterns.
- Multi-Scale Encoder: The encoder processes user history across four pathways, including a lifelong pathway that uses hierarchical K-means compression to handle histories of up to 100,000 videos.
- MoE Decoder: A Mixture of Experts (MoE) architecture allows the model to scale capacity while maintaining inference efficiency.
- Preference Alignment (RL): The model is refined using ECPO (Early Clipped GRPO), a modified version of Group Policy Relative Optimization. This stabilizes training when dealing with "negative advantages" (disliked items) and includes a "Format Reward" to ensure the model generates valid video IDs.
Performance and Efficiency
OneRec demonstrates that scaling laws, previously observed in NLP and Computer Vision, also apply to recommendation systems. By moving to an end-to-end approach, the system eliminates the massive data-shuffling overhead of cascaded pipelines.
Key Results
- Operational Efficiency: OneRec reduces Operating Expense (OPEX) to just 10.6% of traditional pipelines. It achieves a training Model FLOPs Utilization (MFU) of 23.7% and an inference MFU of 28.8%, closing the efficiency gap between recommendation and mainstream AI.
- User Engagement: In production A/B tests on Kuaishou Lite, OneRec improved App Stay Time by 1.24% and 7-day Lifetime (LT7) by 0.08%.
- Business Impact: In Local Life Service scenarios, the system drove a 21.01% growth in Gross Merchandise Volume (GMV).
- Model Scaling: Evaluations of versions ranging from 15M to 2.6B parameters confirm that performance scales predictably with model size and data volume.
Conclusion and Future Work
OneRec represents a significant shift toward "Large Recommendation Models." While it achieves parity with LLMs in terms of efficiency and scaling, future work will explore adding "reasoning" capabilities (step scaling) during inference and moving toward a native multimodal model where user actions and content are treated as unified tokens. Additionally, the team aims to refine reward shaping to better capture long-term user satisfaction beyond immediate engagement metrics.
Summary updated