Skip to main content
QUICK REVIEW

[Paper Review] Neighbor Contrastive Learning on Learnable Graph Augmentation

Xiao Shen, Dewang Sun|arXiv (Cornell University)|Jan 4, 2023
Advanced Graph Neural NetworksComputer Science9 citations
TL;DR

The paper proposes NCLA, an end-to-end method that learns graph augmentations and embeddings jointly via neighbor contrastive learning, enabling multiple positives per anchor and adaptive topology.

ABSTRACT

Recent years, graph contrastive learning (GCL), which aims to learn representations from unlabeled graphs, has made great progress. However, the existing GCL methods mostly adopt human-designed graph augmentations, which are sensitive to various graph datasets. In addition, the contrastive losses originally developed in computer vision have been directly applied to graph data, where the neighboring nodes are regarded as negatives and consequently pushed far apart from the anchor. However, this is contradictory with the homophily assumption of networks that connected nodes often belong to the same class and should be close to each other. In this work, we propose an end-to-end automatic GCL method, named NCLA to apply neighbor contrastive learning on learnable graph augmentation. Several graph augmented views with adaptive topology are automatically learned by the multi-head graph attention mechanism, which can be compatible with various graph datasets without prior domain knowledge. In addition, a neighbor contrastive loss is devised to allow multiple positives per anchor by taking network topology as the supervised signals. Both augmentations and embeddings are learned end-to-end in the proposed NCLA. Extensive experiments on the benchmark datasets demonstrate that NCLA yields the state-of-the-art node classification performance on self-supervised GCL and even exceeds the supervised ones, when the labels are extremely limited. Our code is released at https://github.com/shenxiaocam/NCLA.

Motivation & Objective

  • Address the sensitivity of graph contrastive learning to fixed, human-designed augmentations across datasets.
  • Develop a fully automatic GCL framework that learns augmentations and representations together.
  • Leverage neighbor-based positives to align with network homophily and improve downstream tasks with limited labels.

Proposed method

  • Introduce learnable graph augmentations via a multi-head graph attention mechanism that learns augmented views with adaptive topology.
  • Define a neighbor contrastive loss that uses network topology as supervision and allows multiple positives per anchor.
  • Train augmentations and embeddings end-to-end within the NCLA framework.
  • Demonstrate compatibility with diverse graph datasets without requiring prior domain knowledge.

Experimental results

Research questions

  • RQ1Can learnable augmentations via graph attention produce effective augmented views for GCL across datasets?
  • RQ2Does neighbor-based contrastive learning with multiple positives outperform fixed-augmentation GCL methods?
  • RQ3Can NCLA achieve state-of-the-art node classification in self-supervised settings and surpass supervised methods when labels are scarce?

Key findings

  • NCLA achieves state-of-the-art node classification performance in self-supervised GCL on benchmark datasets.
  • NCLA can exceed supervised baselines when label availability is extremely limited.
  • The approach demonstrates robustness across various graph datasets without domain-specific augmentation knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.