TL;DR
Graph Neural Networks (GNNs) often suffer from "prediction churn," where models with identical architectures and training data disagree on individual predictions due to different random initializations. This paper introduces Influence Difference (ID) to quantify how much two models diverge in the neighbor nodes they rely on, and proposes DropDistillation (DD)—a simple yet effective edge-dropping technique—to align a student model's reasoning with its teacher, significantly reducing churn while boosting accuracy.
What Problem Does This Paper Address?
Imagine retraining a machine learning model on the exact same data, with the exact same hyperparameters, only to find it now misclassifies a bunch of samples it previously got right. This inconsistency is called prediction churn.
In Graph Neural Networks (GNNs) used for node classification, prediction churn is particularly rampant. When large portions of correctly classified data flip labels upon retraining, it severely undermines the model's reliability, trustworthiness, and explainability in production environments. The authors investigate the root cause of this phenomenon, discovering that even when two GNNs achieve similar overall accuracy, they often base their predictions on completely different sets of neighboring nodes (features).
Methods
The authors tackle prediction churn through the lens of Knowledge Distillation (KD), where a compact "student" model is trained to mimic a high-capacity "teacher" model.
- Influence Difference (ID): The authors propose a novel metric to quantify the difference in decision-making between two models. ID calculates the gradients of output logits with respect to input features to build an "influence distribution" over a node's local neighborhood. It then uses Symmetric Mean Absolute Percentage Error (SMAPE) to measure how much two models diverge in their reliance on specific neighbors.
- DropDistillation (DD): Directly minimizing ID during training is computationally impossible for large graphs because it requires calculating massive Jacobian matrices. To bypass this, the authors introduce DropDistillation. During training, random edges are deleted uniformly from the graph input for both the teacher and student models. By forcing the student to match the teacher's output logits on these perturbed graphs, the student implicitly learns to mimic the teacher's underlying feature influence distribution without explicit gradient matching.
Datasets
The authors evaluated their approach on six standard node classification benchmarks:
- Transductive datasets: Citeseer, Photo, WikiCS, Computers, and Physics. In these datasets, the graph is fixed, and the model predicts labels for a subset of unseen test nodes.
- Inductive dataset: PPI (Protein-Protein Interaction), which requires the model to generalize and make multi-class predictions across entirely unseen graphs.
Key Insights and Ideas
- Churn is a symptom of divergent reasoning: Low prediction churn does not mean two models are identical. The authors prove that two models can output the exact same predictions (zero churn) yet still possess a high Influence Difference, meaning they arrived at the same answers for entirely different reasons.
- Stable nodes aren't "smarter," they just have backups: Surprisingly, nodes that maintain stable predictions across different model initializations show a similar Influence Difference to unstable nodes. The defining characteristic of stable nodes is feature redundancy. They typically have a higher proportion of neighbors sharing the same label (low entropy), allowing them to maintain the correct prediction even when a retrained model shifts its focus to a different set of neighbors.
- Edge dropping acts as a gradient proxy: Mathematically, matching model outputs under random edge deletions acts as a first-order Taylor approximation of Jacobian matching. This allows DD to align the models' internal reasoning pathways efficiently.
Key Results
- Substantial Feature Divergence: Before distillation, models trained with different random seeds showed an average relative change in feature influence of at least 48.8%, confirming that standard training fails to enforce consistent decision rules.
- Superior Accuracy: DropDistillation outperformed standard KD and Graph Contrastive Representation Distillation (G-CRD) across all datasets. For example, on the Computers dataset, DD achieved 80.0% accuracy, compared to 65.2% for a vanilla student and 67.5% for standard KD.
- Drastic Churn Reduction: DD successfully aligned student models with their teachers. On the Computers dataset, prediction churn dropped to 19.1%, a massive improvement over the 32.1% churn seen in standard KD.
Limitations and Future Work
- Expressiveness Mismatch: When the student model's architecture is significantly less expressive than the teacher's (e.g., using a simple GCN student to distill a complex GAT teacher), matching the influence distribution becomes difficult, and DD's effectiveness slightly degrades on certain datasets.
- Tighter Approximations: While DropDistillation works well as a first-order approximation, future work could explore tighter, more explicit approximations of the influence distribution that remain computationally lightweight.
Summary updated