Better with Less: A Data-Active Perspective on Pre-Training Graph Neural Networks

Jiarong Xu, Renhong Huang, Xin Jiang, Yuxuan Cao, Carl Yang, Chunping Wang

Abstract

In the field of Graph Neural Networks (GNNs), the prevailing scaling law suggests that larger datasets inevitably lead to better generalization. This paper challenges this assumption by identifying the "curse of big data" in graph pre-training, where the inclusion of redundant or irrelevant unlabeled graphs can actually degrade downstream performance. To address this, we introduce APT (Data-Active Graph Pre-training), a framework that selectively trains on the most instructive data points. By combining structural informativeness with predictive uncertainty, APT achieves state-of-the-art results using only 25% of available data, resulting in a 2.2x training speedup.

1. Introduction

Pre-training has revolutionized Computer Vision (CV) and Natural Language Processing (NLP) by leveraging massive datasets to build robust representations. However, applying this "more is better" philosophy to GNNs has proven problematic. Unlike the relatively uniform structure of images or text, graphs are highly diverse and domain-specific. This paper investigates why scaling up graph datasets often leads to a performance plateau or even a decline in accuracy—a phenomenon the authors term the "curse of big data."

2. The Curse of Big Data in GNNs

The authors observe that as the number of training samples or datasets increases, the standard deviation of performance spikes while average performance often drops. This suggests that irrelevant or redundant data "pollutes" the learned representations. The core challenge for pre-training is identifying which unlabeled graphs are worth training on before the downstream task is even known. Without a mechanism to filter out low-quality data, the model's capacity is wasted on noise, hindering its ability to generalize to specific downstream applications.

3. The APT Framework

The proposed APT (Data-Active Graph Pre-training) framework treats pre-training as an iterative, data-active process. It consists of two co-evolving components: a Graph Selector and a Pre-training Model.

3.1 The Graph Selector

Instead of a static batch process, the Graph Selector identifies instructive data based on three criteria:

  • Predictive Uncertainty: The selector uses the model's own contrastive loss (InfoNCE) as a proxy for uncertainty. If the model struggles to distinguish between similar and dissimilar instances in the representation space, that data is deemed highly instructive.
  • Graph Properties: The selector favors graphs with high "informativeness" based on five structural metrics: network entropy, density, average degree, degree variance, and scale-free exponent. The authors theoretically prove that Network Entropy—a measure of information in a graph's degree distribution—serves as a lower bound for how much a model can learn from a graph.
  • Time-Adaptive Strategy: Early in training, the selector relies on structural properties because the immature model cannot yet provide reliable uncertainty scores. As the model matures, the focus shifts toward predictive uncertainty.

3.2 The Pre-training Model

To prevent the model from forgetting previously learned information while adapting to new, uncertain data, APT incorporates a proximal term (regularization). This technique, adapted from continual learning, penalizes the model if its new parameters drift too far from the parameters learned in previous iterations, ensuring stable and cumulative learning.

4. Experimental Evaluation

The authors conducted an extensive evaluation using 11 pre-training datasets (including citation, social, and movie networks) and 13 downstream evaluation tasks across node and graph classification.

4.1 Performance and Efficiency

APT demonstrates that "less is more." By selecting only approximately 25% of the available samples, the framework outperformed models trained on the full 100% of the data. On node classification tasks, APT outperformed the state-of-the-art (GCC) by an average of 9.94% in "freezing" mode and 17.83% in "fine-tuning" mode. Furthermore, by ignoring redundant data, APT achieved a 2.2x speedup in training time.

4.2 Robustness and Transferability

The framework proved effective even when the backbone model was swapped (e.g., GraphCL or JOAO), suggesting that the data-active philosophy is model-agnostic. Cross-domain testing also confirmed that APT improves transferability, even when pre-training on social networks and testing on protein or traffic networks.

5. Discussion and Limitations

While APT offers significant gains, its current uncertainty measure is tied to contrastive learning objectives. Adapting this to generative pre-training (such as graph reconstruction) would require a different uncertainty metric. Additionally, the proximal term weight ($\lambda$) is a critical hyperparameter that currently requires manual tuning, though a self-adjusting $\lambda$ is a potential area for future work. Finally, APT is most effective when downstream labels correlate with structural patterns; its benefits may be diminished in graphs where labels are purely based on node features rather than topology.

6. Conclusion

APT challenges the traditional scaling laws of GNN pre-training. By shifting the focus from data quantity to data quality through an active selection process, the framework achieves superior performance with significantly lower computational costs. This "data-active" perspective provides a new roadmap for building efficient and robust foundation models for graph-structured data.

Summary updated

BibTeX
@inproceedings{xu2023better,
  author = {Jiarong Xu and Renhong Huang and XIN JIANG and Yuxuan Cao and Carl Yang and Chunping Wang and Yang Yang},
  title = {{Better with Less: A Data-Active Perspective on Pre-Training Graph Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=m2WR1yJ8N9},
}
Figure