[Paper Review] GraphCrop: Subgraph Cropping for Graph Classification
GraphCrop is a parameter-free data augmentation method for graph neural networks that improves generalization in graph classification by cropping contiguous, connected subgraphs from original graphs using a node-centric strategy based on personalized PageRank diffusion. It enhances GNNs by simulating real-world substructure omission, consistently boosting test accuracy across multiple benchmarks without architectural changes.
We present a new method to regularize graph neural networks (GNNs) for better generalization in graph classification. Observing that the omission of sub-structures does not necessarily change the class label of the whole graph, we develop the extbf{GraphCrop} (Subgraph Cropping) data augmentation method to simulate the real-world noise of sub-structure omission. In principle, GraphCrop utilizes a node-centric strategy to crop a contiguous subgraph from the original graph while maintaining its connectivity. By preserving the valid structure contexts for graph classification, we encourage GNNs to understand the content of graph structures in a global sense, rather than rely on a few key nodes or edges, which may not always be present. GraphCrop is parameter learning free and easy to implement within existing GNN-based graph classifiers. Qualitatively, GraphCrop expands the existing training set by generating novel and informative augmented graphs, which retain the original graph labels in most cases. Quantitatively, GraphCrop yields significant and consistent gains on multiple standard datasets, and thus enhances the popular GNNs to outperform the baseline methods.
Motivation & Objective
- To address overfitting in graph neural networks (GNNs) caused by high model complexity and limited data variance.
- To improve GNN generalization by simulating real-world substructure omission, a common form of data noise in graph datasets.
- To develop a simple, parameter-free data augmentation technique that preserves graph structure and class labels during training.
- To encourage GNNs to learn global structural representations rather than relying on a few critical nodes or edges.
- To enhance existing GNN models with minimal computational cost and no architectural modifications.
Proposed method
- GraphCrop selects a random initial node and retains nodes with strong connectivity to it, using personalized PageRank (PPR) as the connectivity metric.
- The method crops a contiguous subgraph by preserving nodes and edges that maintain topological integrity and structural context.
- Subgraph size is controlled by a hyperparameter ρ, which scales with the original graph size to allow for variable noise levels.
- Data augmentation is applied during training with probability p, where each graph is either kept unchanged or replaced by its cropped subgraph.
- Connectivity is measured via the diffusion matrix derived from random walks, ensuring robustness to partial subgraph loss.
- The approach is compatible with any GNN-based graph classifier and requires no additional learnable parameters.
Experimental results
Research questions
- RQ1Can subgraph cropping that simulates real-world substructure omission improve GNN generalization in graph classification?
- RQ2How does GraphCrop compare to uniform node or edge dropping methods like UniNode and DropEdge in preserving structural and label consistency?
- RQ3What impact do different connectivity metrics (e.g., PPR, heat diffusion, shortest path) have on the performance of GraphCrop?
- RQ4How sensitive is GraphCrop’s performance to hyperparameters p (augmentation probability) and ρ (subgraph size scaling)?
- RQ5Does GraphCrop enhance the representational capacity of GNNs by encouraging global structural understanding over local node dependencies?
Key findings
- GraphCrop achieves consistent and significant improvements in test accuracy across multiple standard graph classification datasets, including D&D, NCI109, and IMDB-B.
- On the NCI109 dataset, GraphCrop with PPR diffusion achieves 79.5% ± 2.2 test accuracy, outperforming UniNode (78.3%) and DropEdge (78.3%) by a clear margin.
- The ablation study shows that GraphCrop with PPR diffusion yields the best performance, while SP-based connectivity is less effective due to poor sensitivity to connectivity changes.
- Increasing the augmentation probability p from 0.1 to 0.5 improves test accuracy, demonstrating the value of diverse, valid augmented samples.
- t-SNE visualization confirms that augmented graphs' latent representations closely cluster around original graphs of the same class, indicating label preservation.
- Performance remains stable across a range of hyperparameter values, with degradation only observed at extreme settings of p and ρ.
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.