Abstract
Zero-shot cross-domain sequential recommendation (ZCDSR) enables predictions in unseen domains without additional training or fine-tuning, addressing the limitations of traditional models in sparse data environments. Recent advancements in large language models (LLMs) have significantly enhanced ZCDSR by facilitating cross-domain knowledge transfer through rich, pretrained representations. Despite this progress, domain semantic bias—arising from differences in vocabulary and content focus between domains—remains a persistent challenge, leading to misaligned item embeddings and reduced generalization across domains. To address this, we propose a novel semantic bias-aware framework, LLM-RecG, that enhances LLM-based ZCDSR by improving cross-domain alignment at both the item and sequential levels.
Introduction: The Challenge of Zero-Shot Recommendation
Traditional recommendation systems face a significant hurdle when launching in a new domain: the "cold-start" problem. Without months of user interaction data, these models cannot make accurate predictions. Zero-Shot Cross-Domain Sequential Recommendation (ZCDSR) aims to solve this by transferring knowledge from a data-rich "source" domain to a "target" domain with zero prior interactions.
While Large Language Models (LLMs) provide a powerful starting point by offering semantic embeddings of item descriptions, they introduce a new problem: domain semantic bias. Because different domains use different vocabularies (e.g., "durability" in industrial tools vs. "gameplay" in video games), LLM embeddings often cluster items by domain rather than by universal utility. This misalignment prevents recommendation models from effectively generalizing across disparate categories.
The LLM-RecG Framework
To bridge this semantic gap, we introduce LLM-RecG, a model-agnostic framework designed to mitigate domain bias at two levels: item-level and sequence-level.
Item-Level Generalization
The framework employs a specialized "generalization loss" to refine item embeddings. This loss balances two competing objectives:
- Inter-Domain Compactness: It encourages embeddings from different domains to align more closely, creating a shared semantic space.
- Intra-Domain Diversity: It ensures that items within the same domain remain distinguishable. Without this, the model risks "representation collapse," where all items in a domain become indistinguishable from one another.
Sequence-Level Generalization
Beyond individual items, LLM-RecG transfers behavioral patterns. By clustering user sequences in the source domain, the model identifies universal shopping behaviors (e.g., purchasing accessories after a primary item). During inference in the target domain, an attention mechanism dynamically matches new user behaviors to these learned patterns, allowing for zero-shot adaptation without target-domain training.
Experimental Evaluation
We evaluated LLM-RecG using datasets from Amazon (Video Games, Industrial & Scientific, Musical Instruments) and Steam. These datasets represent challenging cross-platform scenarios where both item descriptions and user behaviors vary significantly. The framework was tested as a plug-in for several popular architectures, including GRU4Rec, SASRec, and BERT4Rec.
Key Insights and Results
Our experiments yielded several critical findings regarding the nature of cross-domain transfer:
- Substantial Performance Gains: LLM-RecG consistently outperformed state-of-the-art baselines like UniSRec and RecFormer, achieving average performance improvements of over 10%. In specific tasks, such as transferring from Steam to Industrial & Scientific, the BERT4Rec-RecG variant saw a 28.9% improvement in N@10.
- The Diversity Necessity: We found that maintaining intra-domain diversity is often more crucial than perfect inter-domain alignment. Excessive alignment can lead to a loss of item-specific features, making it harder for the model to distinguish between products.
- Mitigating Semantic Overfitting: Standard LLM embeddings often create highly distinct clusters that are difficult for models to bridge. LLM-RecG effectively "blurs" these boundaries to facilitate transfer while maintaining item identity.
Conclusion
LLM-RecG represents a significant advancement in zero-shot recommendation by addressing the inherent semantic biases in LLM-generated embeddings. By aligning domains at both the item and sequential levels while preserving unique item characteristics, the framework enables robust knowledge transfer across highly diverse product categories. Future work will focus on integrating non-textual metadata and optimizing the framework for large-scale production environments.
Summary updated