Nonparametric Teaching for Graph Property Learners

Chen Zhang, Weixin Bu, Zeyi Ren, Zhengwu Liu, Yik Chung Wu, Ngai Wong

Introduction

Graph-structured data is ubiquitous, representing everything from social networks to complex molecular structures. To predict properties like molecular solubility or node categories, researchers typically rely on Graph Convolutional Networks (GCNs). However, as graphs grow in size and complexity, the computational cost of training these models through standard gradient descent becomes a significant bottleneck.

While "machine teaching" exists to optimize training sets by selecting the most informative examples, most current methods assume the target function is parametric (having a fixed set of parameters). Graph properties, however, are often "nonparametric"—implicitly defined by the data itself. Furthermore, previous teaching methods have largely ignored the unique structural information (the edges) inherent in graphs, focusing only on raw node features.

To bridge this gap, researchers have introduced GraNT (Graph Neural Teaching), a novel framework that uses nonparametric teaching theory to intelligently select the most informative training examples. By doing so, GraNT slashes training times by up to 47% without sacrificing model accuracy.

The GraNT Framework

The core innovation of GraNT is treating the GCN training process through the lens of functional gradient descent.

Theoretical Bridge

The authors analytically prove that updating a GCN's parameters is mathematically consistent with performing functional gradient descent in a Reproducing Kernel Hilbert Space (RKHS). They demonstrate that the Graph Neural Tangent Kernel (GNTK)—which describes how GCN outputs change during training—converges to a structure-aware canonical kernel. This consistency is a crucial "aha moment," as it theoretically justifies using greedy selection algorithms for complex graph learners.

The "Teacher" Strategy

Based on this theoretical foundation, the researchers designed a "teacher" algorithm that selects training examples (graphs or nodes) to maximize the functional gradient. In practical terms, the teacher selects examples where the discrepancy between the current GCN output and the true property value is the largest. By selecting examples with the highest error, the teacher essentially picks the "steepest" parts of the functional landscape, leading to much faster convergence.

An illustration of the implicit mapping between a graph and its property. GraNT helps the learner reach the target function more efficiently.

Flexible GCN Architecture

To ensure the mathematics hold up in practice, the framework utilizes a "flexible GCN" architecture. This design handles different convolutional orders independently, ensuring that parameter gradients are scalable and independent of the input graph size. The authors implemented two versions of the teaching strategy: GraNT (B), which selects the most informative batches, and GraNT (S), which selects the most informative individual graphs within those batches.

Experimental Results

GraNT was evaluated across several large-scale benchmarks, including graph-level regression (QM9, ZINC), graph-level classification (ogbg-molhiv, ogbg-molpcba), and node-level tasks on synthetic datasets generated using graphons.

The framework delivered massive efficiency gains across the board while maintaining, and sometimes slightly improving, generalization performance:

  • Graph-level Regression: 36.62% reduction in training time (ZINC).
  • Graph-level Classification: 38.19% reduction in training time (ogbg-molpcba).
  • Node-level Regression: 30.97% reduction in training time.
  • Node-level Classification: 47.30% reduction in training time.

On the ZINC dataset, GraNT achieved a comparable Mean Absolute Error (MAE) in roughly two-thirds of the time required by standard training. Similarly, on the ogbg-molhiv dataset, it achieved a higher ROC-AUC score while finishing significantly faster.

Validation performance on ogbg-molhiv. GraNT reaches lower loss and higher accuracy much faster than standard training.

Conclusion and Future Work

GraNT successfully demonstrates that teaching a GCN is theoretically consistent with teaching a structure-aware nonparametric learner, paving the way for highly efficient graph model training.

While highly effective, the current study focuses primarily on GCNs. Future work will need to investigate how GraNT performs with other popular architectures, such as Graph Attention Networks (GATs). Additionally, while the theoretical bridge is robust, the "greedy" selection process adds a small computational overhead per epoch. However, the drastic reduction in the total number of required iterations far outweighs this cost. Applying GraNT to real-world problems in protein research and molecular biology represents a promising next step for this research.

Summary updated

BibTeX
@inproceedings{zhang2025nonparametric,
  author = {Chen Zhang and Weixin Bu and Zeyi Ren and Zhengwu Liu and Yik Chung WU and Ngai Wong},
  title = {{Nonparametric Teaching for Graph Property Learners}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=wbvshlfyB0},
}
Figure