RecBase: Generative Foundation Model Pretraining for Zero-Shot Recommendation

Sashuai Zhou, Weinan Gan, Qijiong Liu, Ke Lei, Jieming Zhu, Hai Huang, Yan Xia, Ruiming Tang, Zhenhua Dong, Zhou ZhaoarXiv 2025 · OpenReview

TL;DR

This paper introduces RecBase, a novel foundation model for recommendation systems that addresses the limitations of existing LLM-based approaches in cross-domain generalization. By pretraining from scratch on a recommendation-specific objective and employing a unified item tokenizer, RecBase achieves state-of-the-art zero-shot and cross-domain recommendation performance, even outperforming larger LLMs.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown impressive capabilities in various natural language tasks, and their application to recommendation systems has gained traction. However, a significant challenge remains: LLMs are typically pretrained on general text data, leading to a mismatch when applied to the structured and sequential nature of recommendation tasks. This "knowledge gap" hinders their ability to effectively capture dynamic user interests and generalize across different domains. Existing methods often struggle with representing item-item relationships and aligning language-centric knowledge with recommendation needs, especially in zero-shot (no prior exposure to a domain) or cold-start scenarios.

Methods

RecBase tackles these issues through a three-pronged approach:

  1. Recommendation-Oriented Pretraining: Instead of relying on general LLM pretraining, RecBase is trained from scratch on a large, heterogeneous, cross-domain corpus specifically curated for recommendation tasks. This ensures the model learns patterns relevant to user behavior and item interactions.
  2. Unified Item Tokenizer: To bridge the semantic gap and enable cross-domain generalization, RecBase introduces a novel item tokenizer. This tokenizer converts items into hierarchical "concept IDs," which are learned using a curriculum learning approach. This allows for structured representation of items and efficient vocabulary sharing across domains, capturing both coarse and fine-grained item semantics.
  3. Autoregressive Modeling: The model is trained using an autoregressive objective, similar to how LLMs predict the next word. This allows RecBase to effectively model complex item-level sequential patterns within user interaction histories, capturing dynamic user preferences.

Datasets

The authors compiled a large-scale, cross-domain corpus spanning 15 different domains, comprising 4.5 million items and 35 million interactions for pretraining. For evaluation, they used eight diverse and previously unseen datasets, including news (MIND), movies (MovieLens), music, e-commerce (Amazon), and games (Steam), to assess zero-shot and cross-domain recommendation performance.

Key Insights and Ideas

  • Pretraining Matters: The core insight is that pretraining LLMs specifically for recommendation tasks, rather than just fine-tuning general LLMs, is crucial for achieving strong zero-shot and cross-domain performance.
  • Structured Item Representation is Key: Moving beyond simple ID-based or verbose text-based representations, the hierarchical concept ID approach effectively unifies item semantics across domains and facilitates better generalization.
  • Curriculum Learning for Robustness: Applying curriculum learning to the codebook optimization process helps mitigate issues like codebook collapse, leading to a more robust and evenly distributed latent space.
  • Efficiency Gains: RecBase, even with a smaller parameter count (1.5B), can match or surpass larger LLMs (up to 7B parameters), highlighting its efficiency and effectiveness.

Key Results

  • RecBase consistently outperforms strong LLM-based baselines in zero-shot and cross-domain recommendation tasks across eight diverse datasets.
  • The RecBase-large model (1.5B parameters) achieved an overall score of 0.6063, surpassing models like RecGPT, P5, Mistral, and GPT-3.5.
  • Even the smaller RecBase-base model (313M parameters) delivered competitive results while outperforming models like BERTbase and OPTbase at a significantly lower computational cost.
  • Fine-tuning RecBase on in-domain data further improved performance, demonstrating its adaptability.
  • RecBase also showed superior inference efficiency compared to other state-of-the-art models.

Limitations and Future Work

The authors acknowledge several limitations:

  • Data Sparsity and Imbalance: Similar to other recommendation systems, RecBase can be affected by data sparsity and long-tail items, potentially leading to underrepresentation of certain domains or items.
  • Bias in Training Data: Biases present in the training data can limit generalization to new domains or diverse user populations.

Future work suggested includes exploring data augmentation, active learning, and bias mitigation strategies. They also aim to evaluate the model on larger, more heterogeneous benchmarks to enhance scalability and real-world robustness. The integration of discretized multimodal features is also highlighted as a promising direction.

Summary updated

BibTeX
@misc{zhou2025recbase,
  author = {Sashuai Zhou and Weinan Gan and Qijiong Liu and Ke Lei and Jieming Zhu and Hai Huang and Yan Xia and Ruiming Tang and Zhenhua Dong and Zhou Zhao},
  title = {{RecBase: Generative Foundation Model Pretraining for Zero-Shot Recommendation}},
  year = {2025},
  eprint = {2509.03131},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.03131},
}
Figure