arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.13340cs.LGcs.SI
收藏

图对比学习中基于亲和度不确定性的困难负样本挖掘

Affinity Uncertainty-based Hard Negative Mining in Graph Contrastive Learning

Australian Artificial Intelligence Institute, University of Technology Sydney(悉尼科技大学澳大利亚人工智能研究院);School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院)

Chaoxi Niu, Guansong Pang, Ling Chen

AI总结:

针对图对比学习中因过平滑和非独立同分布导致的假负样本问题,提出基于亲和度不确定性构建判别模型挖掘困难负样本,通过加权项增强现有GCL损失,显著提升了分类性能与对抗鲁棒性。

摘要:

困难负样本挖掘在增强包括图对比学习(GCL)在内的多种数据类型的自监督对比学习(CL)方面已显示出有效性。现有的硬度感知CL方法通常将与锚点实例最相似的负实例视为困难负样本,这有助于提升CL性能,特别是在图像数据上。然而,这种方法在图数据上往往无法识别出困难负样本,反而会导致许多假负样本。这主要是因为由于图数据中的过平滑表示和/或非独立同分布(non-i.i.d.)问题,学习到的图表示不够具有判别性。为了解决这个问题,本文提出了一种新方法,该方法在集体亲和度信息(即负实例与锚点实例之间的两组成对亲和度)上构建判别模型,以在GCL中挖掘困难负样本。具体而言,所提方法评估判别模型对每个负实例与锚点实例亲和度的置信度/不确定性,以确定其相对于锚点实例的硬度权重。然后,通过加权项将此不确定性信息整合到现有的GCL损失函数中,以增强其性能。增强后的GCL具有理论依据,即所得的GCL损失等价于具有自适应间隔的三元组损失,该间隔与每个负实例学习到的不确定性呈指数比例关系。在十个图数据集上的大量实验表明,我们的方法做到了以下两点:1)在图分类和节点分类任务中持续增强不同的最先进(SOTA)GCL方法;2)显著提升它们对抗对抗性攻击的鲁棒性。代码可在 https://github.com/mala-lab/AUGCL 获取。

英文摘要:

Hard negative mining has shown effective in enhancing self-supervised contrastive learning (CL) on diverse data types, including graph CL (GCL). The existing hardness-aware CL methods typically treat negative instances that are most similar to the anchor instance as hard negatives, which helps improve the CL performance, especially on image data. However, this approach often fails to identify the hard negatives but leads to many false negatives on graph data. This is mainly due to that the learned graph representations are not sufficiently discriminative due to oversmooth representations and/or non-independent and identically distributed (non-i.i.d.) issues in graph data. To tackle this problem, this article proposes a novel approach that builds a discriminative model on collective affinity information (i.e., two sets of pairwise affinities between the negative instances and the anchor instance) to mine hard negatives in GCL. In particular, the proposed approach evaluates how confident/uncertain the discriminative model is about the affinity of each negative instance to an anchor instance to determine its hardness weight relative to the anchor instance. This uncertainty information is then incorporated into the existing GCL loss functions via a weighting term to enhance their performance. The enhanced GCL is theoretically grounded that the resulting GCL loss is equivalent to a triplet loss with an adaptive margin being exponentially proportional to the learned uncertainty of each negative instance. Extensive experiments on ten graph datasets show that our approach does the following: 1) consistently enhances different state-of-the-art (SOTA) GCL methods in both graph and node classification tasks and 2) significantly improves their robustness against adversarial attacks. Code is available at https://github.com/mala-lab/AUGCL.

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

↑