Introduction
The development of conversational agents capable of providing high-quality product recommendations remains a significant challenge in AI. Traditional systems often suffer from two primary issues: the Recommendation Gap, where systems struggle with "cold-start" scenarios when users haven't mentioned specific items, and the Dialog Gap, where standard models produce generic, uninformative responses.
This paper introduces KBRD (Knowledge-Based Recommender Dialog System), a novel end-to-end framework designed to bridge these gaps. By linking dialog entities to an external knowledge graph, KBRD creates a synergistic relationship where conversational context informs recommendations, and recommendation insights enhance dialog relevance.
Methodology
KBRD integrates a recommendation engine with a dialog system through an external knowledge graph (KG) from DBpedia. The architecture consists of three core components:
- The Recommender (R-GCN): The system performs entity linking on the dialog history. By mapping mentions of genres, actors, or directors to KG nodes, it uses Relational Graph Convolutional Networks (R-GCNs) to propagate information across the graph. This allows the system to identify potential recommendations even before a user mentions a specific movie title.
- The Dialog System (Transformer): A Transformer-based encoder-decoder architecture handles the conversational flow, replacing older recurrent models for better performance.
- The Vocabulary Bias Bridge: This is the framework's "secret sauce." The recommender's hidden representation of user interest is transformed into a vocabulary bias vector. This vector is added to the final layer of the dialog decoder, "nudging" the chatbot to use words and concepts related to the recommended items.
Experimental Setup
The model was evaluated using the REDIAL dataset, which contains over 10,000 human-to-human movie recommendation conversations. Movies and entities within these dialogues were mapped to the DBpedia knowledge base to facilitate the knowledge-based features of the R-GCN.
Results and Key Insights
KBRD demonstrated superior performance over the state-of-the-art REDIAL baseline in both recommendation accuracy and dialog quality.
Recommendation Performance and the Cold-Start Problem
A key finding is KBRD's ability to make accurate recommendations with minimal item mentions. By utilizing non-item entities (e.g., "scary movies") and the KG, the system builds a robust user profile from the very first utterance. KBRD achieved a Recall@10 of 16.3 (compared to the baseline's 12.9). As shown in the performance analysis, KBRD consistently maintains superior performance across varying levels of dialog history, particularly in "cold" scenarios where few items have been previously mentioned.
Dialog Quality and Explainability
Quantitatively, KBRD achieved a significantly lower Perplexity (17.9 vs 28.1) and higher Distinct n-gram scores, indicating more fluent and diverse language. Qualitatively, the "vocabulary bias" provides a form of implicit transparency; the system's choice of words reflects the underlying reasoning of the recommendation engine, making the suggestions feel more natural and explained.
Conclusion
KBRD successfully demonstrates that recommendation and dialog systems can be mutually beneficial. While the system is currently dependent on the coverage of external knowledge graphs like DBpedia, it sets a new standard for creating informative and context-aware conversational recommenders. Future work will focus on improving entity linking accuracy and scaling the system to more dynamic product environments.
Summary updated