Knowledge Distillation on Graphs: A Survey

Yijun Tian, Shichao Pei, Xiangliang Zhang, Chuxu Zhang, Nitesh V. Chawla

TL;DR

This paper surveys the burgeoning field of Knowledge Distillation on Graphs (KDG), a technique for creating smaller, more efficient Graph Neural Networks (GNNs) by transferring knowledge from larger, more complex models. It systematically categorizes existing KDG methods and identifies key challenges and future research directions in this rapidly evolving area.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) have shown remarkable success in modeling complex relational data across various domains. However, their large model sizes and computational demands pose significant challenges for deployment on resource-limited devices and scalability to massive real-world graphs. Knowledge Distillation (KD), a technique proven effective for compressing models in other domains like computer vision and natural language processing, offers a promising solution. This paper addresses the need for a comprehensive understanding and systematic review of how KD is being adapted and applied to the unique challenges of graph-structured data, a field known as Knowledge Distillation on Graphs (KDG).

Methods

The survey categorizes KDG methods based on three fundamental questions:

  • What to Distill:
    • Logits: The raw outputs before the final activation function, used to mimic the teacher's probability distributions.
  • Structures: Information about the graph's topology, such as node neighborhoods or relationships, to help the student learn structural patterns.
  • Embeddings: Learned representations of nodes or entire graphs from intermediate layers of the teacher model, guiding the student's learning process.
  • Who to Whom:
    • Teacher-free: Self-distillation where a student model learns from itself, often by distilling knowledge between different layers or versions of the same model.
  • Teacher-to-Student: The standard paradigm where knowledge is transferred from one or more pre-trained teacher models to a student model. This includes variations with single or multiple teachers and different structural configurations for teachers and students (e.g., GNN to GNN, GNN to MLP).
  • How to Distillate:
    • Direct: Minimizing the divergence between teacher and student knowledge directly.
  • Adaptive: Dynamically adjusting the distillation process based on the significance or reliability of the knowledge.
  • Customized: Employing more advanced machine learning techniques like adversarial learning or contrastive learning for distillation.

The paper also discusses the impact of factors like the number of teachers, model structures, and distillation schemes (offline vs. online).

Datasets

The paper does not focus on introducing new datasets but rather discusses how KDG methods are applied to existing benchmark datasets for various graph learning tasks. These include:

  • Node Classification: Cora, CiteSeer, PubMed.
  • Graph Classification: PROTEINS, Molhiv.
  • Link Prediction: Datasets commonly used for node classification.

The paper also mentions applications on text and image data where graphs are constructed from the data.

Key Insights and Ideas

  • KDG is a Multifaceted Problem: The survey highlights that KDG is not a one-size-fits-all solution. The choice of what knowledge to distill, the teacher-student relationship, and the distillation algorithm all significantly impact performance and efficiency.
  • Beyond Logits: While distilling logits is common, distilling graph structures and embeddings offers richer ways to transfer complex topological and relational information, crucial for GNNs.
  • Teacher-free Distillation is Emerging: The concept of self-distillation (teacher-free) is gaining traction as a way to improve models without relying on external, potentially complex, teacher models.
  • MLP Students Offer Scalability: Using simpler models like MLPs as students is a key strategy for achieving significant compression and efficiency gains, especially for deployment on resource-constrained devices.
  • Trade-offs in Multiple Teachers: While multiple teachers can provide more comprehensive knowledge, they also introduce the risk of noisy or conflicting information, requiring careful aggregation strategies.

Key Results

The paper is a survey, not an empirical study, so it doesn't present new quantitative results. Instead, it synthesizes findings from numerous existing works. The key takeaway is that KDG methods have demonstrated success in:

  • Model Compression: Enabling the training of smaller, more efficient GNNs that maintain comparable performance to larger teacher models.
  • Performance Improvement: Enhancing the capabilities of student models, even when they have similar or different structures to the teacher, by leveraging transferred knowledge.
  • Broad Applicability: KDG has been successfully applied to various graph learning tasks (node classification, graph classification, link prediction) and extended to domains like natural language processing and computer vision by constructing graph representations.

Limitations and Future Work

The authors identify several promising future research directions:

  • Explainability: Current KDG methods often lack transparency. Developing explainable KDG methods is crucial for building user trust and understanding why certain distillation strategies work.
  • Transferability: Student models often acquire domain-specific knowledge. Research is needed to determine and distill transferable common knowledge that benefits a wider range of downstream applications.
  • Theoretical Framework: A solid theoretical foundation for KDG is lacking, which is essential for guiding future method development and comprehension.
  • Applicability to Diverse Graphs: Most KDG research focuses on homogeneous graphs. Extending KDG to heterogeneous, temporal, and other complex graph types is a significant area for exploration.
  • Graph Distillation: Beyond distilling knowledge from GNNs, distilling knowledge of graph structures themselves (e.g., synthesizing small, representative graphs) is a promising avenue.

Summary updated

BibTeX
@article{tian2023knowledge,
  author = {Yijun Tian and Shichao Pei and Xiangliang Zhang and Chuxu Zhang and Nitesh V. Chawla},
  title = {{Knowledge Distillation on Graphs: A Survey}},
  journal = {ACM Computing Surveys},
  year = {2023},
  url = {https://openreview.net/forum?id=Li6iu8yUBl},
}
Figure