Abstract
Conversational Recommendation Systems (CRS) aim to suggest items through natural dialogue but often suffer from uninformative, generic responses. This paper presents KECRS, a novel framework that bridges the gap between structured Knowledge Graphs (KG) and natural language generation. By employing Bag-of-Entities (BOE) and Alignment loss functions, KECRS ensures that recommendations are accompanied by relevant item attributes. Evaluations on the REDIAL dataset demonstrate that KECRS significantly improves the diversity and informativeness of generated responses compared to existing state-of-the-art models.
Introduction
Traditional CRS models frequently fall into the "generic response trap," providing bland suggestions like "I haven't seen that one" or "I recommend [Movie X]" without context. Furthermore, while Knowledge Graphs are often used to model user preferences, their structured data is rarely fully utilized during the response generation phase. Human experts recommend items by highlighting specific attributes (e.g., genre, director). KECRS aims to replicate this behavior by better integrating KG data into the text generation process.
Methodology: The KECRS Framework
The KECRS architecture consists of two primary components: a Recommendation Network and a Response Generation Network.
The core innovations include:
- Bag-of-Entities (BOE) Loss: This loss function encourages the decoder to mention "first-order neighbors" of the recommended item from the KG. For instance, if recommending It (2017), the model is penalized if it fails to include related concepts like "horror" or "murder mystery."
- Alignment Loss: This ensures the model's internal word embeddings are synchronized with KG entity embeddings, allowing the system to map movie titles in text directly to their corresponding nodes in the knowledge graph.
- Architecture Details: The system utilizes a Transformer encoder-decoder for language processing and a Relational Graph Convolutional Network (R-GCN) for processing the Knowledge Graph.
Experimental Setup
The model was evaluated using the REDIAL dataset, which contains over 10,000 movie-related conversations and 182,150 utterances. To provide structured context, the authors developed TMDKG (The Movie Database Knowledge Graph), featuring 15,822 entities and 15 relationship types such as "directed_by" and "has_genre."
Results and Analysis
KECRS was compared against several baselines, including HRED-CRS, KBRD, and KGSF.
Key Findings:
- Informativeness and Diversity: KECRS achieved a Distinct-4 score of 1.23, nearly tripling the performance of the standard Transformer (0.46) and significantly outperforming the previous best baseline, KGSF (0.73).
- Human Preference: In blind tests, human annotators consistently rated KECRS higher across all categories: Fluency (2.56/3), Relevancy (2.29/3), and Informativeness (2.18/3).
- Ablation Study: Removing either the BOE loss or the Alignment loss resulted in significant performance drops, confirming that both attribute-mentioning and embedding-alignment are critical for a high-quality user experience.
Conclusion
KECRS demonstrates that treating recommendation and generation as a unified, knowledge-aware task leads to more persuasive and human-like AI agents. By forcing the model to "talk" about item attributes, the system avoids repetitive phrasing and provides meaningful context for its suggestions. Future work will focus on improving transitions from general chit-chat to recommendation and exploring deeper relationships within the Knowledge Graph.
Summary updated