Abstract
In the wave of generative recommendation, we present OneMall, an end-to-end generative recommendation framework tailored for e-commerce services at Kuaishou. Our OneMall systematically unifies the e-commerce's multiple item distribution scenarios, such as Product-card, short-video and live-streaming. Specifically, it comprises three key components, aligning the entire model training pipeline to the LLM's pre-training/post-training: (1) E-commerce Semantic Tokenizer: we provide a tokenizer solution that captures both real-world semantics and business-specific item relations across different scenarios; (2) Transformer-based Architecture: we largely utilize Transformer as our model backbone, e.g., employing Query-Former for long sequence compression, Cross-Attention for multi-behavior sequence fusion, and Sparse MoE for scalable auto-regressive generation; (3) Reinforcement Learning Pipeline: we further connect retrieval and ranking models via RL, enabling the ranking model to serve as a reward signal for end-to-end policy retrieval model optimization. Extensive experiments demonstrate that OneMall achieves consistent improvements across all e-commerce scenarios: +13.01% GMV in product-card, +15.32% Orders in Short-Video, and +2.78% Orders in Live-Streaming. OneMall has been deployed, serving over 400 million daily active users at Kuaishou.
Introduction
Traditional industrial recommendation systems (RecSys) typically employ a multi-stage funnel architecture consisting of retrieval and ranking. Historically, these stages are optimized independently, creating a "cascaded gap" where the retrieval model lacks awareness of the ranking model's objectives. Furthermore, modern e-commerce platforms must manage diverse content formats—ranging from static product cards to dynamic short videos and live streams—simultaneously.
OneMall addresses these challenges by unifying these scenarios into a single generative framework. By treating recommendation as a "next-item token prediction" task, OneMall leverages the scaling laws of Large Language Models (LLMs) to provide a scalable, end-to-end solution for complex e-commerce environments.
The OneMall Framework
OneMall adopts a decoder-only Transformer backbone and introduces three specialized components to align the recommendation pipeline with LLM methodologies.
1. E-commerce Semantic Tokenizer
To process items as tokens, OneMall converts products into hierarchical Semantic IDs. It utilizes a fine-tuned Qwen2.5-1.5B LLM and a Swin-Transformer vision encoder to extract embeddings from product titles and images. These embeddings are quantized using a hybrid approach: Res-Kmeans for the initial layers to capture broad categories, and Finite Scalar Quantization (FSQ) for the final layer to prevent "code collision," ensuring unique identifiers for distinct items.
2. Transformer-based Architecture
- Query-Former: This component compresses extensive user history (often exceeding 500 interactions) into a compact set of continuous representations, maintaining low serving latency.
- Sparse Mixture of Experts (MoE): OneMall scales to 1.3 billion parameters while activating only 0.1 billion per request. This allows for massive model capacity without exceeding computational budgets.
3. Reinforcement Learning Pipeline
In the "post-training" phase, OneMall bridges the gap between retrieval and ranking. The online ranking model serves as a reward signal. By applying Direct Preference Optimization (DPO) or Group Relative Policy Optimization (GRPO), the retrieval model learns to generate item IDs that maximize conversion rates and Gross Merchandise Volume (GMV).
Experimental Results
OneMall was evaluated on massive internal datasets and through online A/B testing at Kuaishou, serving 400 million daily active users.
Key performance gains included:
- Product-Card: +14.71% GMV and +13.01% Clicks.
- Short-Video: +10.33% GMV and +11.65% Orders.
- Live-Streaming: +4.90% GMV and +4.47% Orders.
Scaling the model from a 0.1B dense architecture to a 1.3B MoE configuration resulted in a significant jump in retrieval quality, with Hit Rate (HR@50) increasing from 34.7% to 45.6%.
Conclusion and Future Work
OneMall demonstrates the efficacy of a unified generative architecture for multi-scenario e-commerce recommendation. Future work will focus on fully merging the retrieval and ranking steps into a single model, enhancing the framework's natural language reasoning capabilities, and expanding the architecture to support non-e-commerce services across the Kuaishou ecosystem.
Summary updated