Abstract
Sequential recommendation systems typically rely on item IDs, which limits their transferability across domains and their ability to handle cold-start items. We present UniSRec, a framework that utilizes universal item text descriptions and a Mixture-of-Experts (MoE) adaptor to learn domain-agnostic sequence representations. By employing parametric whitening and contrastive pre-training, UniSRec achieves state-of-the-art performance in cross-domain and cross-platform scenarios, effectively bridging the gap between disparate recommendation environments.
Introduction
Most contemporary sequential recommender systems are "ID-based," assigning unique identifiers to every item in a catalog. While effective within a closed system, this approach faces two critical challenges: the Transferability Wall and the Cold-Start Problem. An ID-based model trained on one platform (e.g., Amazon) cannot be directly applied to another (e.g., Netflix) because the underlying ID spaces are disjoint. Furthermore, new items with no interaction history are difficult to recommend accurately.
UniSRec proposes that natural language serves as a "universal bridge." By representing items through their textual descriptions—such as titles, brands, and categories—models can learn the semantic nature of items, allowing for seamless transfer across different platforms and improved handling of long-tail items.
Methodology
The UniSRec framework is built upon three primary components designed to transform raw text into robust recommendation signals.
1. Textual Item Encoding and MoE Adaptor
UniSRec utilizes a fixed, pre-trained BERT model to convert item descriptions into vector embeddings. However, raw BERT embeddings often suffer from "anisotropy," where vectors cluster in a narrow cone, reducing their discriminative power. To address this, UniSRec applies Parametric Whitening (PW) to distribute the embeddings more evenly (isotropy).
To handle the diverse semantics across multiple domains, the model employs a Mixture-of-Experts (MoE) architecture. A learnable gating router combines outputs from multiple whitening "experts," allowing the model to adapt text representations to specific recommendation contexts dynamically.
2. Contrastive Pre-training
The model undergoes large-scale pre-training using two contrastive tasks:
- Sequence-Item (S-I) Contrastive Learning: The model learns to match a user's interaction history with the ground-truth next item, using items from other domains as negative samples to sharpen cross-domain distinctions.
- Sequence-Sequence (S-S) Contrastive Learning: The model matches a sequence with an augmented version of itself (e.g., via item/word dropout), ensuring the learning of high-level, robust sequential patterns.
Experimental Setup
The framework was evaluated using a massive multi-domain dataset:
- Pre-training: Over 14 million interactions from five Amazon categories (Food, CDs, Kindle, Movies, Home).
- Cross-domain Evaluation: Five distinct Amazon categories (Pantry, Scientific, Instruments, Arts, Office).
- Cross-platform Evaluation: The Online Retail dataset, representing a UK-based platform with zero overlapping users or items with the Amazon data, providing a rigorous test of universal transferability.
Results and Discussion
UniSRec consistently outperformed traditional ID-based models (e.g., SASRec) and existing text-enhanced models (e.g., $S^3$-Rec) across various metrics.
Transferability and the Long-Tail
In cross-platform tests, UniSRec demonstrated significant performance gains, proving its ability to capture universal sequential patterns (e.g., "Dog Bowl → Cat Food") that persist across different retail environments. Because the model relies on descriptions rather than interaction counts, it is exceptionally effective at recommending "long-tail" items that lack extensive historical data.
Ablation Study
Ablation experiments highlighted the importance of each component. Removing the MoE adaptor or the Sequence-Item contrastive task led to the most significant performance degradation, confirming that domain adaptation and fine-grained item matching are central to the model's success.
Conclusion
UniSRec demonstrates that moving from ID-based to text-based representations enables the creation of truly universal recommender systems. By combining MoE-based domain adaptation with contrastive pre-training, the model overcomes the transferability wall and the cold-start problem. Future work may involve incorporating additional modalities, such as images and video, to further enrich the universal item representation.
Summary updated