Mixed Attention Network for Cross-domain Sequential Recommendation

Guanyu Lin, Chen Gao, Yu Zheng, Jianxin Chang, Yanan Niu, Yang Song, Kun Gai, Zhiheng Li, Depeng Jin, Yong Li, Meng Wang · DOI

Introduction: The "Ghost User" Problem

Sequential recommendation systems aim to predict a user's next interaction based on their historical behavior. However, these systems frequently encounter the data sparsity problem, particularly with new or infrequent users. Cross-domain recommendation (CDR) addresses this by leveraging data from a source domain to improve predictions in a target domain.

Traditional CDR models rely heavily on "overlapped users" (bridge users) who exist in both datasets to facilitate knowledge transfer. In practice, these users are exceptionally rare—often representing less than 0.05% of the total user base. This reliance creates a significant bottleneck. Furthermore, items and sequential patterns often differ drastically between domains, making direct data sharing ineffective.

Conceptual shift from user-based transfer to group-based transfer.

The Mixed Attention Network (MAN)

To overcome the limitations of user-centric transfer, the Mixed Attention Network (MAN) introduces a "group transfer" philosophy. Instead of linking specific user IDs, MAN identifies and transfers knowledge through shared behavioral prototypes (e.g., "tech enthusiasts" or "budget shoppers").

Architecture Overview

The MAN framework consists of three primary layers designed to capture both domain-specific and universal patterns:

  1. Local/Global Encoding Layer: MAN generates two distinct embeddings for each item: a local embedding for domain-specific context and a global embedding to capture universal item characteristics.
  2. Mixed Attention Layer: This core component features three specialized modules:
  3. Item Similarity Attention (ISA): Measures the relevance of historical items to the target item across local and global spaces.
  4. Sequence-fusion Attention (SFA): Employs cross-attention to integrate domain-specific sequences with universal behavioral patterns.
  5. Group-prototype Attention (GPA): This module clusters users into unsupervised "prototypes." Since group-level behaviors are more stable across platforms than individual identities, GPA allows the model to transfer knowledge even when user IDs do not overlap.
  6. Local/Global Prediction Layer: Separate prediction heads evolve these interests to estimate the probability of the next interaction.
The detailed architecture of the Mixed Attention Network, highlighting the encoding, mixed attention, and prediction layers.

Crucially, MAN is model-agnostic, allowing it to serve as a wrapper for various sequential backbones such as SASRec, GRU4REC, or SURGE.

Experimental Evaluation

The researchers evaluated MAN using two large-scale datasets: an industrial Micro Video Dataset (32 million records) and the public Amazon Dataset (Video Games and Toys). The Amazon dataset provided a rigorous test case with an extremely low user overlap of just 0.04%.

Key Results

  • Performance Gains: MAN consistently outperformed state-of-the-art baselines. On the sparse Amazon dataset, it achieved an improvement in AUC (Area Under Curve) of up to 8.25%.
  • Versatility: The backbone study demonstrated that MAN enhanced the performance of every sequential model it was paired with, confirming its robustness across different architectures.
  • Ablation Insights: The Group-prototype Attention (GPA) was found to be the most critical component. Removing GPA led to the most significant performance drops, validating that group-level transfer is the most effective solution for non-overlapping user scenarios.

Conclusion

The Mixed Attention Network represents a shift in cross-domain recommendation by moving from individual-level to group-level knowledge transfer. By disentangling local and global interests and utilizing unsupervised user prototypes, MAN effectively mitigates the cold-start problem in data-scarce environments. Future work will focus on integrating more advanced graph-based backbones and conducting real-world online A/B testing.

Summary updated

BibTeX
@inproceedings{lin2024mixed,
  author = {Guanyu Lin and Chen Gao and Yu Zheng and Jianxin Chang and Yanan Niu and Yang Song and Kun Gai and Zhiheng Li and Depeng Jin and Yong Li and Meng Wang},
  title = {{Mixed Attention Network for Cross-domain Sequential Recommendation}},
  booktitle = {WSDM},
  year = {2024},
  doi = {10.1145/3616855.3635801},
}
Figure