[Paper Review] Learning Graph Augmentations to Learn Graph Representations
LG2AR is an end-to-end framework that automatically learns optimal graph augmentations and view selection policies for graph contrastive learning, using probabilistic policies and augmentation heads to adaptively sample from diverse augmentation spaces. It achieves state-of-the-art performance on 18 out of 20 node- and graph-level benchmarks under both linear and semi-supervised protocols.
Devising augmentations for graph contrastive learning is challenging due to their irregular structure, drastic distribution shifts, and nonequivalent feature spaces across datasets. We introduce LG2AR, Learning Graph Augmentations to Learn Graph Representations, which is an end-to-end automatic graph augmentation framework that helps encoders learn generalizable representations on both node and graph levels. LG2AR consists of a probabilistic policy that learns a distribution over augmentations and a set of probabilistic augmentation heads that learn distributions over augmentation parameters. We show that LG2AR achieves state-of-the-art results on 18 out of 20 graph-level and node-level benchmarks compared to previous unsupervised models under both linear and semi-supervised evaluation protocols. The source code will be released here: https://github.com/kavehhassani/lg2ar
Motivation & Objective
- To address the challenge of designing effective, dataset-specific graph augmentations for contrastive learning due to irregular graph structures and distribution shifts.
- To eliminate manual hyperparameter tuning and trial-and-error augmentation selection by learning a distribution over augmentations end-to-end.
- To improve generalization of graph representations across both node-level and graph-level tasks through adaptive augmentation policies and parameter distributions.
- To demonstrate that learning both the augmentation policy and parameters leads to superior performance compared to fixed or randomly sampled augmentations.
Proposed method
- LG2AR employs a probabilistic policy network that learns a distribution over augmentation types conditioned on the input graph dataset.
- It introduces probabilistic augmentation heads, each modeling a distribution over parameters for a specific augmentation type (e.g., edge perturbation, feature masking, subgraph sampling).
- The framework jointly trains the encoder, augmentation policy, and augmentation heads in an end-to-end manner without outer-loop optimization.
- It uses contrastive learning with a mutual information estimator (e.g., NT-Xent or JSD) and a discriminator (e.g., MLP-based) to maximize agreement between augmented views.
- The policy is trained via reinforcement learning to sample augmentations that maximize contrastive loss, enabling dataset-adaptive augmentation selection.
- The method supports both transductive and inductive learning settings, enabling application to both node- and graph-level classification tasks.
Experimental results
Research questions
- RQ1Can an end-to-end framework automatically learn effective graph augmentations without manual design or hyperparameter tuning?
- RQ2Does learning a distribution over augmentation types and parameters improve performance compared to fixed or uniformly sampled augmentations?
- RQ3How does the learned policy adapt to different graph datasets with varying structural and feature distributions?
- RQ4What is the relative contribution of learning the augmentation policy versus learning the augmentation parameters to overall performance?
- RQ5Can the framework generalize across both node-level and graph-level tasks while achieving SOTA results?
Key findings
- LG2AR achieves state-of-the-art performance on 18 out of 20 benchmarks, including 8 out of 8 graph classification and 6 out of 7 node classification tasks, under both linear and semi-supervised evaluation protocols.
- The GRU-based policy outperforms random and fixed policies on 12 out of 15 benchmarks, demonstrating effective dataset-specific adaptation.
- The policy learns distinct augmentation distributions per dataset, with subgraph sampling and edge perturbation being the most frequently selected augmentations.
- Learning the augmentation parameters via probabilistic heads leads to a 2.7% absolute accuracy gain on Reddit-Binary over GraphCL, even with a random policy.
- Structural augmentations (e.g., edge perturbation, subgraph sampling) contribute more to performance than feature-space augmentations, but all types improve final results.
- The JSD and NT-Xent estimators outperform NCE and DV in mutual information estimation, and an MLP-based discriminator yields the best performance across datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.