TL;DR
Graph Contrastive Learning (GCL) typically relies on randomly masking node features to create augmented views of a graph, but this uniform randomness can destroy critical information. This paper introduces Feature Based Adaptive Augmentation (FebAA), a plug-and-play module that identifies and preserves highly influential features while restricting masking to less important ones. By protecting critical data, FebAA significantly boosts the accuracy of state-of-the-art GCL models like GRACE and BGRL.
What Problem Does This Paper Address?
In self-supervised Graph Representation Learning, models are trained by comparing different "views" of the same graph. These views are generated through data augmentation—usually by randomly dropping edges or masking node features with zeros.
The problem is that most existing methods apply this masking uniformly across all features. However, in any given dataset, some features are highly predictive for downstream tasks, while others are essentially noise. If a stochastic augmentation function randomly masks a graph's most critical features, the resulting view loses its semantic meaning. This "vandalizes" the data, confusing the contrastive learning objective and ultimately degrading the model's accuracy.
Methods
The authors propose Feature Based Adaptive Augmentation (FebAA), a plug-and-play layer designed to replace standard uniform feature masking. It works in two main phases:
- Feature Selection (Pre-training): Before the main GCL training begins, FebAA ranks all node features by their importance. It does this by iteratively masking one feature at a time, training a lightweight model (BGRL for 150 epochs), and measuring the drop in performance. Features are then ranked based on how much their absence hurts the model.
- Feature Masking (Training): Based on the rankings, features are split into two subsets: Preserved Features (which remain completely untouched) and Candidate Features (which are eligible for masking). During the actual contrastive training, noise is applied only to the Candidate features using a Bernoulli distribution.
The authors test two variants: FebAA$_{in}$ (which uses the influential ranking algorithm to pick candidates) and FebAA$_{rn}$ (which skips the ranking and just picks a random subset of features to act as candidates). FebAA is applied to one of the two contrastive views, while standard stochastic augmentation is applied to the other.
Datasets
The authors evaluated their method on eight standard small-to-medium benchmark datasets for transductive node classification. No new datasets were introduced.
- Citation Networks: Cora, CiteSeer
- Co-purchase Networks: Amazon Computer, Amazon Photos
- Co-author Networks: Coauthor CS, Coauthor Physics
- Others: WikiCS, Actor
Key Insights and Ideas
- Not all features are created equal: The core hypothesis holds true—selectively preserving influential features yields significantly better graph representations than treating all features as equally disposable.
- Subset masking beats global masking: Surprisingly, even the random variant (FebAA$_{rn}$) outperformed standard global random masking. This suggests that simply limiting the scope of corruption to a subset of features helps preserve overall graph semantics better than scattering noise across the entire feature matrix.
- Asymmetric augmentation is necessary: The authors attempted to apply FebAA to both contrastive views but found it resulted in lower accuracy. Applying adaptive augmentation to both views reduces the diversity between them, making the contrastive task too easy. A hybrid approach—one adaptive view, one randomly corrupted view—strikes the perfect balance.
Key Results
FebAA was integrated into two state-of-the-art GCL baselines: GRACE and BGRL.
- With GRACE: FebAA achieved massive improvements on citation networks. F1 accuracy jumped from 83.3% to 87.00% on Cora, and from 72.1% to 76.26% on CiteSeer.
- With BGRL: FebAA achieved new state-of-the-art results across all five tested datasets (WikiCS, Am.Comp, Am.Photo, Co.CS, Co.Phy), showing consistent absolute improvements ranging from +0.20% to +1.02% over the baseline.
- Ablation: Experiments confirmed that combining FebAA (for node features) with standard uniform edge dropping yields the best overall performance, proving that hybrid (feature + topology) augmentation remains optimal.
Limitations and Future Work
- Computational Complexity: Finding influential features requires a pre-training loop that scales with the number of features in the dataset ($O(Features \times Epochs \times Runs)$). This makes the pre-training phase highly resource-intensive for feature-rich datasets. (To mitigate this, the authors open-sourced the ranked feature lists for all 8 datasets).
- Limited Scope: FebAA currently only applies to node features. It does not adaptively select which edges to drop or which nodes to perturb.
- Future Directions: The authors plan to extend this adaptive methodology to edge and node-level augmentations. They also note that hyperparameter sensitivity (like the ratio of preserved vs. candidate features) varies heavily by dataset and requires further automated analysis.
Summary updated