TL;DR
This paper tackles the challenge of manually selecting effective "meta-paths" (sequences of entity types) for recommending items in complex, multi-relational datasets (Heterogeneous Information Networks or HINs). They introduce RMS, a novel reinforcement learning framework that automatically discovers optimal meta-paths, significantly improving recommendation quality and working with existing recommendation models.
What Problem Does This Paper Address?
Recommender systems often struggle to capture the rich, multi-faceted relationships present in real-world data. Heterogeneous Information Networks (HINs) offer a powerful way to model these complex connections by representing entities (like users, movies, actors) and their various relationships (like "watched," "acted in," "directed"). A popular approach for recommendation in HINs involves using "meta-paths," which are predefined sequences of entity and relation types (e.g., User -> Movie -> Actor -> Movie). These meta-paths help uncover deeper connections and provide explainability. However, the performance of these meta-path-based recommenders (MPRs) is highly sensitive to the chosen meta-paths. Existing methods rely on manual selection, which is time-consuming, requires domain expertise, and may miss optimal combinations. This paper addresses the critical gap of automatically discovering effective meta-paths that can boost the performance of any MPR.
Methods
The core contribution is the Reinforcement learning-based Meta-path Selection (RMS) framework. RMS treats meta-path discovery as a sequential decision-making problem.
- RL Agent: An agent (a policy network) learns to extend an initial set of meta-paths.
- State Representation: The current set of meta-paths is encoded into a vector representation, capturing their structural information.
- Action Space: The agent can choose to add a new relation to extend existing meta-paths or output a "STOP" signal.
- Reward Function: The reward is based on the performance improvement of a downstream recommender model when using the newly generated meta-path set.
- Early Stopping Approximation: To accelerate training, the recommender model is only lightly trained for a few epochs. The authors found this lightly trained performance is highly correlated with the final performance, drastically reducing training time.
- RMS-HRec: The authors also propose a new MPR, RMS-HRec, which leverages graph attention networks (GATs) and an attention mechanism to aggregate information from the discovered meta-paths for improved user and item representations.
Datasets
The authors evaluated their methods on three datasets:
- Yelp: A publicly available dataset.
- Douban Movie: A publicly available dataset.
- TCL: A private industry dataset.
The paper provides statistics and schema information for these datasets, illustrating their heterogeneity.
Key Insights and Ideas
- Meta-path Sensitivity is Crucial: The paper strongly emphasizes that the performance of MPRs is not just improved by using meta-paths, but is highly dependent on the specific set of meta-paths chosen.
- Manual Selection is Suboptimal: The experiments demonstrate that automatically discovered meta-paths consistently outperform manually selected ones, highlighting the limitations of human intuition in exploring the vast space of possible meta-paths.
- Generalizability of RMS: RMS is designed to be model-agnostic, meaning it can be plugged into any existing meta-path-based recommender, making it a versatile tool.
- Early Stopping is Effective: The early stopping approximation for training the recommender within the RL loop is a key innovation for making the meta-path discovery process computationally feasible.
- Not All Meta-paths Are Equal: The study shows that adding more meta-paths doesn't always lead to better performance, and some meta-paths can even be detrimental, underscoring the need for intelligent selection.
Key Results
- Performance Improvement: RMS consistently outperformed baseline meta-path selection strategies (random, greedy) across all datasets and models, achieving significant gains. For example, on the Yelp dataset, RMS improved recommendation quality by 17.7% over a different meta-path set.
- RMS-HRec Superiority: The proposed RMS-HRec model, utilizing the discovered meta-paths, outperformed state-of-the-art recommender systems by an average of 7% in hit ratio.
- Efficiency Gains: The early stopping approximation significantly reduced training time, by over 100 times, making the approach practical for large-scale datasets.
- Qualitative Findings: RMS discovered meta-paths that were effective but not obvious, suggesting it can uncover non-intuitive but valuable relationships.
Limitations and Future Work
- Correlation vs. Optimality: The authors acknowledge that the early stopping approximation, while efficient, doesn't guarantee the absolute optimal meta-path set, but it provides a good trade-off between accuracy and training time.
- Model-Specific Gains: The performance improvement from RMS can vary depending on the downstream recommender model, as some models might not leverage meta-paths as effectively.
- Future Work: The paper suggests that the RMS framework can be extended to other graph-based tasks beyond recommendation. Further exploration into more sophisticated RL algorithms or state representations could also be beneficial.
Summary updated