Variational Reasoning over Incomplete Knowledge Graphs for Conversational Recommendation

Xiaoyu Zhang, Xin Xin, Dongdong Li, Wenxuan Liu, Pengjie Ren, Zhumin Chen, Jun Ma, Zhaochun Ren · DOI · OpenReview

Abstract

Conversational recommender systems (CRSs) often utilize external knowledge graphs (KGs) to introduce rich semantic information and recommend relevant items through natural language dialogues. However, original KGs employed in existing CRSs are often incomplete and sparse, which limits the reasoning capability in recommendation. Moreover, only few of existing studies exploit the dialogue context to dynamically refine knowledge from KGs for better recommendation. To address the above issues, we propose the Variational Reasoning over Incomplete KGs Conversational Recommender (VRICR). Our key idea is to incorporate the large dialogue corpus naturally accompanied with CRSs to enhance the incomplete KGs; and perform dynamic knowledge reasoning conditioned on the dialogue context. Specifically, we denote the dialogue-specific subgraphs of KGs as latent variables with categorical priors for adaptive knowledge graphs refactor. We propose a variational Bayesian method to approximate posterior distributions over dialogue-specific subgraphs, which not only leverages the dialogue corpus for restructuring missing entity relations but also dynamically selects knowledge based on the dialogue context. Finally, we infuse the dialogue-specific subgraphs to decode the recommendation and responses. We conduct experiments on two benchmark CRSs datasets. Experimental results confirm the effectiveness of our proposed method.

Introduction: The Challenge of Incomplete Knowledge

Conversational Recommender Systems (CRSs) aim to provide personalized suggestions through natural language interactions. To achieve this, they typically leverage external Knowledge Graphs (KGs)—structured networks of entities and relations. However, two primary challenges hinder their effectiveness: incompleteness and static reasoning.

Real-world KGs are frequently sparse. For instance, a KG might lack a direct link between a specific movie and its genre or franchise. If a user expresses interest in "DC Comics," but the KG fails to link "The Dark Knight" to that entity, the system cannot make an informed recommendation. Furthermore, most systems treat the KG as a static entity, using the entire graph for every turn. This introduces significant "noise," as irrelevant entities can distract the model from the current conversational context.

Figure 1: Illustration of how dialogue corpora can complement incomplete knowledge graphs and drive dynamic recommendations based on user intent.

The VRICR Framework

To overcome these hurdles, we introduce VRICR (Variational Reasoning over Incomplete Knowledge Graphs). The core innovation of VRICR is treating the "correct" subgraph for a specific conversation as a latent variable. Instead of relying on a fixed, potentially broken KG, the model dynamically "refactors" a dialogue-specific subgraph for every interaction.

Architecture Overview

The VRICR architecture consists of four integrated components:

  1. Context Encoder: Utilizing BERT, this component transforms the dialogue history into a dense mathematical representation.
  2. Knowledge Graph Refactor Network: This is the heart of the system. Using a Variational Bayesian paradigm, it approximates the "true" subgraph needed for the current turn. It employs a prior network to estimate the subgraph based on context and an approximate posterior network to refine this estimate during training using the target item.
  3. Recommender: This module uses the refined, dialogue-specific subgraph to calculate recommendation probabilities, ensuring suggestions are grounded in relevant knowledge.
  4. Response Generator: A Transformer-based decoder infuses the selected knowledge into natural language, producing informative and contextually relevant responses.
Figure 2: The VRICR architecture, detailing the Knowledge Graph Refactor Network and its integration with the recommender and response generator.

Key Insights

VRICR treats the dialogue corpus as a "repair manual" for the KG. By training on large-scale conversational data, the model learns to infer missing relations implied by human speech. This unsupervised relation inference allows the model to "hallucinate" missing links without requiring a perfectly labeled, complete KG. Additionally, by generating subgraphs dynamically, VRICR effectively filters out KG noise, focusing only on the entities relevant to the current user's needs.

Experimental Evaluation

We evaluated VRICR on two benchmark datasets: REDIAL (English) and TG-REDIAL (Chinese). The results demonstrate significant improvements over state-of-the-art (SOTA) baselines:

  • Recommendation Accuracy: On REDIAL, VRICR improved Recall@1 by 11.8% and Recall@10 by 12.1% compared to UniCRS.
  • Response Diversity: The model produced more varied and interesting responses, with Distinct@4 metrics on REDIAL improving from 0.359 to 0.482.
  • Human Evaluation: Blind tests confirmed that VRICR produces more fluent and informative responses than previous models like C2-CRS.

Conclusion

VRICR addresses the fundamental limitations of incomplete and static knowledge in conversational recommendation. By refactoring knowledge graphs through variational reasoning, the system achieves higher recommendation accuracy and more engaging dialogue. Future work will focus on tighter integration between recommendation and generation tasks to further enhance end-to-end performance and interpretability.

Summary updated

BibTeX
@inproceedings{zhang2022variational,
  author = {Xiaoyu Zhang and Xin Xin and Dongdong Li and Wenxuan Liu and Pengjie Ren and Zhumin Chen and Jun Ma and Zhaochun Ren},
  title = {{Variational Reasoning over Incomplete Knowledge Graphs for Conversational Recommendation}},
  booktitle = {WSDM},
  year = {2022},
  doi = {10.1145/3539597.3570426},
}
Figure