Disentangled Graph Contrastive Learning for Review-based Recommendation

Yuyang Ren, Haonan Zhang, Qi Li, Luoyi Fu, Jiaxin Ding, Xinde Cao, Xinbing Wang, Chenghu ZhouarXiv 2022 · DOI

Abstract

Modern recommendation systems often treat user-item interactions as holistic "black boxes," failing to capture the nuanced motivations behind a rating. We present DGCLR (Disentangled Graph Contrastive Learning), a novel framework that decomposes interactions into specific latent factors like price or quality by leveraging both review text and graph structure. Through factor-wise contrastive learning, DGCLR mitigates data sparsity issues and provides state-of-the-art accuracy while making recommendation logic more transparent.

The Challenge of Entangled Interactions

Collaborative Filtering (CF) remains a cornerstone of recommendation technology but faces significant hurdles when data is sparse. While textual reviews are often used as auxiliary information, most models "entangle" diverse user motivations into a single embedding vector. For instance, one user might value a product's price, while another focuses on its quality.

Figure 1: Illustration of how different users focus on different aspects (factors) of products in their reviews.

This entanglement leads to two primary issues:

  1. Suboptimal Accuracy: Models fail to capture the specific reasons why a user prefers an item.
  2. Poor Interpretability: It is difficult to discern which product attribute drove a specific recommendation.

The DGCLR Framework

To address these limitations, DGCLR separates user-item interactions into distinct threads through three core modules:

Figure 2: The architecture of DGCLR, featuring Disentangled Graph Learning, Attention-based Interaction, and Disentangled Contrastive Learning modules.
  1. Disentangled Graph Learning (DGL) Module: This module constructs multiple factor graphs. It utilizes BERT-whitened review embeddings to calculate semantic scores, which are combined with structural scores from the user-item graph. Factorized message passing ensures that information related to a specific factor (e.g., "price") flows only through its designated neural channel.
  2. Attention-based Interaction (AI) Module: Recognizing that factor importance varies by purchase, this module employs an attention mechanism to identify the decisive latent factor for a given interaction.
  3. Disentangled Contrastive Learning (DCL) Module: To combat data sparsity, two self-supervised tasks are introduced:
  4. Factor-wise Node Discrimination (FND): Maintains consistency in factor representations despite graph perturbations.
  5. Factor-wise Edge Discrimination (FED): Aligns internal interaction features with the actual semantic content of user reviews.

Experimental Evaluation

DGCLR was evaluated on five benchmark subsets from the Amazon Review Dataset, including Toys and Games, Clothing, Office Products, Home and Kitchen, and Tools and Home Improvement. These "5-core" datasets ensure a sufficient signal for graph-based learning.

Key Results and Insights

  • State-of-the-Art Performance: DGCLR consistently outperformed baselines like RGCL and DGCF, achieving up to a 2.6% improvement in Mean Square Error (MSE) on the Clothing dataset.
  • Robustness to Sparsity: The model showed the most significant gains for "long-tail" users with few ratings, demonstrating the effectiveness of the DCL module in cold-start scenarios.
  • Interpretability: Analysis of latent factors allowed for mapping to real-world concepts. In the "Office" dataset, Factor 1 was identified as "Demand-supply match" and Factor 2 as "Quality/Durability."
  • The Role of Reviews: Semantic information from reviews proved to be a stronger signal for disentanglement than graph structure alone.
  • Optimal Factor Count: Performance typically peaks at 2 to 4 latent factors; excessive disentanglement can dilute the learning signal.

Conclusion and Future Work

DGCLR represents a significant step toward more accurate and interpretable review-based recommendations. While the model currently requires manual setting of the factor count ($K$), future work may explore automated architecture search to determine $K$ dynamically. Additionally, while computationally comparable to other GNN methods, the parallel channels and contrastive tasks increase memory requirements. Future research will also address scenarios where reviews are sparse or non-descriptive.

Summary updated

BibTeX
@misc{ren2022disentangled,
  author = {Yuyang Ren and Haonan Zhang and Qi Li and Luoyi Fu and Jiaxin Ding and Xinde Cao and Xinbing Wang and Chenghu Zhou},
  title = {{Disentangled Graph Contrastive Learning for Review-based Recommendation}},
  year = {2022},
  eprint = {2209.01524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.01524},
}
Figure