NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Intent-guided Heterogeneous Graph Contrastive Learning for Recommendation

Lei Sang, Yu Wang, Yi Zhang 0103, Yiwen Zhang 0001, Xindong Wu

TL;DR

This paper introduces IHGCL, a novel recommendation framework that leverages "intents" derived from meta-paths in heterogeneous graphs to improve contrastive learning. By explicitly modeling user and item intents and using a bottlenecked autoencoder to denoise these intents, IHGCL achieves state-of-the-art performance, particularly for users with sparse interaction data.

What Problem Does This Paper Address?

Recommender systems are crucial for discovering relevant items, but traditional methods often struggle with sparse user-item interaction data and fail to capture the nuanced reasons behind user preferences. While contrastive learning (CL) has shown promise in addressing these issues by learning consistent representations across different "views" of the data, existing CL-based recommenders often overlook the rich, multi-faceted nature of user-item interactions within heterogeneous graphs (HGs). HGs represent entities (users, items, etc.) and their diverse relationships. The authors argue that these interactions are guided by latent "intents" (e.g., brand preference, genre interest), which can be effectively captured through meta-paths (sequences of relationships). However, integrating these intent-driven meta-paths into CL presents two main challenges: 1) how to effectively incorporate intents into the CL framework, and 2) how to mitigate the noise that can be introduced by these meta-paths.

Methods

The proposed Intent-guided Heterogeneous Graph Contrastive Learning (IHGCL) framework tackles these challenges with two core components:

  • Dual Contrastive Learning (DCL): This module integrates user and item intents into the recommendation process. It constructs two types of contrastive views:
  • Intent-intent contrast: Aligns intent embeddings derived from heterogeneous information views, aiming for consistency in user and item intent representations.
  • Intent-interaction contrast: Aligns intent-enhanced user/item representations with their main user-item interaction representations, capturing the relationship between intents and actual interactions. This approach leverages meta-paths to create multiple augmented views, going beyond standard CL methods that might use simpler graph augmentations.

  • Bottlenecked Autoencoder (BAE): To address the noise issue in meta-path-derived intents, BAE employs a dual-masked autoencoder combined with an information bottleneck (IB) principle. The masked autoencoder reconstructs representations, while the IB technique constrains the amount of information passed, forcing the model to learn the "minimum sufficient representation" of the data. This helps denoise the intent embeddings and retain only the most relevant information for recommendation.

The overall IHGCL framework jointly optimizes these components with a standard Bayesian Personalized Ranking (BPR) loss for the main recommendation task.

Datasets

The authors evaluated IHGCL on six publicly available datasets:

  • Last.fm (music)
  • Amazon (products)
  • Yelp (businesses)
  • Douban Book (books)
  • Movielens-1M (movies)
  • Douban Movie (movies)

These datasets represent various domains and exhibit different characteristics in terms of user-item interactions and entity types.

Key Insights and Ideas

  • Intents are crucial for recommendation: The paper strongly advocates for modeling latent "intents" behind user-item interactions, arguing they provide richer semantic information than raw interaction data alone.
  • Meta-paths as intent proxies: Meta-paths in heterogeneous graphs are identified as effective tools for capturing these user and item intents, offering a structured way to represent complex relationships.
  • Noise in meta-paths: A key insight is that while meta-paths are informative, they can also introduce noise, which can degrade recommendation performance. This motivates the need for denoising mechanisms.
  • Denoising with Information Bottleneck: The BAE's use of the information bottleneck principle is shown to be effective in filtering out irrelevant noise from intent representations, leading to more robust embeddings.
  • Intent-interaction contrast is key: Ablation studies reveal that the intent-interaction contrast plays a more significant role than intent-intent contrast in IHGCL's performance, suggesting that aligning intents with actual user behavior is paramount.
  • Sparsity alleviation: IHGCL demonstrates significant improvements for users with sparse interaction histories, highlighting its ability to infer preferences from limited data by leveraging intent information.

Key Results

  • State-of-the-art performance: IHGCL consistently outperforms existing state-of-the-art models across all metrics and datasets, achieving significant improvements (e.g., up to 12.43% on Amazon).
  • Improved performance on sparse data: IHGCL shows substantial gains for users with very sparse interactions, outperforming strong baselines like SimGCL by up to 10.19% (relative).
  • Effectiveness of components: Ablation studies confirm the significant contributions of both DCL and BAE. Removing DCL leads to a notable performance drop, while removing BAE also degrades results, though to a lesser extent. The intent-interaction contrast (IICL) is found to be the most impactful component of DCL.
  • Meta-path impact: While different meta-path combinations can affect performance, IHGCL remains robust and generally outperforms baselines even with sub-optimal meta-path selections. The "social intent" meta-path (UU) often shows strong performance.

Limitations and Future Work

  • Meta-path selection: While IHGCL is robust to meta-path choices, the paper notes that adding more meta-paths does not necessarily lead to significant performance improvements and can increase complexity. Future work could explore more sophisticated methods for meta-path selection or generation.
  • Hyperparameter sensitivity: The paper investigates hyperparameter sensitivity, noting that the IICL coefficient has a significant impact, with optimal performance often achieved at lower values. Further tuning might be beneficial.
  • Complexity: While not explicitly detailed as a limitation, the introduction of BAE and DCL adds complexity to the model. Future work could focus on optimizing the computational efficiency of these components.
  • Generalization: The authors suggest exploring more advanced techniques for meta-path selection and potentially investigating the interpretability of the learned intents further.

Summary updated

BibTeX
@article{sang2024intent,
  author = {Lei Sang and Yu Wang and Yi Zhang and Yiwen Zhang and Xindong Wu},
  title = {{Intent-guided Heterogeneous Graph Contrastive Learning for Recommendation}},
  journal = {IEEE TKDE},
  year = {2024},
}
Figure