Abstract
Graphs, such as citation networks, social networks, and transportation networks, are prevalent in the real world. Graph Neural Networks (GNNs) have gained widespread attention for their robust expressiveness and exceptional performance in various graph applications. However, the efficacy of GNNs is heavily reliant on sufficient data labels and complex network models, with the former being difficult to obtain and the latter computationally costly. To address labeled data scarcity and high complexity, Knowledge Distillation (KD) has been introduced to enhance existing GNNs. This technique involves transferring the soft-label supervision of a large teacher model to a small student model while maintaining prediction performance. This survey offers a comprehensive overview of Graph-based Knowledge Distillation methods, systematically categorizing and summarizing them while discussing their limitations and future directions.
The Challenge of Graph Neural Networks
Graph Neural Networks (GNNs) have become the gold standard for analyzing non-Euclidean data like social networks and molecular structures. However, they face two major hurdles in real-world deployment:
- High Complexity: State-of-the-art GNNs are often too computationally expensive for edge devices.
- Label Scarcity: GNNs typically require a large amount of high-quality labeled data, which is often difficult or expensive to obtain.
While Knowledge Distillation (KD)—transferring "dark knowledge" from a large teacher model to a smaller student—has been successful in computer vision, applying it to graphs is non-trivial. Graphs are irregular, and the most valuable information often lies in the relationships between nodes rather than just individual node features. This paper formalizes how to distill these complex relational structures.
A Taxonomy of Graph-based Knowledge Distillation
The authors propose a hierarchical taxonomy of Graph-based KD, dividing the field into three main categories based on the model architecture:
- Graph-based KD for Deep Neural Networks (DKD): Using graph structures to improve standard models (like CNNs) by modeling the relationships between training samples as a graph.
- Graph-based KD for GNNs (GKD): Distilling knowledge from a large GNN teacher into a smaller GNN student.
- Self-Knowledge Distillation (SKD): A single model acts as both teacher and student, where deeper layers guide the learning of shallower layers without needing an external teacher.
Within these categories, methods are further distinguished by where the distillation occurs: the output layer (soft labels), the middle layer (feature embeddings), or a constructed graph (preserving the topology or similarity between nodes).
Distillation Mechanisms
The core of graph-based KD lies in capturing the "spatial geometry" or topology of the data. Unlike standard KD, which often focuses on point-wise predictions, graph-based methods ensure the student doesn't just learn what a node is, but how it relates to its neighbors.
As shown in the GKD framework, the student model can be supervised by the teacher at multiple levels. The "Constructed Graph" approach is particularly effective, as it involves building an auxiliary graph to represent sample similarities, allowing the student to mimic the teacher's internal understanding of the data structure.
Key Experimental Insights
- Performance Boosts: In node classification tasks, GKD methods consistently outperformed vanilla GNNs. For example, using the CPF (Collaborative Propagation) method, a GCN on the Cora dataset improved from 80.96% to 85.62% accuracy.
- Clustering Gains: Distillation significantly improved node clustering. Visualization (via t-SNE) showed that student models trained with KD produced much clearer category boundaries than those trained without it.
- Self-Distillation Efficiency: SKD is highlighted as a practical first choice for industry projects because it improves performance and training efficiency without the overhead of training a separate massive teacher model.
- DKD Bottleneck: For standard image tasks (DKD), performance gains have hit a bottleneck, suggesting that simply adding graph-based constraints to CNNs yields diminishing returns compared to GNN-specific distillation.
Limitations and Future Work
Despite recent progress, several challenges remain. There is currently no theoretical consensus on which layer is optimal for distillation, making the process largely trial-and-error. Furthermore, while KD improves accuracy, the mathematical reasons why a specific teacher's knowledge helps a student are still opaque. Future research should focus on more robust distance metrics for measuring teacher-student distribution gaps and exploring the integration of KD with Neural Architecture Search (NAS) and Federated Learning.
Summary updated