Disentangled Contrastive Collaborative Filtering

Xubin Ren, Lianghao Xia, Jiashu Zhao, Dawei Yin, Chao Huang · DOI · OpenReview

Abstract

Modern recommender systems leveraging Graph Neural Networks (GNNs) often face challenges with "intent entanglement"—where diverse user motivations are collapsed into a single representation—and "brittle augmentation"—where random data perturbations in contrastive learning introduce noise. This paper introduces Disentangled Contrastive Collaborative Filtering (DCCF), a framework that untangles latent intents and utilizes an adaptive, intent-aware masking strategy. By replacing random dropout with learned, semantic-preserving augmentations, DCCF generates cleaner self-supervision signals, leading to significant performance gains, particularly in data-sparse scenarios.

Introduction

Collaborative filtering via GNNs has become a standard for modeling user-item interactions. However, these models often suffer from two primary limitations. First, they treat all interactions as equal, failing to distinguish between different underlying "intents" (e.g., buying for a hobby vs. a gift). Second, standard Graph Contrastive Learning (GCL) relies on random edge dropping, which can inadvertently remove critical structural information or retain noisy interactions. DCCF addresses these by introducing global intent prototypes and a parameterized mask generator for adaptive augmentation.

Methodology

The DCCF framework operates across three distinct views: a local collaborative view, a global disentangled view, and an adaptive augmented view.

Graph-local Learning

The local view focuses on the immediate neighborhood of users and items in the interaction graph. It employs standard message passing to capture collaborative signals. As shown in Figure 1, this involves aggregating information from neighbors using a normalized adjacency matrix to produce local embeddings.

Graph-local learning process using message passing and normalized adjacency matrices.

Intent-aware Encoding and Adaptive Augmentation

To move beyond local structures, DCCF maps users and items to $K$ global intent prototypes. This "Intent-aware Encoding" (Figure 2c) allows the model to capture high-level semantic relationships between distant nodes, even if they are not directly connected in the interaction graph.

The core innovation lies in Adaptive Interaction Masking (Figure 2d). Instead of random dropout, DCCF uses a parameterized generator to calculate the similarity between user and item intent embeddings. Edges are preserved only if the underlying intents align, effectively denoising the graph for contrastive learning.

The core components of DCCF: (c) Intent-aware Encoding, (d) Adaptive Augmentation, and (e) Model Aggregation.

Cross-View Contrastive Learning

Finally, DCCF performs contrastive learning by maximizing the agreement between these three views using an InfoNCE loss. This ensures that the learned representations are invariant to noise while remaining sensitive to actual user intents. The final model aggregates these signals (Figure 2e) to produce the next-layer GNN embeddings and the final recommendation score.

Key Results

DCCF was evaluated on three major benchmarks: Gowalla, Amazon-book, and Tmall. Key findings include:

  • Superior Performance: DCCF consistently outperformed state-of-the-art baselines like LightGCN and SGL. For instance, on Gowalla, it achieved a Recall@20 of 0.1876, surpassing the previous best of 0.1825.
  • Robustness to Sparsity: The model showed the most significant improvements for "long-tail" items and inactive users, demonstrating that global intent signals effectively compensate for missing local data.
  • Alleviating Over-smoothing: Using the MAD metric, the authors demonstrated that DCCF's contrastive objective helps maintain distinct, high-quality representations across the graph, preventing the over-smoothing common in deep GNNs.

Conclusion

DCCF represents a significant step forward in making recommender systems more robust and interpretable. By explicitly modeling latent intents and replacing heuristic data augmentations with learned, adaptive strategies, it provides a principled way to handle the noise and sparsity inherent in real-world interaction data.

Summary updated

BibTeX
@inproceedings{ren2023disentangled,
  author = {Xubin Ren and Lianghao Xia and Jiashu Zhao and Dawei Yin and Chao Huang},
  title = {{Disentangled Contrastive Collaborative Filtering}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2023},
  doi = {10.1145/3539618.3591665},
}
Figure