Negative Metric Learning for Graphs

Yiyang Zhao, Chengpei Wu, Lilin Zhang, Ning Yang
5/15/2025
cs.LG

No official code found. Best implementation: mitsuha0258/NML-GCL (2 stars, last commit 2025-05-16).

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.

View on arXivView PDF

Code Implementations(1)

Negative Metric Learning for Graphs

20PythonMay 16, 20251 years ago

Similar Papers

Cite this paper

@article{zhao2025negative,
  title  = {Negative Metric Learning for Graphs},
  author = {Yiyang Zhao and Chengpei Wu and Lilin Zhang and Ning Yang},
  year   = {2025},
  eprint = {2505.10307},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.10307v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.10307.svg)](https://codeofpaper.com/paper/2505.10307)

Discussion