Abstract
The recent success of large language models (LLMs) has renewed interest in whether recommender systems can achieve similar scaling benefits. Conventional recommenders, dominated by massive embedding tables, tend to plateau as embedding dimensions grow. In contrast, the emerging generative paradigm replaces embeddings with compact Semantic ID (SID) sequences produced by autoregressive Transformers. Yet most industrial deployments remain proprietary, leaving two fundamental questions open: (1) Do the expected scaling laws hold on public benchmarks? (2) What is the minimal post-training recipe that enables competitive performance? We present MiniOneRec, the first fully open-source generative recommendation framework, providing an end-to-end workflow spanning SID construction, supervised fine-tuning, and recommendation-oriented reinforcement learning. Our experiments reveal a consistent downward trend in both training and evaluation losses with increasing model size, validating the parameter efficiency of the generative approach.
Introduction
For years, recommender systems have been constrained by an "embedding-heavy" paradigm. To handle millions of items, these models rely on massive lookup tables that consume significant memory but offer diminishing returns as they grow. Recently, a generative paradigm has emerged where items are treated as sequences of tokens (Semantic IDs), and a Transformer generates the next item autoregressively. However, these systems are largely proprietary. MiniOneRec bridges this gap, providing an open-source framework to investigate scaling laws and training recipes for generative recommendation.
Methodology
MiniOneRec introduces an end-to-end pipeline consisting of three main stages:
- Item Tokenization (SID Construction): Using a Residual Quantized VAE (RQ-VAE), item metadata (titles and descriptions) is compressed into hierarchical, discrete Semantic IDs (e.g.,
<a_13><b_72><c_149>). - Supervised Fine-Tuning (SFT) with Alignment: We utilize Qwen2.5-Instruct backbones (0.5B to 7B parameters). Crucially, we perform "alignment" tasks that force the model to map natural language to SID space, ensuring the LLM’s internal knowledge is effectively utilized.
- Reinforced Preference Optimization: We apply Group Relative Policy Optimization (GRPO) with constrained decoding and a rank-aware reward system. This stage penalizes "hard negatives" more severely to refine the model's ranking capabilities.
Scaling Laws and Insights
A primary finding of this work is the validation of scaling laws in the recommendation domain. As model size increases from 0.5B to 7B parameters, convergence loss decreases consistently. This suggests that recommendation models can benefit from the same compute-to-performance scaling seen in large language models.
Furthermore, our analysis shows that "world knowledge" is a critical component. Models initialized with LLM weights significantly outperform those trained from scratch. The alignment phase is essential for the model to treat SIDs as semantically meaningful codes rather than arbitrary symbols.
Key Results
MiniOneRec consistently outperforms traditional sequential models like SASRec and other generative baselines such as TIGER and HSTU. On the Amazon Industrial dataset, MiniOneRec achieved an HR@10 of 0.1586, compared to SASRec’s 0.1088.
The ablation study highlights the importance of the proposed post-training pipeline. The transition from SFT to RL (SFT-then-RL) yields substantial gains in ranking accuracy. Additionally, the removal of the alignment phase (MiniOneRec-W/O ALIGN) or training from scratch (MiniOneRec-Scratch) results in marked performance degradation.
Conclusion and Future Work
MiniOneRec demonstrates that generative recommendation is a viable and scalable alternative to traditional embedding-based methods. Future work will focus on addressing the "cold start" problem, exploring more advanced tokenization schemes beyond RQ-VAE, and evaluating the framework on larger, more diverse datasets.
Summary updated