Explainable Entity-based Recommendations with Knowledge Graphs

Rose Catherine, Kathryn Mazaitis, Maxine Eskénazi, William W. Cohen

Abstract

Modern recommender systems often function as "black boxes," providing accurate suggestions without explaining the underlying reasoning. This paper introduces a method for generating explainable recommendations by utilizing Knowledge Graphs (KGs) to bridge the gap between users and items. Using a probabilistic logic programming system (ProPPR), the researchers jointly rank items and their associated entities. This allows the system to provide a recommendation alongside human-readable reasons, such as a preferred actor or genre, even in the absence of user review text.

Introduction

While recommendation accuracy has improved significantly, building user trust remains a challenge. Most "explainable" systems rely on analyzing user reviews or social media text, which are not always available. Furthermore, while Knowledge Graphs—networks of interconnected facts—have improved recommendation accuracy, they are rarely used to generate explanations. This work addresses these gaps by treating entities within a KG as the fundamental building blocks for explanations.

The ProPPR Framework and Joint Ranking

The core of the proposed system is ProPPR (Programming with Personalized Page Rank), a first-order logic system. Unlike traditional systems that only rank items, this approach ranks (User, Entity, Item) triplets. The system defines "liking" through logic rules:

  • Similarity Rules: Entities are considered similar if they are identical or linked to other similar entities recursively.
  • Preference Rules: A user is likely to enjoy a movie if they like a specific entity (e.g., an actor or director) that is "similar" to that movie within the graph.

Graph Grounding and Scoring

ProPPR transforms these logic rules and KG data into a "proof graph." A Personalized PageRank (PPR) algorithm is then executed on this graph. Nodes with the highest scores represent the most relevant items and the specific entities that justify them.

Proof graph generated by ProPPR for joint ranking of items and entities.

As shown in the figure above, the system decomposes the goal willLike(alice, E, M) into sub-goals like likes(alice, E) and sim(E, M). This structure allows the system to trace a recommendation back to its source entity, such as tom_hanks or the genre drama_thriller.

Key Advantages

  • Recursive Similarity: By defining similarity through graph links, the system identifies non-obvious connections, such as recommending a film because it features an actor who frequently collaborates with a director the user likes.
  • Cold-Start Resilience: The reliance on logic rules and graph structure allows the system to function effectively without extensive initial training data.
  • Handling Negative Constraints: The framework can incorporate negative preferences (e.g., "I dislike crime movies") by deducting scores, leading to nuanced explanations like "Recommended because of Tom Hanks, despite being a crime movie."

Deployment and Results

The system was evaluated using data from imdb.com, constructing a KG of movies, actors, directors, and genres. It successfully generated ranked recommendations with associated reasons, such as: bridge_of_spies, score = 0.7, reasons = { tom_hanks, drama_thriller }. This architecture was deployed as the backend for the "InMind" project, a mobile personal agent that handles movie recommendations through a dialog interface.

Conclusion

This research demonstrates that joint ranking of entities and items in a Knowledge Graph provides a robust path toward explainable recommendations. While future work is needed to formally evaluate explanation quality and ensure scalability for massive graphs, the current system offers a transparent alternative to black-box models.

Summary updated

BibTeX
@inproceedings{catherine2017explainable,
  author = {Rose Catherine and Kathryn Mazaitis and Maxine Eskénazi and William W. Cohen},
  title = {{Explainable Entity-based Recommendations with Knowledge Graphs}},
  booktitle = {RecSys Posters},
  year = {2017},
}
Figure