Debiased Contrastive Learning for Sequential Recommendation

Yuhao Yang, Chao Huang, Lianghao Xia, Chunzhen Huang, Da Luo, Kangyi Lin · DOI

TL;DR

This paper introduces DCRec, a novel debiased contrastive learning framework for sequential recommendation. DCRec tackles the prevalent popularity bias in recommendation systems by adaptively disentangling user conformity from genuine interest during data augmentation, leading to significantly improved recommendation performance.

What Problem Does This Paper Address?

Recommender systems are crucial for navigating the vast amount of information online, with sequential recommenders predicting future user interactions based on their historical behavior. While techniques like Transformers and Graph Neural Networks (GNNs) have advanced sequential modeling, they struggle with sparse user data, which can hinder the accurate encoding of sequential patterns. Contrastive Learning (CL) has emerged as a powerful self-supervised technique to address data scarcity by creating augmented views of data. However, existing CL-based methods often fall prey to popularity bias, where recommendations are skewed towards popular items. This bias arises because they can conflate genuine user interest with conformity – users following trends or popular choices. This paper aims to solve this by proposing a method that can disentangle these two factors, leading to more accurate and less biased recommendations.

Methods

DCRec introduces a "Debiased Contrastive learning paradigm for Recommendation" (DCRec) that unifies sequential pattern encoding with global collaborative relation modeling. The core innovation lies in its adaptive conformity-aware augmentation.

Here's a breakdown of the key components:

  • Dual Graph Construction: DCRec builds two graphs:
  • Item Transition Graph ($G_t$): Captures sequential relationships between items based on their co-occurrence in user sequences.
  • Item Co-Interaction Graph ($G_c$): Models item relationships based on users interacting with them, leveraging collaborative filtering signals.
  • Sequential Pattern Encoding: A Transformer-based encoder is used to capture temporal dynamics within user item sequences.
  • Graph Convolutional Networks (GCNs): GCNs are applied to both $G_t$ and $G_c$ to learn item embeddings that reflect sequential transitions and collaborative patterns, respectively.
  • Multi-Channel Conformity Weighting Network (CWNet): This is the heart of the debiasing mechanism. It learns an "interaction-level conformity degree" by considering three factors:
  • User-Specific Conformity Influence: How much a user's interactions are influenced by general conformity based on their past behavior.
  • Consistency with Other Users: How similar a user's sequential patterns are to those of other users.
  • Subgraph Isomorphic Property: The similarity of item subgraphs to capture conformity with similar interaction patterns. These signals are fused to generate a conformity weight $w_{(u,v)}$ for each user-item interaction.

  • Adaptive Cross-View Contrastive Learning: The learned conformity weights are used to adaptively adjust the strength of contrastive regularization. This means that interactions with higher conformity weights have their influence reduced in the contrastive learning process, effectively mitigating popularity bias. The contrastive learning is applied across different views (sequential and collaborative) to learn robust representations.

  • View Aggregation: Finally, the representations from the sequential, transition graph, and co-interaction graph views are aggregated using an attention mechanism to generate a final user representation for prediction.

Datasets

The proposed DCRec model was evaluated on four public datasets:

  • Reddit: Captures user interactions with subscribed topics.
  • Amazon: Contains product interaction data from the Beauty and Sports categories.
  • MovieLens-20M: A movie rating dataset.

The paper does not introduce new benchmarks but uses these existing datasets to demonstrate the effectiveness of DCRec compared to state-of-the-art methods.

Key Insights and Ideas

  • Conformity vs. Interest: The paper highlights that user behavior is a complex interplay of genuine interest and conformity. Existing CL methods often fail to disentangle these, leading to biased recommendations. DCRec's ability to quantify and leverage conformity is a key insight.
  • Adaptive Augmentation is Crucial: Simply applying contrastive learning isn't enough. The adaptive nature of DCRec's augmentation, guided by conformity, is what allows it to effectively mitigate bias. This suggests that self-supervised learning in recommendation needs to be more nuanced than just creating augmented views.
  • Multi-View Learning for Robustness: Combining sequential patterns with collaborative signals (via GNNs on different graphs) provides a more comprehensive understanding of user preferences, especially in sparse data scenarios.
  • The Importance of Item Sparsity: The paper shows DCRec's effectiveness in handling item sparsity, suggesting that its debiased embeddings are particularly beneficial for recommending less popular items.

Key Results

  • Significant Performance Improvement: DCRec consistently outperforms state-of-the-art baselines across all four datasets in terms of HR@1 and NDCG@5 metrics. For example, on the Reddit dataset, DCRec achieved a 7.78% improvement in HR@1 compared to the best baseline.
  • Effective Cold-Start Performance: DCRec demonstrates strong performance for cold-start users (those with fewer than 20 interactions), indicating its ability to transfer knowledge effectively even with limited data.
  • Handles Item Sparsity Well: The model shows superior performance on item groups with lower sparsity (less popular items), suggesting that its learned item embeddings are more robust and less biased.
  • Ablation Studies Confirm Component Importance: Removing any of the key components (contrastive learning modules, adaptive mechanism) significantly degrades performance, underscoring the effectiveness of DCRec's design. Notably, removing the adaptive CL component led to worse performance than even omitting CL entirely on the Beauty dataset, highlighting the critical role of adaptive debiasing.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper explores hyperparameter sensitivity, finding optimal values for parameters like the mean of conformity ($\mu_c$) and temperature ($\tau$) might require careful tuning for different datasets.
  • Future Work: The authors suggest exploring methods for automatically searching neural parameters in conjunction with interest and conformity disentanglement to further enhance sequential recommenders. They also aim to improve the sequential recommender by further refining the disentanglement of user interest and conformity.

Summary updated

BibTeX
@inproceedings{yang2023debiased,
  author = {Yuhao Yang and Chao Huang and Lianghao Xia and Chunzhen Huang and Da Luo and Kangyi Lin},
  title = {{Debiased Contrastive Learning for Sequential Recommendation}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583361},
}
Figure