Online Adversarial Knowledge Distillation for Graph Neural Networks
Can Wang, Zhe Wang, Defang Chen, Sheng Zhou, Yan Feng, Chun Chen
TL;DR
This work tackles the challenge that traditional knowledge distillation struggles for Graph Neural Networks when graph topology and node attributes evolve, causing distribution shift between teacher and student. It proposes Online Adversarial Knowledge Distillation (OAD), a group-based online framework that distills local knowledge via adversarial cyclic learning and global knowledge via ensemble peer predictions. The approach yields a lightweight, scalable training scheme with complexity that scales linearly with the number of peers and demonstrates improvements across transductive, inductive, and 3D object recognition tasks, as well as dynamic graphs. The work provides empirical evidence that mutual learning among multiple GNNs can approximate a dynamic virtual teacher, reducing the need for retraining heavy teachers and enabling robust distillation in changing graph environments.
Abstract
Knowledge distillation, a technique recently gaining popularity for enhancing model generalization in Convolutional Neural Networks (CNNs), operates under the assumption that both teacher and student models are trained on identical data distributions. However, its effect on Graph Neural Networks (GNNs) is less than satisfactory since the graph topology and node attributes are prone to evolve, thereby leading to the issue of distribution shift. In this paper, we tackle this challenge by simultaneously training a group of graph neural networks in an online distillation fashion, where the group knowledge plays a role as a dynamic virtual teacher and the structure changes in graph neural networks are effectively captured. To improve the distillation performance, two types of knowledge are transferred among the students to enhance each other: local knowledge reflecting information in the graph topology and node attributes, and global knowledge reflecting the prediction over classes. We transfer the global knowledge with KL-divergence as the vanilla knowledge distillation does, while exploiting the complicated structure of the local knowledge with an efficient adversarial cyclic learning framework. Extensive experiments verified the effectiveness of our proposed online adversarial distillation approach. The code is published at https://github.com/wangz3066/OnlineDistillGCN.
