Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation

Huarui He, Jie Wang, Zhanqiu Zhang, Feng Wu
5/24/2022
cs.LGcs.AI
gnndistillation

Official code: MIRALab-USTC/GraphAKD (41 stars, Python, MIT, last commit 2022-10-18).

Abstract

Deep graph neural networks (GNNs) have been shown to be expressive for modeling graph-structured data. Nevertheless, the over-stacked architecture of deep graph models makes it difficult to deploy and rapidly test on mobile or embedded systems.

Show full abstract

To compress over-stacked GNNs, knowledge distillation via a teacher-student architecture turns out to be an effective technique, where the key step is to measure the discrepancy between teacher and student networks with predefined distance functions. However, using the same distance for graphs of various structures may be unfit, and the optimal distance formulation is hard to determine. To tackle these problems, we propose a novel Adversarial Knowledge Distillation framework for graph models named GraphAKD, which adversarially trains a discriminator and a generator to adaptively detect and decrease the discrepancy. Specifically, noticing that the well-captured inter-node and inter-class correlations favor the success of deep GNNs, we propose to criticize the inherited knowledge from node-level and class-level views with a trainable discriminator. The discriminator distinguishes between teacher knowledge and what the student inherits, while the student GNN works as a generator and aims to fool the discriminator. To our best knowledge, GraphAKD is the first to introduce adversarial training to knowledge distillation in graph domains. Experiments on node-level and graph-level classification benchmarks demonstrate that GraphAKD improves the student performance by a large margin. The results imply that GraphAKD can precisely transfer knowledge from a complicated teacher GNN to a compact student GNN.

View on arXivView PDF

Code Implementations(1)

MIT

The code of paper Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation. Huarui He, Jie Wang, Zhanqiu Zhang, Feng Wu. SIGKDD 2022.

413PythonMay 23, 20224 years agoMIT

Similar Papers

Cite this paper

@article{he2022compressing,
  title  = {Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation},
  author = {Huarui He and Jie Wang and Zhanqiu Zhang and Feng Wu},
  year   = {2022},
  eprint = {2205.11678},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11678}
}

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.11678.svg)](https://codeofpaper.com/paper/2205.11678)

Discussion