[Paper Review] FLAG: Adversarial Data Augmentation for Graph Neural Networks
FLAG proposes a novel data augmentation method for Graph Neural Networks by iteratively applying gradient-based adversarial perturbations to node features during training, significantly improving generalization across diverse GNN backbones and tasks. Without architectural or training modifications, FLAG achieves state-of-the-art performance on large-scale graph datasets like ogbg-molpcba, ogbg-ppa, and ogbg-code.
Data augmentation helps neural networks generalize better, but it remains an open question how to effectively augment graph data to enhance the performance of GNNs (Graph Neural Networks). While most existing graph regularizers focus on augmenting graph topological structures by adding/removing edges, we offer a novel direction to augment in the input node feature space for better performance. We propose a simple but effective solution, FLAG (Free Large-scale Adversarial Augmentation on Graphs), which iteratively augments node features with gradient-based adversarial perturbations during training, and boosts performance at test time. Empirically, FLAG can be easily implemented with a dozen lines of code and is flexible enough to function with any GNN backbone, on a wide variety of large-scale datasets, and in both transductive and inductive settings. Without modifying a model's architecture or training setup, FLAG yields a consistent and salient performance boost across both node and graph classification tasks. Using FLAG, we reach state-of-the-art performance on the large-scale ogbg-molpcba, ogbg-ppa, and ogbg-code datasets.
Motivation & Objective
- To address the challenge of effective data augmentation for Graph Neural Networks, particularly in the node feature space.
- To explore whether adversarial perturbations in the input feature space can improve GNN generalization beyond topological augmentation.
- To develop a simple, plug-and-play method that boosts GNN performance across diverse datasets and settings without architectural changes.
- To achieve consistent performance gains in both transductive and inductive learning scenarios on large-scale graph benchmarks.
Proposed method
- FLAG performs iterative adversarial perturbations on node features using gradient information from the GNN model during training.
- It generates perturbations that maximize the model's loss, simulating robustness to small input variations.
- The method is applied in a free-form manner—no constraints on perturbation magnitude or structure—making it flexible and scalable.
- Perturbations are applied during training and do not alter the model’s inference or architecture.
- The approach is compatible with any GNN backbone and works in both transductive and inductive learning settings.
- The augmentation is lightweight, requiring only a dozen lines of code to implement.
Experimental results
Research questions
- RQ1Can adversarial perturbations in the node feature space improve GNN generalization more effectively than topological data augmentation?
- RQ2Does a simple, gradient-based feature-space augmentation method yield consistent performance gains across diverse GNN architectures and datasets?
- RQ3Can such a method be universally applied without modifying model architecture or training procedures?
- RQ4How does the proposed method perform on large-scale, real-world graph datasets in both transductive and inductive settings?
Key findings
- FLAG achieves state-of-the-art performance on the ogbg-molpcba dataset without modifying the model architecture or training setup.
- FLAG improves performance on ogbg-ppa and ogbg-code, demonstrating consistent gains across diverse large-scale graph benchmarks.
- The method yields a consistent and significant performance boost across both node and graph classification tasks.
- FLAG is effective in both transductive and inductive learning settings, showing broad applicability.
- The approach requires minimal code changes and is compatible with any GNN backbone.
- The performance gains are attributed to improved robustness and generalization through adversarial feature augmentation.
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.