Negative Metric Learning for Graphs
Yiyang Zhao, Chengpei Wu, Lilin Zhang, Ning Yang
TL;DR
NML-GCL addresses false negatives in graph contrastive learning by integrating a learnable Negative Metric Network to form a negative metric space. A bi-level optimization scheme jointly trains the encoder and NMN using self-supervision, yielding a tighter mutual information bound than InfoNCE and enabling mutual reinforcement between components. Theoretical analysis proves improved MI bounds and the ability to distinguish false negatives, while experiments on six benchmarks demonstrate consistent downstream gains and effective false-negative identification. This approach offers a data-driven, principled way to refine negative sampling in GCL, with practical impact on node classification and clustering tasks.
Abstract
Graph contrastive learning (GCL) often suffers from false negatives, which degrades the performance on downstream tasks. The existing methods addressing the false negative issue usually rely on human prior knowledge, still leading GCL to suboptimal results. In this paper, we propose a novel Negative Metric Learning (NML) enhanced GCL (NML-GCL). NML-GCL employs a learnable Negative Metric Network (NMN) to build a negative metric space, in which false negatives can be distinguished better from true negatives based on their distance to anchor node. To overcome the lack of explicit supervision signals for NML, we propose a joint training scheme with bi-level optimization objective, which implicitly utilizes the self-supervision signals to iteratively optimize the encoder and the negative metric network. The solid theoretical analysis and the extensive experiments conducted on widely used benchmarks verify the superiority of the proposed method.
