Heterogeneous Information Network Embedding for Recommendation

Chuan Shi, Binbin Hu, Wayne Xin Zhao, Philip S. YuIEEE TKDE 2017 · DOI

TL;DR

This paper introduces HERec, a novel approach for recommender systems that leverages Heterogeneous Information Networks (HINs) by employing a meta-path guided random walk for network embedding. HERec effectively fuses these embeddings with a matrix factorization model, significantly improving recommendation performance, especially in sparse data scenarios and for cold-start users.

What Problem Does This Paper Address?

Recommender systems often struggle to effectively utilize the rich, heterogeneous auxiliary data available (e.g., user social connections, item attributes, movie genres). Traditional methods like matrix factorization primarily rely on user-item interaction matrices, missing out on this valuable side information. While Heterogeneous Information Networks (HINs) offer a flexible way to model this complexity, existing HIN-based recommendation methods often rely on path-based similarities, which can be unreliable with sparse or noisy data and may not fully capture latent user/item features. The core challenge is to effectively extract and exploit the complex information embedded within HINs for improved recommendation.

Methods

The proposed HERec approach has two main components:

  1. Heterogeneous Network Embedding:
    • Meta-path Guided Random Walk: Instead of generic random walks, HERec uses meta-paths (predefined sequences of node types and relations, e.g., User-Movie-User) to guide the walk. This helps capture specific semantic relationships within the HIN.
  2. Type Constraint and Filtering: To focus on users and items, walks are constrained to start with these types. Crucially, after generating a sequence, nodes not of the starting type are filtered out. This transforms heterogeneous sequences into homogeneous ones, simplifying the embedding process while still leveraging the heterogeneous context.
  3. Embedding Fusion: For each node, multiple embeddings are learned, one for each meta-path. These are then fused into a single representation using flexible functions (simple linear, personalized linear, and personalized non-linear fusion). The personalized non-linear fusion proved most effective.
  4. Extended Matrix Factorization:
    • The fused HIN embeddings are integrated into a standard matrix factorization (MF) model. This is achieved by adding terms that incorporate the user and item embeddings alongside their traditional latent factors.
  5. The entire model, including the fusion functions and the extended MF predictor, is jointly optimized for rating prediction.

Datasets

The authors evaluated HERec on three real-world datasets:

  • Douban Movie: A movie recommendation dataset with user-item ratings, social connections, and movie attributes.
  • Douban Book: A book recommendation dataset with user-item ratings, social connections, and book attributes.
  • Yelp: A business recommendation dataset with user ratings of local businesses, social connections, and business attributes.

These datasets vary in density, with Yelp being particularly sparse.

Key Insights and Ideas

  • Meta-paths are powerful, but need careful handling: While meta-paths capture rich semantics, relying solely on explicit path similarity can be problematic. HERec's approach of using meta-paths to guide embedding generation, followed by type filtering, is a novel way to leverage them.
  • Homogenizing for simplicity, leveraging heterogeneity for context: The "type constraint and filtering" step is a clever way to simplify the embedding problem by creating homogeneous sequences, while still benefiting from the rich heterogeneous context that defined those sequences.
  • Personalization and non-linearity matter for fusion: The experiments clearly show that simply averaging embeddings is suboptimal. Personalized fusion functions that account for individual user preferences and non-linear transformations are crucial for effectively integrating HIN information.
  • HINs are particularly beneficial for sparse data and cold-start: The significant performance gains on sparse datasets and for cold-start users highlight the value of auxiliary information captured by HINs when direct interaction data is scarce.

Key Results

  • Overall Superiority: HERec consistently outperformed all baseline methods, including traditional MF (PMF, SoMF) and other HIN-based methods (HeteMF, SemRec, FMHIN, DSR), across all three datasets and various training ratios.
  • Significant Improvement on Sparse Data: The performance gains were particularly pronounced on the sparse Yelp dataset and with less training data, demonstrating HERec's robustness. For instance, on Douban Book with 20% training data, HERec improved over PMF by up to 40%.
  • Fusion Function Impact: Personalized non-linear fusion (HERecpnl) yielded the best results, outperforming simple linear (HERecsl) and personalized linear (HERecpl) fusion.
  • Cold-Start Performance: HERec showed strong performance in cold-start scenarios, outperforming other HIN-based methods and demonstrating the value of auxiliary information when user history is limited.
  • Task-Specific Embedding: HERec's custom HIN embedding approach, focused on users and items, outperformed a more general HIN embedding method (metapath2vec++ used in HERecmp), suggesting that tailoring embeddings to the recommendation task is beneficial.

Limitations and Future Work

  • Meta-path Selection: While the paper shows that performance generally improves with more meta-paths, it also notes that adding noisy or conflicting meta-paths can hinder performance. The optimal selection of meta-paths remains an area for further exploration.
  • Deep Learning Integration: The authors suggest exploring deep learning methods (like CNNs or autoencoders) for more sophisticated fusion of multi-meta-path embeddings.
  • Arbitrary Meta-Paths: The current approach focuses on meta-paths with the same starting and ending types. Future work could extend this to learn embeddings for any node type using arbitrary meta-paths.
  • Explainability: Enhancing the explainability of recommendations by leveraging the semantics of meta-paths is identified as an important future direction.

Summary updated

BibTeX
@article{shi2017heterogeneous,
  author = {Chuan Shi and Binbin Hu and Wayne Xin Zhao and Philip S. Yu},
  title = {{Heterogeneous Information Network Embedding for Recommendation}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2017},
  doi = {10.1109/tkde.2018.2833443},
}
Figure