In the world of recommender systems, "sequential recommendation" is the art of predicting what a user wants next based on their recent history. While modern models have become quite good at spotting patterns in item IDs (e.g., "users who clicked Item A often click Item B"), they frequently ignore the "why"—the rich attribute information like genre, brand, or price that actually drives human preference.
In this paper, researchers introduce Murzim, an attribute-augmented Graph Neural Network (GNN) model designed to bridge this gap. By treating item attributes as first-class citizens in a graph-based architecture, Murzim captures deeper semantic patterns that item IDs alone might miss.
TL;DR
Murzim is a sequential recommendation model that uses Gated GNNs to simultaneously model sequences of items and sequences of their attributes (like genres or actors). By using a hierarchical attention mechanism to fuse these different "views" of user behavior, it significantly outperforms state-of-the-art models and has achieved a 60% CTR increase in real-world deployment on the MX Player streaming platform.
What Problem Does This Paper Address?
Most sequential recommenders treat items as opaque IDs. While effective, this approach faces two major hurdles:
- Sparsity: New or rarely seen items have very little interaction data, making them hard to recommend.
- Semantic Blindness: If a user watches three sci-fi movies in a row, the model should understand the "sci-fi" preference. Traditional models might only see three unrelated IDs, missing the underlying pattern.
Existing attempts to include attributes often use Recurrent Neural Networks (RNNs), which can struggle with long-term dependencies or "fake" dependencies. Graph Neural Networks (GNNs) are better at capturing complex transitions, but until Murzim, there wasn't a robust way to integrate multi-valued attributes (like a movie having multiple actors) into a sequential GNN framework.
Methods
The authors propose a multi-step pipeline to turn raw interaction logs into a high-performance recommendation engine:
- Dual-Graph Construction: For every user session, Murzim builds an item graph and several attribute graphs. If a user watches a sequence of videos, the model creates a directed graph for the videos themselves and separate graphs for their associated attributes (e.g., a graph of genres, a graph of directors).
- Attribute Scoring: Not all attributes are useful. The authors introduce a scoring formula, $R(S, A_j)$, to measure how "concentrated" a user's preference is for a specific attribute. This allows the model to prioritize attributes that actually signal intent (like "Language") over noisy ones.
- Gated GNN Layers: The model uses Gated GNNs (essentially a GNN with a GRU-style update gate) to propagate information across these graphs. This allows node embeddings to "learn" from their neighbors in the sequence.
- Hierarchical Attention:
- Local Level: An attention mechanism aggregates nodes within a single sequence to create a "sequence embedding."
- Global Level: A second attention network then decides how much weight to give the item sequence versus the various attribute sequences (e.g., "In this session, the user is following a specific actor more than a specific genre").
- Initial Embedding Strategy: Instead of random initialization, attribute embeddings are derived from the items that share them, ensuring the item and attribute vector spaces are mathematically linked from the start.
Datasets
The model was evaluated on three major benchmarks:
- Yoochoose (1/64 and 1/4): A standard e-commerce dataset from the RecSys Challenge 2015, focusing on user click sequences.
- Diginetica: An e-commerce dataset from CIKM Cup 2016 containing category and price information.
- MX Player 1W_1M: A proprietary dataset from MX Player (a massive Indian streaming service) featuring 1.6 million training sequences with rich metadata like genre, publisher, language, and cast.
Key Insights and Ideas
- Attributes as Partitions: The authors treat attributes as a way to partition the item space. By initializing attribute embeddings as an average of their member items, the model creates a natural hierarchy that helps with the "cold start" problem for new items.
- The "Focus" Metric: The attribute scoring method is a clever "aha moment." It identifies that an attribute is valuable if a user's history shows a narrow focus (e.g., watching only "Hindi" movies) rather than a broad, random distribution.
- Diminishing Returns of Metadata: Interestingly, the paper finds that adding more attributes isn't always better. Combining too many attributes can introduce noise that degrades performance, suggesting that "feature selection" via their scoring method is critical.
Key Results
Murzim consistently outperformed strong baselines like NARM, STAMP, and SR-GNN across all datasets:
- Recall@20: On the Diginetica dataset, Murzim achieved a score of 54.74, beating the previous best (SR-GNN) at 50.73.
- MRR@20 (Mean Reciprocal Rank): Murzim showed a significant lead in ranking quality, particularly on the MX Player dataset (21.82 vs SR-GNN's 21.52).
- Real-World Impact: In an A/B test on the MX Player platform, Murzim led to a 60% average increase in Click-Through Rate (CTR) compared to the previous production model.
Limitations and Future Work
The authors acknowledge a few areas for improvement:
- Attribute Interference: As seen in their ablation studies, certain attribute combinations can actually hurt performance. The model currently lacks a sophisticated way to handle the "interference" or redundancy between different attributes (e.g., "Director" and "Genre" might be highly correlated).
- Computational Complexity: Building and processing $1+K$ graphs per session is more computationally expensive than single-graph methods. While it works for MX Player, scaling this to even larger real-time systems might require further optimization.
- Static Attributes: The model currently focuses on static attributes. Future work could explore dynamic attributes or external knowledge graphs to further enrich the sequence embeddings.
Summary updated