Path-Enhanced Contrastive Learning for Recommendation

Haoran Sun, Fei Xiong, Yuan-Zhe Hu, Liang Wang
1/1/2025
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Collaborative filtering (CF) methods are now facing the challenge of data sparsity in recommender systems. In order to reduce the effect of data sparsity, researchers proposed contrastive learning methods to extract self-supervised signals from raw data.

Show full abstract

Contrastive learning methods address this problem by graph augmentation and maximizing the consistency of node representations between different augmented graphs. However, these methods tends to unintentionally distance the target node from its path nodes on the interaction path, thus limiting its effectiveness. In this regard, we propose a solution that uses paths as samples in the contrastive loss function. In order to obtain the path samples, we design a path sampling method. In addition to the contrast of the relationship between the target node and the nodes within the path (intra-path contrast), we also designed a method of contrasting the relationship between the paths (inter-path contrast) to better pull the target node and its path nodes closer to each other. We use Simplifying and Powering Graph Convolution Network (LightGCN) as the basis and combine with a new path-enhanced graph approach proposed for graph augmentation. It effectively improves the performance of recommendation models. Our proposed Path Enhanced Contrastive Loss (PECL) model replaces the common contrastive loss function with our novel loss function, showing significant performance improvement. Experiments on three real-world datasets demonstrate the effectiveness of our model.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2025pathenhanced,
  title  = {Path-Enhanced Contrastive Learning for Recommendation},
  author = {Haoran Sun and Fei Xiong and Yuan-Zhe Hu and Liang Wang},
  year   = {2025},
  doi    = {10.52202/085713-2887},
  url    = {https://doi.org/10.52202/085713-2887},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/d4f8f63b91fa54b39b6dd0289e09be3017e461d2.svg)](https://codeofpaper.com/paper/d4f8f63b91fa54b39b6dd0289e09be3017e461d2)

Discussion