跳到主要导航 跳到搜索 跳到主要内容

DiffHGCL: Task-aware diffusion-augmented heterogeneous graph contrastive learning for web API recommendation

  • Xiuqi Yang
  • , Xiaojun Xu
  • , Wenbiao Du
  • , Zeyang Liu
  • , Junbao Chen
  • , Yifeng Fu
  • , Jingjing Hu*
  • *此作品的通讯作者
  • Beijing Institute of Technology

科研成果: 期刊稿件文章同行评审

摘要

The rapidly increasing popularity of mashup-based applications has led to a surge in the number of available Web APIs, making effective recommendations essential yet challenging. Some recent efforts have explored generative methods such as diffusion models to synthesize potential interactions between mashups and APIs, thereby alleviating data sparsity issues. Although they have been shown to be effective in generating statistically plausible interactions, these methods often overlook the misalignment between generative objectives and relevance-oriented recommendation goals.In this paper, we first investigate diffusion-based generation for Web API recommendation and reveal a fundamental task misalignment phenomenon: diffusion-generated confidence is highly influenced by popularity bias and does not reliably translate into ranking relevance. Motivated by this finding, we propose DiffHGCL, a task-aware multi-view heterogeneous graph contrastive learning framework that integrates diffusion-based augmentation with task-aware interaction proposal filtering. Specifically, we first construct multi-view graphs that capture both functional affinity and semantic proximity among mashups and APIs, thereby enriching the sparse interaction graph with auxiliary semantic information. Building upon these views, we employ diffusion models as task-conditioned interaction proposal generators rather than direct recommenders, and introduce a task-aware interaction proposal filtering mechanism to filter task-irrelevant generative bias. Furthermore, heterogeneous graph contrastive learning is leveraged as a regularizer to align representations across augmented views, enhancing robustness against sparsity and noise. Extensive experiments on ProgrammableWeb dataset demonstrate that DiffHGCL consistently outperforms state-of-the-art baselines, highlighting its effectiveness in alleviating data sparsity and enhancing representational robustness. The source code is available at https://github.com/Qornck/DiffHGCL.

源语言英语
文章编号133349
期刊Expert Systems with Applications
331
DOI
出版状态已出版 - 15 12月 2026

指纹

探究 'DiffHGCL: Task-aware diffusion-augmented heterogeneous graph contrastive learning for web API recommendation' 的科研主题。它们共同构成独一无二的指纹。

引用此