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

TL;DR

The Mixed Attention Network (MAN) breaks the reliance of cross-domain recommendation systems on "overlapped users"—the rare individuals who use both platforms being analyzed. By using a novel group-prototype attention mechanism, MAN transfers knowledge between domains at the group level, significantly boosting performance in data-scarce environments without needing to know a user's identity across different apps.

What Problem Does This Paper Address?

Sequential recommendation systems—the algorithms that predict your next click based on your history—constantly battle data sparsity. If a user is new or infrequent, the model has little to go on. Cross-domain recommendation (CDR) tries to fix this by "borrowing" data from a related domain (e.g., using your Amazon book purchases to predict your movie interests).

However, most existing CDR models (like PiNet or DASL) rely on overlapped users (bridge users) to link the domains. In reality, these users are rare; the authors found that in some datasets, less than 0.05% of users overlap. This creates a "cold-start" bottleneck. Furthermore, items and sequential patterns vary wildly across domains (e.g., buying a luxury watch vs. buying groceries), making simple data-sharing ineffective.

Methods

The authors propose the Mixed Attention Network (MAN), which operates on a "group transfer" philosophy rather than a "user transfer" one. The architecture consists of three main layers:

  1. Local/Global Encoding Layer: Instead of one embedding per item, MAN creates two: a local embedding (domain-specific) and a global embedding (shared across domains). This allows the model to respect the unique context of each platform while capturing universal item characteristics.
  2. Mixed Attention Layer: This is the core innovation, featuring three specialized modules:
  3. Item Similarity Attention (ISA): Captures how similar historical items are to the target item across both local and global spaces.
  4. Sequence-fusion Attention (SFA): Uses cross-attention to blend domain-specific sequential patterns with universal ones.
  5. Group-prototype Attention (GPA): The "secret sauce." It clusters users into "prototypes" (e.g., "tech enthusiasts" or "budget shoppers") in an unsupervised way. Since these group behaviors are often similar across domains, the model can transfer knowledge via these group identities even if the specific user IDs don't match.
  6. Local/Global Prediction Layer: Finally, it evolves these interests through separate prediction heads to estimate the probability of the next interaction.

Crucially, the framework is model-agnostic, meaning it can be wrapped around various "backbone" models like SASRec or SURGE.

Datasets

The researchers evaluated MAN on two large-scale datasets:

  • Micro Video Dataset: An industrial dataset from a major Chinese platform containing two domains (A and B) with over 32 million records.
  • Amazon Dataset: A public benchmark focusing on the Video Games and Toys categories.

Notably, the Amazon dataset had an extremely low user overlap of just 0.04%, providing a rigorous test for the "group transfer" approach.

Key Insights and Ideas

  • Groups are more stable than individuals: While individual users might not overlap, the types of users (groups) usually do. A "hardcore gamer" on a video game site likely shares behavioral patterns with "tech hobbyists" on an electronics site.
  • Independence is a Feature: Unlike previous models that required pairwise inputs from two domains simultaneously, MAN allows each domain to update its parameters independently. This makes it much more practical for real-world production where data from different apps might not arrive at the same time.
  • Disentanglement Matters: The model uses a "prototype disentanglement" loss to ensure that the group clusters remain distinct and don't collapse into a single generic group, preserving the richness of user diversity.

Key Results

MAN consistently outperformed both single-domain and state-of-the-art cross-domain baselines:

  • Significant Gains: On the sparse Amazon dataset, MAN improved the AUC (Area Under Curve) by up to 8.25% compared to the best baselines.
  • Robustness: The "Backbone Study" showed that MAN improved the performance of every sequential model it was paired with (GRU4REC, SASRec, and SURGE), proving its versatility.
  • Ablation Success: The Group-prototype Attention (GPA) was identified as the most critical component; removing it caused the largest drop in performance, confirming that group-level transfer is the key to solving the non-overlapping user problem.

Limitations and Future Work

While MAN handles non-synchronous data updates well, the authors note that the computational overhead of maintaining multiple attention modules and global/local embeddings is higher than simpler models.

Future Work: The authors plan to conduct online A/B tests in real-world products to measure the actual click-through rate (CTR) lift. They also suggest exploring more advanced sequential backbones, such as those from the graph neural network (GNN) field, to further refine the encoding layer.

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