NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reasoning Over User Preferences: Knowledge Graph-Augmented LLMs for Explainable Conversational Recommendations

Zhangchi Qiu, Linhao Luo, Shirui Pan, Hongzhi Yin

Abstract

Conversational Recommender Systems (CRSs) aim to provide personalized recommendations by capturing user preferences through interactive dialogues. Explainability in CRSs is crucial as it enables users to understand the reasoning behind recommendations, increasing system transparency and trustworthiness. However, current CRSs often leverage knowledge graphs (KGs) or language models to represent user preferences as latent vectors, limiting their explainability. We propose COMPASS, a plug-and-play framework that synergizes Large Language Models (LLMs) and KGs to reason over user preferences. COMPASS employs a two-stage training approach: graph entity captioning pre-training to bridge the modality gap between structured KGs and natural language, followed by knowledge-aware instruction fine-tuning. This enables the generation of interpretable user preference summaries that improve both recommendation performance and explainability across various CRS models.

Introduction

Conversational Recommender Systems (CRSs) are designed to understand user needs through natural dialogue. Despite their potential, they face two significant hurdles. First is the Black Box Problem: most systems represent user preferences as mathematical "latent vectors," which are impossible for humans to interpret, reducing trust. Second is the Modality Gap: while LLMs excel at reasoning, they lack domain-specific knowledge (e.g., actor connections). Knowledge Graphs (KGs) provide this data but are structured as nodes and edges, whereas LLMs process sequences of text. Bridging this gap between structured data and unstructured conversation is a major challenge.

Conceptual comparison between conventional CRS (latent vector based) and the COMPASS framework (explainable preference based).

Methodology: The COMPASS Framework

COMPASS (Compact Preference Analyzer and Summarization System) transforms an LLM (specifically Llama 3.1-8B) into a preference reasoning engine through a two-stage training paradigm.

1. Graph-to-Text Alignment

To bridge the modality gap, COMPASS uses a Relational Graph Convolutional Network (R-GCN) to encode the KG. A novel Graph Entity Captioning pre-training stage is then employed where the LLM learns to "decode" graph embeddings back into natural language descriptions. This aligns the KG's mathematical space with the LLM's semantic space.

2. Knowledge-Aware Instruction Fine-Tuning

The LLM is trained to synthesize dialogue history and KG data into a structured, four-part summary: reasoning for user likes, long-term overall preferences, immediate current interests, and potential recommendations.

3. Adaptive Gating

This summary is encoded (using BERT) and integrated into existing CRS models via an adaptive gating mechanism. This allows COMPASS to act as a "plug-and-play" booster for virtually any existing recommendation architecture.

The detailed COMPASS architecture illustrating graph entity captioning, knowledge-aware instruction tuning, and preference-enhanced recommendation.

Experimental Setup

The researchers evaluated COMPASS on two major benchmarks:

  • ReDial: Over 11,000 movie recommendation dialogues.
  • INSPIRED: 999 dialogues focused on recommendation strategies based on social science theories.
  • KG Source: A custom Knowledge Graph constructed by scraping IMDb, linking movie titles, genres, actors, and directors.

Key Results and Insights

COMPASS consistently improved every base model tested. On the INSPIRED dataset, it improved the Hit Ratio (HR@10) of the KBRD model by 44.76% and the BERT-based model by 27.27%. When added to MSCRS, it achieved state-of-the-art performance across all metrics.

Beyond performance, COMPASS offers superior explainability. In user studies, it was preferred in approximately 75% of cases for both "Alignment" (understanding the user) and "Explainability" (clarity of reasoning) compared to variants without KG or pre-training. Notably, COMPASS (using an 8B model) outperformed GPT-4o in preference alignment, suggesting that specialized domain knowledge via KG integration is more critical for recommendation than raw model scale.

Conclusion

COMPASS demonstrates that natural language can serve as a universal interface for fusing structured knowledge with conversational reasoning. By forcing the system to generate human-readable text summaries, the framework makes the system's "thoughts" transparent while significantly boosting recommendation accuracy. Future work will address the computational overhead of running large LLMs in real-time and methods for handling rapidly evolving Knowledge Graphs.

Summary updated

BibTeX
@misc{qiu2024reasoning,
  author = {Zhangchi Qiu and Linhao Luo and Shirui Pan and Hongzhi Yin},
  title = {{Reasoning Over User Preferences: Knowledge Graph-Augmented LLMs for Explainable Conversational Recommendations}},
  year = {2024},
  eprint = {2411.14459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.14459},
}
Figure