Alignahead: Online Cross-Layer Knowledge Extraction on Graph Neural Networks

Jiongyu Guo, Defang Chen, Can Wang
5/5/2022
cs.LGcs.AI
gnndistillation

Official code: GuoJY-eatsTG/Alignahead (2 stars, Python, last commit 2022-05-04).

Abstract

Existing knowledge distillation methods on graph neural networks (GNNs) are almost offline, where the student model extracts knowledge from a powerful teacher model to improve its performance. However, a pre-trained teacher model is not always accessible due to training cost, privacy, etc.

Show full abstract

In this paper, we propose a novel online knowledge distillation framework to resolve this problem. Specifically, each student GNN model learns the extracted local structure from another simultaneously trained counterpart in an alternating training procedure. We further develop a cross-layer distillation strategy by aligning ahead one student layer with the layer in different depth of another student model, which theoretically makes the structure information spread over all layers. Experimental results on five datasets including PPI, Coauthor-CS/Physics and Amazon-Computer/Photo demonstrate that the student performance is consistently boosted in our collaborative training framework without the supervision of a pre-trained teacher model. In addition, we also find that our alignahead technique can accelerate the model convergence speed and its effectiveness can be generally improved by increasing the student numbers in training. Code is available: https://github.com/GuoJY-eatsTG/Alignahead

View on arXivView PDF

Code Implementations(1)

21PythonMay 3, 20224 years ago

Similar Papers

Cite this paper

@article{guo2022alignahead,
  title  = {Alignahead: Online Cross-Layer Knowledge Extraction on Graph Neural Networks},
  author = {Jiongyu Guo and Defang Chen and Can Wang},
  year   = {2022},
  eprint = {2205.02468},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.02468}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.02468.svg)](https://codeofpaper.com/paper/2205.02468)

Discussion