arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.06282cs.LG
收藏

InfoNCE 是语义引导图对比学习的免费午餐

InfoNCE is a Free Lunch for Semantically guided Graph Contrastive Learning

State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences(人工智能安全国家重点实验室,计算技术研究所,中国科学院,中国科学院大学)

Zixu Wang, Bingbing Xu, Yige Yuan, Huawei Shen, Xueqi Cheng

AI总结:

本文将图对比学习重新表述为 PU 学习问题,提出 IFL-GCL,利用 InfoNCE 提取语义正样本信息并重构损失,在 IID/OOD 场景最高提升 9.05%。

摘要:

作为一种重要的图预训练方法,图对比学习(Graph Contrastive Learning,GCL)在当前图基础模型或 LLM as enhancer for graphs 的研究热潮中持续发挥关键作用。传统 GCL 通过使用增强来定义自监督任务,从而优化 InfoNCE:将增强样本对视为正样本,而将其他样本视为负样本。然而,这会导致语义相似的样本对被归类为负样本,造成显著的采样偏差并限制性能。本文认为,GCL 本质上是一个正样本-未标注(Positive-Unlabeled,PU)学习问题,其中自监督任务的定义应以语义为引导,即语义相似的增强样本被视为正样本,而其他语义未知的样本被视为未标注样本。从这一视角看,关键在于如何提取语义信息。为此,我们提出 IFL-GCL,利用 InfoNCE 作为“免费午餐”来提取语义信息。具体而言,我们首先证明在 InfoNCE 下,节点对的表示相似性与相应对比样本为正样本的概率相一致。随后,我们基于校正后的样本重新定义最大似然目标,从而得到一种新的 InfoNCE 损失函数。在图预训练框架和 LLM as an enhancer 上开展的大量实验表明,IFL-GCL 在 IID 和 OOD 场景下均取得显著提升,最高提升达 9.05%,验证了语义引导的有效性。IFL-GCL 的代码已公开发布于:https://github.com/Camel-Prince/IFL-GCL。

英文摘要:

As an important graph pre-training method, Graph Contrastive Learning (GCL) continues to play a crucial role in the ongoing surge of research on graph foundation models or LLM as enhancer for graphs. Traditional GCL optimizes InfoNCE by using augmentations to define self-supervised tasks, treating augmented pairs as positive samples and others as negative. However, this leads to semantically similar pairs being classified as negative, causing significant sampling bias and limiting performance. In this paper, we argue that GCL is essentially a Positive-Unlabeled (PU) learning problem, where the definition of self-supervised tasks should be semantically guided, i.e., augmented samples with similar semantics are considered positive, while others, with unknown semantics, are treated as unlabeled. From this perspective, the key lies in how to extract semantic information. To achieve this, we propose IFL-GCL, using InfoNCE as a "free lunch" to extract semantic information. Specifically, We first prove that under InfoNCE, the representation similarity of node pairs aligns with the probability that the corresponding contrastive sample is positive. Then we redefine the maximum likelihood objective based on the corrected samples, leading to a new InfoNCE loss function. Extensive experiments on both the graph pretraining framework and LLM as an enhancer show significantly improvements of IFL-GCL in both IID and OOD scenarios, achieving up to a 9.05% improvement, validating the effectiveness of semantically guided. Code for IFL-GCL is publicly available at: https://github.com/Camel-Prince/IFL-GCL.

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

↑