Skip to main content
QUICK REVIEW

[Paper Review] Robust Optimization as Data Augmentation for Large-scale Graphs

Kezhi Kong, Guohao Li|arXiv (Cornell University)|Oct 19, 2020
Advanced Graph Neural NetworksComputer Science10 citations
TL;DR

This paper proposes FLAG, a general-purpose, scalable data augmentation method for graph neural networks that improves generalization by applying free, gradient-based adversarial perturbations to node features during training. By making models robust to small input fluctuations without modifying graph structure, FLAG boosts test accuracy across node classification, link prediction, and graph classification tasks—achieving a 2.31% absolute improvement on ogbn-products with GAT.

ABSTRACT

Data augmentation helps neural networks generalize better by enlarging the training set, 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 manipulating graph topological structures by adding/removing edges, we offer a method to augment node features for better performance. We propose FLAG (Free Large-scale Adversarial Augmentation on Graphs), which iteratively augments node features with gradient-based adversarial perturbations during training. By making the model invariant to small fluctuations in input data, our method helps models generalize to out-of-distribution samples and boosts model performance at test time. FLAG is a general-purpose approach for graph data, which universally works in node classification, link prediction, and graph classification tasks. FLAG is also highly flexible and scalable, and is deployable with arbitrary GNN backbones and large-scale datasets. We demonstrate the efficacy and stability of our method through extensive experiments and ablation studies. We also provide intuitive observations for a deeper understanding of our method.

Motivation & Objective

  • Address the challenge of overfitting and poor generalization in GNNs trained on large-scale, real-world graph datasets.
  • Overcome the lack of effective data augmentation techniques for graph-structured data, especially in the node feature space.
  • Develop a scalable, general-purpose method that improves GNN performance without modifying graph topology or requiring task-specific design.
  • Investigate whether adversarial training in the feature space can enhance generalization, particularly for out-of-distribution samples.
  • Demonstrate that adversarial augmentation in graph learning behaves differently than in vision, depending on input data distribution.

Proposed method

  • Propose FLAG (Free Large-scale Adversarial Augmentation on Graphs), a method that applies gradient-based adversarial perturbations directly to node features during training.
  • Leverage 'free' adversarial training (Shafahi et al., 2019) to efficiently generate perturbations with minimal computational overhead.
  • Apply multi-scale adversarial augmentation to enhance robustness across varying perturbation magnitudes and improve generalization.
  • Keep the graph structure unchanged while only modifying node features, making it orthogonal to topological data augmentation methods.
  • Integrate FLAG into any GNN backbone (e.g., GCN, GAT, GraphSAGE, GIN, DeeperGCN) with minimal code changes (dozen lines in PyTorch).
  • Use iterative FGSM-style perturbations to craft adversarial examples that maximize model loss while preserving label consistency.

Experimental results

Research questions

  • RQ1Can adversarial perturbations in the node feature space improve generalization in GNNs, even when the graph structure remains unchanged?
  • RQ2How does adversarial data augmentation in the feature space compare to topological augmentation in terms of performance and scalability?
  • RQ3Does the effectiveness of adversarial augmentation depend on the data distribution of node features, particularly discrete vs. continuous features?
  • RQ4Can adversarial training improve clean accuracy in GNNs, contrary to the common belief that it harms standard performance?
  • RQ5How does FLAG perform across diverse GNN architectures and tasks (node, link, and graph classification) on large-scale benchmarks?

Key findings

  • FLAG improves test accuracy by 2.31% on ogbn-products when applied to GAT, demonstrating significant performance gains in node classification.
  • FLAG enhances link prediction performance on ogbl-ddi, achieving higher hits@20 scores across multiple GNN backbones.
  • FLAG boosts graph classification accuracy on ogbg-molhiv, showing consistent gains across different GNN architectures including GIN and GraphSAGE.
  • FLAG improves generalization even for deep GNNs like DeeperGCN, with consistent accuracy gains across increasing depth on ogbn-arxiv.
  • Adversarial augmentation improves MLPs on ogbn-products (61.06% → 62.41%) and ogbn-arxiv (55.50% → 56.02%), showing efficacy beyond GNNs.
  • The method’s success is sensitive to node feature construction: using 'sum' instead of 'mean' features leads to better invariance and performance gains under FLAG.

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.