Abstract
Learning informative representations of users and items from interaction data is crucial to collaborative filtering (CF). Present embedding functions exploit user-item relationships to enrich representations, evolving from single instances to holistic interaction graphs. However, they largely model relationships uniformly, neglecting the diversity of user intents—such as passing time, interest matching, or shopping for others. Such uniform approaches result in suboptimal representations that fail to disentangle user intents. In this work, we propose Disentangled Graph Collaborative Filtering (DGCF) to disentangle these factors and yield more expressive representations. By modeling a distribution over intents for each interaction, we iteratively refine intent-aware graphs and representations while encouraging independence between intents. Extensive experiments on three benchmark datasets show that DGCF achieves significant improvements over state-of-the-art models like NGCF, DisenGCN, and MacridVAE. Our codes are available at: https://github.com/xiangwang1223/disentangled_graph_collaborative_filtering.
Introduction
Collaborative Filtering (CF) typically assumes that user-item interactions represent a uniform signal of preference. However, this coarse assumption neglects the diverse motivations—or latent intents—behind such interactions. For instance, one user might purchase a product due to personal interest, while another might buy it as a gift for a family member.
Standard models like Neural Graph Collaborative Filtering (NGCF) treat the interaction graph as a set of uniform edges, resulting in "entangled" representations where distinct user behaviors are conflated into a single vector. This entanglement leads to suboptimal performance, reduced robustness to noisy interactions, and a lack of interpretability regarding why a specific recommendation was made.
Methodology
DGCF introduces a framework to decompose user and item embeddings into independent "intent chunks" and uses dynamic graph routing to identify the specific motivation driving an interaction. The model consists of two primary components:
- Graph Disentangling Module: Instead of a single large vector, DGCF splits embeddings into $K$ chunks, each representing a latent intent. A dynamic neighbor routing mechanism, inspired by Capsule Networks, iteratively updates a distribution over these $K$ intents for every interaction. This process asks which intent chunk best explains a specific connection, refining intent-aware subgraphs accordingly.
- Independence Modeling Module: To ensure that intent chunks capture distinct information, we employ a Distance Correlation ($dCor$) loss. This statistical penalty discourages redundancy between different embedding segments, forcing the model to capture truly independent aspects of user behavior.
Notably, DGCF maintains the same total number of parameters as standard models. It achieves efficiency by avoiding heavy weight-matrix transformations, relying instead on the structural routing of the graph itself.
Experimental Results
We evaluated DGCF on three large-scale benchmark datasets: Gowalla, Yelp2018, and Amazon-Book. DGCF significantly outperformed state-of-the-art baselines. On the Gowalla dataset, DGCF achieved a 10.88% improvement in Recall@20 and a 14.62% improvement in NDCG@20 over the strongest baseline.
Performance also improved as more layers were added (moving from 1-hop to 3-hop neighbors), proving that disentangling higher-order "collaborative signals" is as vital as disentangling direct interactions. Ablation studies confirmed that without the $dCor$ independence loss, the chunks became entangled, and recommendation accuracy dropped significantly.
Discussion and Insights
Our analysis suggests that discovered intents act like "vitamins" for representations; while even a small amount of a specific intent chunk is beneficial, the deficiency of any one intent hinders performance. Furthermore, by analyzing user reviews alongside learned intents, we were able to map specific latent chunks to real-world concepts like "price & promotion" or "service."
While DGCF offers superior accuracy and interpretability, the number of intents ($K$) is a hyperparameter that requires tuning. If $K$ is set too high, chunks may become too fine-grained and lose expressiveness. Future work may involve incorporating explicit side information, such as conversation history, to further ground these latent intents in human-readable semantics.
Summary updated