Contrastive Laplacian Eigenmaps

Hao Zhu, Ke Sun, Piotr Koniusz
1/14/2022
cs.LG
contrastive-ssl

Official code: allenhaozhu/COLES (21 stars, Python, last commit 2021-12-06).

Abstract

Graph contrastive learning attracts/disperses node representations for similar/dissimilar node pairs under some notion of similarity. It may be combined with a low-dimensional embedding of nodes to preserve intrinsic and structural properties of a graph.

Show full abstract

In this paper, we extend the celebrated Laplacian Eigenmaps with contrastive learning, and call them COntrastive Laplacian EigenmapS (COLES). Starting from a GAN-inspired contrastive formulation, we show that the Jensen-Shannon divergence underlying many contrastive graph embedding models fails under disjoint positive and negative distributions, which may naturally emerge during sampling in the contrastive setting. In contrast, we demonstrate analytically that COLES essentially minimizes a surrogate of Wasserstein distance, which is known to cope well under disjoint distributions. Moreover, we show that the loss of COLES belongs to the family of so-called block-contrastive losses, previously shown to be superior compared to pair-wise losses typically used by contrastive methods. We show on popular benchmarks/backbones that COLES offers favourable accuracy/scalability compared to DeepWalk, GCN, Graph2Gauss, DGI and GRACE baselines.

View on arXivView PDF

Code Implementations(1)

allenhaozhu/COLESOfficial100%
213PythonJun 4, 20214 years ago

Similar Papers

Cite this paper

@article{zhu2022contrastive,
  title  = {Contrastive Laplacian Eigenmaps},
  author = {Hao Zhu and Ke Sun and Piotr Koniusz},
  year   = {2022},
  eprint = {2201.05493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.05493}
}

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/2201.05493.svg)](https://codeofpaper.com/paper/2201.05493)

Discussion