Cross-domain recommendation (CDR) has emerged as a vital strategy for addressing the data sparsity problem in modern recommender systems. By leveraging user interactions from a data-rich "source" domain, models can better predict user preferences in a sparser "target" domain. However, traditional CDR methods often focus solely on the dual-relation between these two domains, overlooking the chronological evolution of user behavior across all domains.
In this paper, researchers from Tencent and Shandong University introduce Tri-CDR, a novel framework that incorporates a Mixed Behavior Sequence to bridge the gap between disparate domains. By modeling the source, target, and mixed sequences simultaneously, Tri-CDR captures the underlying "action logic" that governs a user's global interests.
The Mixed Sequence Gap
Sequential Recommendation (SR) models typically struggle when a user has limited interactions in a specific category. While existing CDR models attempt to map source domain knowledge to the target domain, they often treat these domains as isolated silos. The authors argue that this ignores the actual chronological path a user takes. For instance, a user might buy a book about AI, then watch an AI-themed movie, and subsequently purchase a robot toy. This cross-domain trajectory—the Mixed Sequence—is essential for understanding how preferences evolve and transfer across different categories.
The Tri-CDR Architecture
Tri-CDR is designed as a model-agnostic framework, meaning it can enhance various existing sequential encoders such as SASRec or GRU4Rec. The architecture is built upon three primary pillars: Triple Sequence Encoding, Triple Cross-domain Attention (TCA), and Triple Contrastive Learning (TCL).
1. Triple Sequence Encoding
For every user, the model independently encodes three distinct sequences: the Source sequence ($S^S$), the Target sequence ($S^T$), and the chronologically ordered Mixed sequence ($S^M$). This triple-view approach ensures that both domain-specific nuances and global behavioral patterns are preserved.
2. Triple Cross-domain Attention (TCA)
Recognizing that not all historical behaviors are equally relevant to a future purchase, TCA employs an attention mechanism to filter information. It uses "Activation Units" to highlight items in the source and mixed sequences that align with the user’s current target-domain preferences and global interests. This ensures that only the most relevant knowledge is transferred to the target domain.
3. Triple Contrastive Learning (TCL)
TCL serves as the framework's optimization core, employing two complementary constraints to refine user representations:
- Coarse-grained Similarity Modeling (CSM): This pulls the representations of the same user from different domains closer together in the embedding space, ensuring the model recognizes the user's core identity across sequences.
- Fine-grained Distinction Modeling (FDM): To prevent "model collapse"—where the model fails to distinguish between different domains—FDM utilizes a margin-based triplet loss. As shown in the architectural diagram, it ensures the Mixed sequence representation remains closer to its constituent Source and Target representations than the Source and Target are to each other. This preserves the unique characteristics of each domain while acknowledging their shared relationship.
Experimental Evaluation
The authors evaluated Tri-CDR across six cross-domain settings using the Amazon (Toy & Game, Book & Movie) and Douban (Book & Music) datasets. These datasets provided a diverse testing ground with varying levels of sparsity and overlap.
Key Results
- Performance Gains: Tri-CDR consistently outperformed state-of-the-art baselines like $C^2DSR$ and DASL. Notably, on the Amazon "Game $\to$ Toy" task, the model achieved a 4.52% improvement in NDCG@10.
- Sparsity Resilience: The framework showed its greatest strengths in scenarios where the target domain was particularly sparse, confirming its effectiveness at knowledge transfer.
- Representation Learning: t-SNE visualizations confirmed that Tri-CDR successfully clusters user representations by identity while maintaining a distinct "triangle" of domain information, effectively balancing similarity with domain-specific nuances.
Conclusion and Future Work
Tri-CDR demonstrates that the chronological mixed sequence is a powerful tool for cross-domain recommendation. By balancing similarity and distinction through triple sequence learning, the framework provides a robust solution to the data sparsity problem. Future research may explore incorporating multi-modal information, such as item descriptions or images, to create even stronger semantic bridges between domains, and optimizing the training process to reduce computational overhead.
Summary updated