Skip to main content
QUICK REVIEW

[Paper Review] Label-invariant Augmentation for Semi-Supervised Graph Classification

Yue Han, Chunhui Zhang|arXiv (Cornell University)|May 19, 2022
Advanced Graph Neural NetworksComputer Science10 citations
TL;DR

This paper proposes Graph Label-invariant Augmentation (GLA), a novel semi-supervised graph contrastive learning method that generates label-consistent augmented representations in the feature space rather than modifying raw graphs. By selecting the most difficult (worst-case) perturbation that preserves the original label, GLA improves model generalization without requiring handcrafted graph augmentations or negative pairs, outperforming existing GNN and contrastive learning methods on eight benchmark datasets.

ABSTRACT

Recently, contrastiveness-based augmentation surges a new climax in the computer vision domain, where some operations, including rotation, crop, and flip, combined with dedicated algorithms, dramatically increase the model generalization and robustness. Following this trend, some pioneering attempts employ the similar idea to graph data. Nevertheless, unlike images, it is much more difficult to design reasonable augmentations without changing the nature of graphs. Although exciting, the current graph contrastive learning does not achieve as promising performance as visual contrastive learning. We conjecture the current performance of graph contrastive learning might be limited by the violation of the label-invariant augmentation assumption. In light of this, we propose a label-invariant augmentation for graph-structured data to address this challenge. Different from the node/edge modification and subgraph extraction, we conduct the augmentation in the representation space and generate the augmented samples in the most difficult direction while keeping the label of augmented data the same as the original samples. In the semi-supervised scenario, we demonstrate our proposed method outperforms the classical graph neural network based methods and recent graph contrastive learning on eight benchmark graph-structured data, followed by several in-depth experiments to further explore the label-invariant augmentation in several aspects.

Motivation & Objective

  • To address the limitations of current graph contrastive learning methods that rely on hand-crafted, potentially label-violating graph augmentations.
  • To improve model generalization in semi-supervised graph classification by integrating downstream classification objectives into the augmentation process.
  • To eliminate the need for negative pairs in contrastive learning, which can degrade performance in downstream tasks.
  • To demonstrate that effective augmentation can be achieved directly in the representation space without modifying the original graph structure.
  • To validate that label-invariant augmentation in the representation space yields better performance than raw graph augmentation or post-hoc filtering.

Proposed method

  • GLA performs data augmentation in the learned representation space rather than on the raw graph structure.
  • It generates candidate perturbations by adding a random unit vector scaled by a magnitude hyperparameter η to the graph-level representation.
  • Only perturbations that preserve the original class label (i.e., maintain prediction confidence) are considered valid, enforcing the label-invariant property.
  • Among valid candidates, GLA selects the one that maximizes the model's loss, i.e., the most difficult (worst-case) sample for the classifier.
  • The method integrates pre-training and fine-tuning by using the downstream classifier to validate label invariance during augmentation.
  • It avoids negative pairs by design, aligning with recent findings that they can harm performance in contrastive learning.

Experimental results

Research questions

  • RQ1Can label-invariant augmentation in the representation space improve semi-supervised graph classification beyond traditional graph augmentations?
  • RQ2Does eliminating negative pairs in contrastive learning lead to better downstream performance when combined with label-invariant augmentation?
  • RQ3How does representation-space augmentation compare to raw graph-space augmentation in terms of robustness and generalization?
  • RQ4What is the impact of selecting the most difficult (worst-case) augmentation versus random or easiest augmentations?
  • RQ5Can a lightweight, non-bi-level optimization strategy effectively generate hard, label-consistent samples without domain-specific knowledge?

Key findings

  • GLA outperforms classical GNNs and recent graph contrastive learning methods on eight benchmark graph datasets under semi-supervised settings.
  • The performance of GLA drops significantly when negative pairs are included, confirming that negative pairs are detrimental in this setup, consistent with recent vision contrastive learning findings.
  • Using η = 1 provides strong generalization across datasets, and GLA with η = 1 outperforms GraphCL+Label-Invariant, demonstrating the superiority of representation-space augmentation.
  • Selecting the most difficult augmentation among valid candidates leads to significant performance gains over random or easiest augmentations, proving the benefit of worst-case sampling.
  • The label-invariant property improves performance not only for GLA but also for other contrastive methods when applied post-hoc, showing its generalizability.
  • Representation-space augmentation enables effective, label-consistent data augmentation without generating new graphs, reducing reliance on domain-specific augmentation design.

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.