arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.13847cs.LG
收藏

基于元路径上下文与自适应加权负样本的异构图对比学习

Heterogeneous Graph Contrastive Learning with Meta-path Contexts and Adaptively Weighted Negative Samples

School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院)

Jianxiang Yu, Qingqing Ge, Xiang Li, Aoying Zhou

AI总结:

针对异构图对比学习中元路径上下文缺失和负样本未区分的问题,提出 MEOW 及自适应变体 AdaMEOW,通过粗细粒度视图和加权负样本提升节点表示性能。

摘要:

异构图对比学习近来受到广泛关注。一些现有方法使用元路径来构建对比视图,元路径是捕获对象之间语义关系的对象类型序列。然而,这些方法大多忽略了描述两个对象如何通过元路径连接的丰富元路径上下文信息。此外,它们未能区分负样本,这可能对模型性能产生不利影响。为解决这些问题,我们提出了 MEOW,该方法同时考虑元路径上下文和加权负样本。具体而言,MEOW 构建了一个粗粒度视图和一个细粒度视图用于对比。前者反映哪些对象通过元路径连接,而后者使用元路径上下文并刻画对象如何连接的细节。随后,我们从理论上分析了 InfoNCE 损失,并认识到其在计算负样本梯度方面的局限。为更好地区分负样本,我们基于节点聚类为其学习硬值权重,并使用原型对比学习拉近同一聚类中节点的嵌入。此外,我们提出变体模型 AdaMEOW,它自适应地学习负样本的软值权重,以进一步改进节点表示。最后,我们开展了大量实验,证明 MEOW 和 AdaMEOW 相比其他最先进方法的优越性。

英文摘要:

Heterogeneous graph contrastive learning has received wide attention recently. Some existing methods use meta-paths, which are sequences of object types that capture semantic relationships between objects, to construct contrastive views. However, most of them ignore the rich meta-path context information that describes how two objects are connected by meta-paths. Further, they fail to distinguish negative samples, which could adversely affect the model performance. To address the problems, we propose MEOW, which considers both meta-path contexts and weighted negative samples. Specifically, MEOW constructs a coarse view and a fine-grained view for contrast. The former reflects which objects are connected by meta-paths, while the latter uses meta-path contexts and characterizes details on how the objects are connected. Then, we theoretically analyze the InfoNCE loss and recognize its limitations for computing gradients of negative samples. To better distinguish negative samples, we learn hard-valued weights for them based on node clustering and use prototypical contrastive learning to pull close embeddings of nodes in the same cluster. In addition, we propose a variant model AdaMEOW that adaptively learns soft-valued weights of negative samples to further improve node representation. Finally, we conduct extensive experiments to show the superiority of MEOW and AdaMEOW against other state-of-the-art methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑