Abstract
Explanations accompanying a recommendation can assist users in understanding the decision made by recommendation systems, which in turn increases a user’s confidence and trust in the system. Recently, research has focused on generating natural language explanations in a human-readable format. Thus far, the proposed approaches leverage item reviews written by users, which are often subjective, sparse in language, and unable to account for new items that have not been purchased or reviewed before. Instead, we aim to generate fact-grounded recommendation explanations that are objectively described with item features while implicitly considering a user’s preferences, based on the user’s purchase history. To achieve this, we propose a knowledge graph (KG) approach to natural language explainable recommendation. Our approach draws on user-item features through a novel collaborative filtering-based KG representation to produce fact-grounded, personalized explanations, while jointly learning user-item representations for recommendation scoring. Experimental results show that our approach consistently outperforms previous state-of-the-art models on natural language explainable recommendation metrics.
Introduction
Recommendation systems are more effective when they can explain why a specific item was suggested, as this builds user trust and confidence. Most current "explainable recommendation" models rely on user reviews to generate these justifications. However, this approach faces three major hurdles: subjectivity (reviews are often based on personal sentiment), sparsity (many items have few or no reviews), and the cold-start problem (new items lack the review history necessary to generate an explanation). This research proposes that explanations should be grounded in objective facts while remaining personalized to the user's past behavior.
The KnowRec Framework
The authors introduce KnowRec, a multi-task learning architecture that fuses Graph-to-Text generation with collaborative filtering. The framework is designed to generate objective, fact-grounded natural language explanations by leveraging Knowledge Graphs (KGs) instead of subjective user reviews.
Key technical innovations include:
- Collaborative KG Representation: Instead of treating users and items as isolated ID vectors, KnowRec represents the user through their purchase history and connects them to the target item’s Knowledge Graph.
- Dual-Attention Encoder: The model uses a Transformer-based encoder with two parallel attention mechanisms: a Global Attention for broad context and a User-Item Graph Attention using a novel masking scheme ($M_g$) that enforces the topological structure of the KG.
- Joint Optimization: The model is trained simultaneously on Rating Prediction (MSE) and Explanation Generation (NLL). This allows the textual explanation and the recommendation score to share a contextualized embedding space.
Experimental Setup
Since existing recommendation datasets lack the necessary links between Knowledge Graphs and natural language descriptions, the authors created two new benchmarks: Book KG-Exp and Movie KG-Exp. They used DBpedia Spotlight to extract entities from product descriptions and queried DBpedia for relations to build the KGs. These datasets provide parallel item descriptions and KGs, allowing for "description-first" evaluation rather than relying on noisy user reviews.
Performance Evaluation
KnowRec consistently outperformed baselines (such as PETER and PEPLER) across several key metrics. By grounding explanations in KGs, the model produces information-dense justifications. For example, for a movie like Paths of Glory, instead of a generic "good movie," it can generate: "A World War I French colonel defends three soldiers. Directed by Stanley Kubrick."
Key results include:
- Text Quality: On the Movie KG-Exp dataset, KnowRec achieved a BLEU-4 score of 10.71, nearly tripling the performance of the best baseline (PETER at 3.99).
- Entity Coverage (EC): This metric measures how many actual KG facts made it into the explanation. KnowRec achieved ~68% coverage, compared to just ~10% for review-based models.
- Scalability to Unseen Items: Because the model relies on item features rather than historical reviews, it can generate high-quality explanations for brand-new items, effectively addressing the cold-start problem.
Discussion and Future Work
While KnowRec represents a significant step forward, several areas for future growth remain. Currently, the KG is item-centric; future work could incorporate user-specific KGs (e.g., specific interests or demographic data) for deeper personalization. Additionally, while the model handles new items well, it still requires a purchase history for the user. Finally, while KG grounding significantly reduces the issue, generative models like KnowRec can still occasionally "hallucinate" details not present in the source data.
Summary updated