Skip to main content
QUICK REVIEW

[Paper Review] Automated Data Augmentations for Graph Classification

Youzhi Luo, Michael McThrow|arXiv (Cornell University)|Feb 26, 2022
Machine Learning and ELMComputer Science8 citations
TL;DR

This paper proposes GraphAug, an automated data augmentation method for graph classification that uses reinforcement learning to learn label-invariant graph transformations. By dynamically selecting from node masking, edge dropping, and edge perturbation based on learned policies, GraphAug achieves state-of-the-art performance across multiple graph datasets while maintaining high label-invariance, as validated by ablation and generalization studies.

ABSTRACT

Data augmentations are effective in improving the invariance of learning machines. We argue that the core challenge of data augmentations lies in designing data transformations that preserve labels. This is relatively straightforward for images, but much more challenging for graphs. In this work, we propose GraphAug, a novel automated data augmentation method aiming at computing label-invariant augmentations for graph classification. Instead of using uniform transformations as in existing studies, GraphAug uses an automated augmentation model to avoid compromising critical label-related information of the graph, thereby producing label-invariant augmentations at most times. To ensure label-invariance, we develop a training method based on reinforcement learning to maximize an estimated label-invariance probability. Experiments show that GraphAug outperforms previous graph augmentation methods on various graph classification tasks.

Motivation & Objective

  • To address data scarcity in graph classification by developing automated, label-invariant data augmentation strategies.
  • To overcome the limitations of uniform, hand-crafted graph augmentations that risk destroying label-related information.
  • To design a learnable augmentation policy that selects optimal transformations based on graph structure and label context.
  • To ensure high label-invariance during augmentation through a reinforcement learning framework that maximizes estimated invariance probability.
  • To demonstrate generalization and robustness across diverse graph datasets without manual hyperparameter tuning.

Proposed method

  • GraphAug employs a reinforcement learning agent to select among three learnable augmentation categories: MaskNF (node feature masking), DropNode (node dropping), and PerturbEdge (edge perturbation).
  • The agent is trained to maximize an estimated label-invariance probability, ensuring that augmented graphs retain their original class labels.
  • A graph neural network with virtual nodes is used to encode graph-level representations, enabling the agent to make informed augmentation decisions.
  • The method uses a policy gradient approach to optimize the augmentation policy, where the reward is based on the similarity of predictions between original and augmented graphs.
  • Virtual nodes are introduced to enhance message passing and improve graph-level representation learning, aiding in better augmentation category prediction.
  • The framework is evaluated using a combination of synthetic and real-world graph datasets, with performance measured via classification accuracy under cross-validation.

Experimental results

Research questions

  • RQ1Can an automated, learnable augmentation policy outperform hand-crafted, uniform graph augmentations in graph classification?
  • RQ2To what extent can reinforcement learning be used to learn label-invariant graph transformations that preserve semantic meaning?
  • RQ3How does the inclusion of virtual nodes affect the performance and stability of the augmentation policy?
  • RQ4Does combining multiple transformation types (e.g., masking, dropping, perturbing) lead to better generalization than using a single type?
  • RQ5How does the label-invariance ratio of GraphAug compare to uniform baseline augmentations on synthetic datasets with known labels?

Key findings

  • GraphAug achieves state-of-the-art performance on multiple graph classification benchmarks, including PROTEINS (0.816 ± 0.001), IMDB-BINARY (0.762 ± 0.004), and NCI1 (0.816 ± 0.001) with the GIN model.
  • On the COLORS and TRIANGLES synthetic datasets, GraphAug achieves label-invariance ratios of 0.9994 and 1.0000, respectively, significantly outperforming uniform baselines.
  • Abllation studies show that using only one transformation type (e.g., learnable DropNode) can be effective on specific datasets, but GraphAug’s combination strategy generalizes better across diverse data distributions.
  • The use of virtual nodes in the GNN backbone leads to superior performance compared to sum, mean, or max pooling for graph-level representation, confirming their role in enhancing message passing and representation learning.
  • GraphAug consistently improves generalization and reduces overfitting on small datasets, demonstrating robustness across multiple 10-fold cross-validation runs.
  • The method outperforms prior graph augmentation techniques, including uniform and random augmentation baselines, across all evaluated datasets and models.

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.