Knowledge Enhancement for Contrastive Multi-Behavior Recommendation

Hongrui Xuan, Yi Liu, Bohan Li, Hongzhi Yin

Introduction

Modern recommendation systems often struggle with the "data sparsity" problem. While systems aim to predict a target behavior—such as a purchase—these interactions are typically rare compared to auxiliary actions like clicks or views. The Knowledge Enhancement Multi-Behavior Contrastive Learning Recommendation (KMCLR) framework addresses this by jointly leveraging diverse user behaviors and external knowledge graphs (KGs).

The authors identify two critical challenges in current multi-behavior recommendation:

  1. Behavioral Diversity: Users exhibit unique interaction patterns (e.g., some "favorite" items frequently, while others only "add-to-cart"). Capturing these personalized dependencies is difficult for standard models.
  2. Knowledge Noise: External KGs provide rich context but often introduce irrelevant information that can degrade recommendation quality if not properly filtered.

The KMCLR Framework

KMCLR is designed to extract robust user preferences by aligning different data "views" through contrastive learning. The architecture consists of three primary functional modules:

Multi-Behavior Learning Module

This module utilizes a Graph Neural Network (GNN) to encode various user-item interactions. By treating different behaviors as distinct views of the same user, it employs a Multi-behavior Contrastive Learning (CL) task. This minimizes the representation gap across behaviors, effectively transferring knowledge from high-frequency actions (like clicks) to low-frequency target actions (like purchases).

Knowledge Enhancement Module

To bolster item representations, KMCLR incorporates a Knowledge Graph. To mitigate noise, the authors introduce a Graph Structure Consistency score. By comparing two different KG embedding techniques (TransR and TATEC), the model identifies "stable" nodes less sensitive to structural changes. A Knowledge-aware Contrastive Learning task then aligns item features from the interaction graph with those from the KG.

The KMCLR framework architecture, highlighting the Multi-Behavior Learning and Knowledge Enhancement modules.

Joint Learning Module

Finally, the model combines embeddings from both modules using a weighted sum ($\alpha$) and optimizes them using a Bayesian Personalized Ranking (BPR) loss.

Experimental Evaluation

The framework was evaluated on three real-world datasets: Yelp (business reviews), Tmall (e-commerce), and Retail (online retail). Each dataset includes multiple behavior types and associated Knowledge Graphs.

Key Results and Robustness

KMCLR consistently outperformed state-of-the-art baselines like NGCF, KGAT, and CML. On the Tmall dataset, KMCLR achieved an HR@10 of 0.5671, significantly higher than the next best baseline (CML at 0.5185).

A critical finding is the model's robustness to data sparsity. As shown in the performance analysis on the Retail dataset, KMCLR maintains superior performance even for users with very few interactions, where traditional collaborative filtering models often fail.

Performance comparison (HR@10 and NDCG@10) on the Retail dataset across different user interaction groups, demonstrating KMCLR's robustness to data sparsity.

Ablation studies confirmed that both the multi-behavior and knowledge-aware contrastive learning tasks are essential for these gains.

Conclusion

KMCLR demonstrates that contrastive learning can serve as a powerful bridge between behavioral data and external knowledge. By focusing on structural stability in KGs and cross-behavior alignment, the model effectively mitigates sparsity and noise. Future work will focus on reducing the computational complexity of multiple contrastive tasks and incorporating temporal dynamics to better capture evolving user preferences.

Summary updated

BibTeX
@inproceedings{xuan2023knowledge,
  author = {Hongrui Xuan and Yi Liu and Bohan Li and Hongzhi Yin},
  title = {{Knowledge Enhancement for Contrastive Multi-Behavior Recommendation}},
  booktitle = {WSDM},
  year = {2023},
  doi = {10.1145/3539597.3570386},
}
Figure