Abstract
Conversational Recommendation Systems (CRS) often struggle with generating repetitive or generic responses and failing to effectively bridge the gap between structured knowledge graphs and natural language. We present KECRS (Knowledge-Enriched Conversational Recommendation System), a framework that integrates external knowledge graphs more deeply into the recommendation and generation process. By employing two novel loss functions—Bag-of-Entity (BOE) and Infusion loss—KECRS significantly improves both recommendation precision and response informativeness, outperforming existing state-of-the-art models on real-world datasets.
Introduction
The goal of a Conversational Recommendation System is to emulate a helpful human assistant who can understand user preferences through natural dialogue. However, current systems face three primary challenges:
- The "Broken Record" Effect: Models often repeat recommendations already mentioned by the user.
- Generic Responses: Systems default to safe, uninformative phrases like "I don't know" when faced with uncertainty.
- The Semantic Gap: There is a fundamental disconnect between the entity-based representations used in recommendation modules and the word-based representations used in dialogue modules.
Methods
KECRS addresses these issues through a Transformer-based architecture comprising three specialized modules: a Knowledge Graph (KG) Encoding Module, a Recommendation Module, and a Response Generation Module.
The system's performance is driven by two innovative training objectives:
- Bag-of-Entity (BOE) Loss: This provides sentence-level supervision by encouraging the model to incorporate relevant entities from the KG (e.g., directors or genres) into its responses, even if they weren't explicitly in the training dialogue.
- Infusion Loss: This objective aligns the word embedding space with the entity embedding space, ensuring that terms like "Horror" are represented similarly whether they appear as a word in a sentence or an entity in a graph.
Datasets
The model was evaluated using the REDIAL dataset, which contains over 10,000 movie-related dialogues. To provide high-quality external knowledge, the authors constructed TMDKG (The Movie Domain Knowledge Graph) using data from The Movie Database (TMDb). TMDKG consists of approximately 15,800 entities and 141,000 edges, offering a cleaner and more domain-specific alternative to general-purpose knowledge graphs like DBpedia.
Key Insights and Ideas
A central finding of this work is that explicit alignment between semantic spaces is superior to simple feature concatenation. By minimizing the distance between word and entity embeddings via Infusion Loss, the model becomes significantly more adept at discussing the data it recommends.
Furthermore, the BOE Loss allows the model to move beyond the limitations of sparse human chat logs. By rewarding the inclusion of relevant KG facts, KECRS avoids generic "safe" responses and provides more informative suggestions. The authors also advocate for a shift in evaluation metrics, moving from "item mention prediction" to recommending novel items that align with user preferences.
Key Results
KECRS demonstrates superior performance across multiple metrics compared to baselines like KBRD and KGSF:
- Recommendation Accuracy: KECRS achieved a Precision@1 of 2.77% on the TMDKG graph, surpassing KGSF (2.13%).
- Informativeness: The Average Entity Number (AEN)—a measure of how many useful facts are in a response—nearly doubled, reaching 0.34 compared to 0.17 for KGSF.
- Human Evaluation: In blind tests, KECRS was rated higher in Fluency (2.56/3), Relevancy (2.29/3), and Informativeness (2.18/3).
Conclusion
KECRS represents a significant advancement in bridging the gap between knowledge-based recommendation and natural language generation. Future research will focus on improving topic guiding to transition more naturally from small talk to recommendations and further refining datasets using external knowledge to enhance ground-truth relevance.
Summary updated