RecGPT: A Foundation Model for Sequential Recommendation
Abstract
RecGPT is a text-driven foundation model for sequential recommendation that replaces traditional item IDs with a universal discrete token space derived from textual descriptions. By treating recommendation as an autoregressive generation task and utilizing a novel hybrid attention mechanism, it achieves state-of-the-art zero-shot generalization across entirely unseen domains and solves the persistent "cold-start" problem.
Introduction: The Problem with ID-Locked Systems
Traditional sequential recommendation (SR) systems are fundamentally "ID-locked." They learn unique embeddings for specific item IDs (e.g., "Item_123"). This architectural choice creates two significant barriers that hinder the scalability and flexibility of modern recommenders:
- Cold-Start Failure: When a new item or user enters the system, the model has no prior history or pre-trained embedding for them. This typically requires expensive retraining or complex heuristic workarounds.
- Domain Silos: A model trained on one platform (e.g., Amazon Electronics) cannot easily transfer its knowledge to another (e.g., Netflix Movies) because their ID spaces are completely disjoint and non-transferable.
While text-based models have attempted to bridge this gap, they often struggle with semantic heterogeneity—the stylistic differences between product descriptions and user reviews—and information loss when mapping continuous text embeddings to discrete tokens for generative modeling.
The RecGPT Architecture
RecGPT reimagines recommendation through three core architectural innovations designed to create a truly universal foundation model.
1. Unified Item Tokenization with FSQ
Instead of arbitrary IDs, RecGPT uses MPNet to encode item metadata (titles, categories) into continuous vectors. These are then converted into standardized discrete tokens using Finite Scalar Quantization (FSQ). Unlike traditional Vector Quantization (VQ) methods which often suffer from "codebook collapse," FSQ provides a stable, universal vocabulary that represents the semantic essence of items across diverse platforms.
2. Universal Recommendation Modeling
The model employs a decoder-only Transformer architecture enhanced by a unique Hybrid Bidirectional-Causal Attention mechanism. This allows tokens within a single item to maintain semantic coherence through bidirectional attention, while strictly preserving the temporal order between items in a sequence via causal attention. This dual approach ensures the model understands both what an item is and when it was interacted with.
3. Auxiliary Semantic Pathways and Efficient Decoding
To mitigate information loss during the quantization process, RecGPT features an auxiliary pathway that feeds original continuous semantic features back into the Transformer. For real-time deployment, a Trie-based prefix constraint in the beam search ensures the model only recommends valid items from the actual catalog, significantly improving inference efficiency and reliability.
Experimental Setup and Datasets
RecGPT was pre-trained on a massive scale using 11 diverse categories from the Amazon review dataset, encompassing over 131 million interactions. The researchers then conducted extensive zero-shot evaluations across several benchmarks:
- Same-platform domains: Amazon Baby, Games, and Office (categories not seen during training).
- Cross-platform domains: Yelp (local businesses), Washington (Google Maps reviews), and Steam (video games).
- Industrial validation: A proprietary dataset from a major production news platform (Tencent) with millions of active users.
Key Insights and Discussion
- Scaling Laws for Recommendation: Much like Large Language Models (LLMs), RecGPT exhibits predictable power-law scaling. As training data volume and diversity increase, evaluation loss drops predictably, suggesting that recommendation models can benefit from the same scaling strategies as NLP.
- Emergent Generalization: The authors observed a "disproportionate performance jump" once the model was trained on more than 25% of the data. This suggests that recommendation foundation models possess "emergent abilities" once a certain data diversity threshold is reached.
- Architecture vs. Scale: In controlled experiments, RecGPT-10% (trained on a fraction of the data) outperformed existing models like VQ-Rec even when the latter was trained on the full dataset. This highlights that the hybrid attention and FSQ-based tokenization are more critical than raw data volume alone.
Results
RecGPT demonstrated clear superiority in zero-shot scenarios, consistently outperforming state-of-the-art baselines like BERT4Rec and CL4SRec, even when those baselines were fine-tuned on 10% of the target domain's data. It also excelled in cold-start scenarios (1–3 user interactions), proving its ability to generalize preference patterns from minimal signals. In live production environments at Tencent, it achieved higher Hit Rates and NDCG scores than all competitive baselines, confirming its commercial viability.
Conclusion and Future Work
RecGPT represents a paradigm shift from ID-based mapping to learning the underlying "language" of user preferences. By discarding IDs entirely, the model learns generalizable concepts of user behavior. Future research will explore integrating multi-modal features (images, audio), leveraging the vast world knowledge of massive LLMs like GPT-4, and incorporating explicit user demographics while maintaining zero-shot robustness.
Summary updated