Facet-Aware Multi-Head Mixture-of-Experts Model for Sequential Recommendation

Mingrui Liu, Sixiao Zhang, Cheng Long · DOI

Abstract

Sequential recommendation (SR) systems typically rely on a single embedding vector to represent items, which fails to capture the multi-faceted nature of items and the diverse preferences of users. We propose FAME (Facet-Aware Multi-Head Mixture-of-Experts), a novel architecture that repurposes multi-head attention to act as specialists for different item facets (e.g., genre, cast). By integrating a Mixture-of-Experts (MoE) layer within each head, FAME disentangles complex user interests, avoiding the "representation collapse" common in standard models. Empirical evaluations on four real-world datasets demonstrate that FAME significantly outperforms state-of-the-art baselines in recommendation accuracy.

Introduction: The Multi-Faceted Nature of Items

Most existing SR models treat items as monolithic entities. However, items are inherently multi-faceted. For example, a movie possesses a genre, a director, and a lead actor. A user's decision to watch a movie might be driven by a specific facet—one user might follow a specific actor regardless of genre, while another might strictly consume action films regardless of the cast.

Figure 1: Illustration of how different users may be motivated by different item facets, such as genre or starring actor.

Furthermore, user preferences within these facets are often non-homogeneous. A user might enjoy both high-octane action movies and whimsical musicals. Standard models tend to average these distinct interests into a single latent representation, leading to imprecise predictions. The challenge lies in identifying which facet currently drives behavior and handling multiple distinct interests within that facet.

Proposed Methodology: The FAME Model

FAME introduces two primary architectural innovations to the standard Transformer-based recommendation framework (e.g., SASRec):

1. Facet-Aware Multi-Head Prediction

In a typical Transformer, the outputs of all attention heads are concatenated and transformed together. FAME instead treats each head as a specialist for a specific latent "facet." Each head generates its own independent recommendation. A gating mechanism then dynamically weights these recommendations based on the user's current context, effectively deciding which facet is most relevant for the next prediction.

2. Mixture-of-Experts (MoE) Self-Attention

To handle diverse tastes within a single facet, FAME replaces the standard query matrix in the self-attention layer with an MoE network. Each head contains multiple experts, each trained to focus on a specific sub-preference (e.g., one expert for "Action" and another for "Musicals" within a Genre-focused head). A router network assigns importance weights to these experts, allowing the model to disentangle the user's various interests rather than blending them into a single, less-precise vector.

Figure 5: Comparison between the (a) Original Transformer Block and (b) the proposed FAME Transformer Block featuring parallel facet heads and a Gate Layer.

Experimental Results

Datasets and Evaluation

The model was evaluated on four public benchmarks: Amazon Beauty, Sports, Toys, and MovieLens 20M (ML-20m). These datasets represent a range of sequence lengths and item complexities, with ML-20m being particularly multi-faceted.

Performance Gains

FAME demonstrated significant performance gains over a variety of baselines, including SASRec, BERT4Rec, and recent intent-modeling experts like ICLRec. Key results include:

  • Accuracy Improvements: FAME achieved higher Hit Ratio (HR) and NDCG across all datasets. On the Beauty dataset, it showed a 6.9% improvement in HR@5 over the best-performing baseline.
  • Robustness: The model consistently ranked first across different evaluation metrics (@5, @10, and @20).
  • Facet Specialization: Qualitative analysis confirmed that FAME's gating mechanism correctly identifies the relevant facet head for ground-truth items, whereas standard concatenation approaches often fail to rank the correct item highly.

Conclusion

FAME moves beyond the "one-size-fits-all" item embedding by explicitly modeling item facets and disentangling user preferences through a Mixture-of-Experts approach. By repurposing the multi-head structure already present in Transformers, FAME provides a powerful and flexible module for enhancing sequential recommendation systems without excessive computational overhead. Future work will explore incorporating explicit metadata to further align latent heads with human-readable attributes.

Summary updated

BibTeX
@inproceedings{liu2025facet,
  author = {Mingrui Liu and Sixiao Zhang and Cheng Long},
  title = {{Facet-Aware Multi-Head Mixture-of-Experts Model for Sequential Recommendation}},
  booktitle = {WSDM},
  year = {2025},
  doi = {10.1145/3701551.3703552},
}
Figure