TL;DR
RecGPT is a text-driven foundation model for sequential recommendation that replaces traditional item IDs with standardized textual tokens. By leveraging a novel hybrid attention mechanism and discrete quantization, it achieves remarkable zero-shot generalization, outperforming established models on entirely new datasets without any domain-specific retraining.
What Problem Does This Paper Address?
Most modern recommender systems (RS) are "ID-based." They assign a unique identifier to every product or video (e.g., Item_ID_386). While efficient, this creates two massive headaches:
- The Cold-Start Problem: When a new item enters the catalog, the model has no history for that ID and cannot recommend it effectively.
- The Domain Barrier: An ID-based model trained on Amazon "Books" is useless for Amazon "Electronics" because the ID spaces don't overlap.
To fix this, developers usually have to retrain models from scratch for every new domain. RecGPT seeks to create a "foundation model" for recommendations—much like GPT-4 is for text—that understands the content of items well enough to recommend them in any context, even if it has never seen that specific item or domain before.
Methods
RecGPT departs from IDs by treating recommendation as a generative language task. Its architecture consists of three main pillars:
- Unified Item Tokenization: Using a pre-trained text encoder (MPNet), the model converts item metadata (titles, descriptions) into continuous embeddings. It then uses Finite Scalar Quantization (FSQ) to "crush" these embeddings into a sequence of discrete tokens. This creates a universal "vocabulary" for items that works across all platforms.
- Hybrid Bidirectional-Causal Attention: Standard Large Language Models (LLMs) are strictly causal (they only look backward). RecGPT uses a hybrid approach: it uses bidirectional attention for tokens within a single item (to ensure the item's representation is coherent) and causal attention between items in a sequence (to model the user's evolving preferences over time).
- Catalog-Aware Beam Search: Predicting tokens is one thing; mapping them back to a real product is another. RecGPT uses a Trie-based (prefix tree) decoder to ensure that the generated tokens always correspond to a valid item in the current catalog, making real-time inference possible.
Datasets
The authors evaluated RecGPT using a massive breadth of data:
- Pre-training: 11 categories from the Amazon Review Dataset (e.g., Books, Electronics, Home & Kitchen), totaling over 131 million interactions.
- Zero-Shot Testing: Six diverse datasets including Yelp (business reviews), Google Maps/Washington (location check-ins), and Steam (video games).
- Industrial Benchmark: A large-scale real-world dataset from a news content platform featuring 163k users and nearly 1 million interactions.
Key Insights and Ideas
- Text is the Universal Connector: By representing items through text rather than arbitrary IDs, the model learns that a "navy suit" in a fashion dataset is semantically related to "professional attire" in a career dataset. This semantic bridge is what enables zero-shot transfer.
- The Scaling Law for Recs: The researchers found that RecGPT follows a scaling law similar to LLMs. As the volume of pre-training data increases, the model's zero-shot performance improves predictably, suggesting that "more data" is a viable path to better recommendations, even without bigger models.
- Quantization as a Feature, Not a Bug: While quantization usually loses information, RecGPT uses an Auxiliary Semantic Path that feeds the original continuous embeddings back into the model, preserving the "nuance" of the item description that discrete tokens might miss.
Key Results
- Zero-Shot Dominance: In zero-shot tests (where the model saw the dataset for the first time), RecGPT consistently outperformed traditional models like BERT4Rec and SASRec, even when those baselines were allowed to train on 10% of the target data.
- Cold-Start Excellence: In scenarios where users had very short interaction histories (1–3 items), RecGPT showed significant performance gains, proving it can "guess" user intent much faster than ID-based systems.
- Industrial Viability: On a real-world news dataset, RecGPT outperformed all competitive baselines, demonstrating that its "foundation model" approach translates well from academic benchmarks to production environments.
Limitations and Future Work
The authors acknowledge a few key areas for growth:
- Unimodal Focus: Currently, RecGPT relies almost exclusively on textual descriptions. In the real world, images, video thumbnails, and audio are crucial for recommendation.
- User Metadata: The model focuses on behavior sequences but doesn't fully integrate static user features (like age, gender, or location) which are often available in industrial settings.
- Computational Overhead: While the Trie-based decoder is efficient, autoregressive generation is still more computationally intensive than simple matrix multiplication used in traditional ID-based models.
Future work will likely focus on multimodal integration—allowing the model to "see" product images—and further optimizing the inference pipeline for even lower latency.
Summary updated