Skip to main content
QUICK REVIEW

[Paper Review] Explainable Reasoning over Knowledge Graphs for Recommendation

Xiang Wang, Dingxian Wang|arXiv (Cornell University)|Nov 12, 2018
Advanced Graph Neural NetworksComputer Science27 references80 citations
TL;DR

Introduces Knowledge-aware Path Recurrent Network (KPRN) that reasons over multi-hop knowledge-graph paths (including entities and relations) to predict user-item interactions and provide path-level explanations for recommendations.

ABSTRACT

Incorporating knowledge graph into recommender systems has attracted increasing attention in recent years. By exploring the interlinks within a knowledge graph, the connectivity between users and items can be discovered as paths, which provide rich and complementary information to user-item interactions. Such connectivity not only reveals the semantics of entities and relations, but also helps to comprehend a user's interest. However, existing efforts have not fully explored this connectivity to infer user preferences, especially in terms of modeling the sequential dependencies within and holistic semantics of a path. In this paper, we contribute a new model named Knowledge-aware Path Recurrent Network (KPRN) to exploit knowledge graph for recommendation. KPRN can generate path representations by composing the semantics of both entities and relations. By leveraging the sequential dependencies within a path, we allow effective reasoning on paths to infer the underlying rationale of a user-item interaction. Furthermore, we design a new weighted pooling operation to discriminate the strengths of different paths in connecting a user with an item, endowing our model with a certain level of explainability. We conduct extensive experiments on two datasets about movie and music, demonstrating significant improvements over state-of-the-art solutions Collaborative Knowledge Base Embedding and Neural Factorization Machine.

Motivation & Objective

  • Investigate how knowledge graphs can enhance recommender systems beyond direct user-item interactions.
  • Model the sequential semantics of multi-hop paths that connect users to items.
  • Provide path-level explanations by weighting and pooling path contributions.
  • Demonstrate that explicit path reasoning improves recommendation accuracy over embedding-only methods.
  • Release a dataset and code to support KG-driven recommendation research.

Proposed method

  • Propose Knowledge-aware Path Recurrent Network (KPRN) that constructs path representations by composing entity and relation semantics.
  • Represent each path as a sequence of entity and relation embeddings fed into an LSTM to capture sequential dependencies.
  • Use a weighted pooling (log-sum-exp) over path scores to aggregate path evidence and enable explainability.
  • Train the model end-to-end with a binary classification objective using negative log-likelihood and L2 regularization.
  • Merge KG with user-item interactions into an enriched knowledge graph for path extraction.
  • Compare KPRN against MF, NFM, CKE, and FMG baselines on movie and music datasets.

Experimental results

Research questions

  • RQ1RQ1: How does KPRN perform compared with state-of-the-art KG-enhanced recommendation methods?
  • RQ2RQ2: How does modeling multi-step paths and incorporating relation semantics affect KPRN performance?
  • RQ3RQ3: Can KPRN reason on paths to infer user preferences and provide explanations for recommendations?

Key findings

  • KPRN substantially outperforms baselines in top-K recommendation metrics, demonstrating the benefit of path-based reasoning over embedding-only approaches.
  • Inclusion of relation modeling (KPRN vs. KPRN-r) improves performance, especially in denser datasets where many paths with different relations connect users and items.
  • Weighted pooling enables path-wise importance and offers flexibility between max- and mean-like aggregation, affecting recommendation quality.
  • Case studies show KPRN can generate explanations such as recommending a song because it is sung by Ed Sheeran or similar to previously watched items, highlighting explicit reasoning over knowledge paths.
  • Experiments indicate meta-graph based FMG underperforms in this setting, while CKE benefits from KG integration but is outperformed by KPRN in both hit and ndcg metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.