Knowledge-guided Deep Reinforcement Learning for Interactive Recommendation

Xiaocong Chen, Chaoran Huang, Lina Yao, Xianzhi Wang, Wei Liu, Wenjie ZhangIJCNN 2020 · DOI

Abstract

Interactive recommendation aims to learn from dynamic interactions between items and users to achieve responsiveness and accuracy. Reinforcement learning (RL) is inherently advantageous for coping with dynamic environments and thus has attracted increasing attention in interactive recommendation research. Inspired by knowledge-aware recommendation, we proposed Knowledge-Guided deep Reinforcement learning (KGRL) to harness the advantages of both reinforcement learning and knowledge graphs for interactive recommendation. This model is implemented upon the actor-critic network framework. It maintains a local knowledge network to guide decision-making and employs the attention mechanism to capture long-term semantics between items. We have conducted comprehensive experiments in a simulated online environment with six public real-world datasets and demonstrated the superiority of our model over several state-of-the-art methods.

Introduction

Traditional recommendation systems often treat user preferences as static snapshots. However, in real-world scenarios, user interests are fluid, evolving based on recent interactions and feedback. Interactive recommendation addresses this by modeling the process as a sequential decision-making problem, frequently utilizing Reinforcement Learning (RL).

Despite their potential, standard RL models face significant hurdles in recommendation contexts. The primary challenge is the "curse of dimensionality": in environments with millions of items, the action space becomes too vast for traditional Deep Q-Networks (DQN) to navigate efficiently. Furthermore, many RL approaches treat items as independent entities, failing to leverage the rich semantic relationships—such as shared authors, genres, or themes—that exist between them. This paper introduces the KGRL framework to bridge these gaps by integrating Knowledge Graphs (KG) into the RL architecture.

The KGRL Framework

KGRL is built upon an Actor-Critic architecture, designed to optimize both recommendation accuracy and computational efficiency.

The Actor: Capturing Temporal Semantics

The Actor component serves as the recommender. To understand the user's evolving preferences, it utilizes positional embeddings and a self-attention mechanism. By processing the user’s recent history through an attention lens, the model can identify long-term dependencies and subtle shifts in behavior, moving beyond simple "last-click" heuristics.

The Critic: Knowledge-Guided Evaluation

The Critic evaluates the Actor’s decisions using a Graph Convolutional Network (GCN). Rather than relying on a global knowledge graph, which would be computationally prohibitive, KGRL maintains a Local Knowledge Network. This user-specific subgraph focuses only on the neighborhood of items relevant to the specific user, reducing complexity from a global $O(|I + IM|^2)$ to a manageable $O(|I_u + I_uM|^2)$.

Reward Mechanism

The system incorporates a graph-based reward function. Using Dijkstra’s algorithm, the model calculates the semantic distance between a recommended item and the target item within the knowledge graph. This ensures the agent is rewarded not just for exact matches, but for recommendations that are semantically relevant to the user's interests.

Experimental Evaluation

The researchers evaluated KGRL against several state-of-the-art baselines, including PGPR (Knowledge-aware RL) and TPGR (Tree-structured RL), across six diverse datasets: Amazon CD, Librarything, Book-Crossing, GoodReads, MovieLens-20M, and Netflix Prize.

Performance Metrics

KGRL demonstrated superior performance across nearly all benchmarks. On the MovieLens-20M dataset, the model achieved a Recall of 18.02% and an nDCG of 19.00%, outperforming the strongest baselines. Even in cases of extreme data sparsity, such as the Book-Crossing dataset, the integration of the Knowledge Graph allowed the model to maintain high accuracy by "filling in the blanks" of missing user-item interactions.

Key Insights

  1. Efficiency through Locality: The use of a local knowledge network is a critical innovation. It allows the model to scale to large item spaces without the exponential slowdown typically associated with RL in recommendation.
  2. Structural Guidance: The GCN within the Critic captures high-order structural proximity. This allows the model to understand complex relationships (e.g., a shared director or a specific sub-genre) that simple collaborative filtering might miss.
  3. The Role of Attention: Ablation studies confirmed that the self-attention layer is vital. Removing it led to a significant performance drop, confirming that the order and context of user history are essential for predictive accuracy.

Conclusion and Future Work

KGRL represents a significant advancement in combining the adaptability of RL with the structural intelligence of Knowledge Graphs. While the model effectively addresses the action space problem and leverages semantic relationships, future work will focus on the "cold-start" problem for new users and the implementation of dynamic step sizes during training to further accelerate convergence. Additionally, incorporating richer user context, such as textual reviews or comments, could further refine the personalization of the local knowledge networks.

Summary updated

BibTeX
@inproceedings{chen2020knowledge,
  author = {Xiaocong Chen and Chaoran Huang and Lina Yao and Xianzhi Wang and Wei Liu and Wenjie Zhang},
  title = {{Knowledge-guided Deep Reinforcement Learning for Interactive Recommendation}},
  booktitle = {IJCNN},
  year = {2020},
  doi = {10.1109/ijcnn48605.2020.9207010},
}
Figure