KDD 2022

Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation

Huarui He, Jie Wang, Zhanqiu Zhang, Feng Wu

Main figure for Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation

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. 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.

Proposed method: GraphAKD

Benchmark Results

Tested on 4 datasets Non-standard metric on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

Classic

Reddit

Global leaderboard →

Default metric is F1. The paper reports 2 values on F1 and 2 values on F1-micro .

#ModelF1 ↑ defaultF1-micro ↑Paper
1
EnGCN
0.9714 ± 0.0003
—
2
SAGN+SLE
0.9710 ± 0.0000
—
3
GAMLP(JK)
0.9704 ± 0.0001
—
14
GraphSAGE
0.9660
—
63
GraphAKD
—
0.9515 ± 0.0002
F1-micro 0.9515 ± 0.0002
This paper
72
FitNet
0.9499
—
F1-micro —
This paper
58
GCN
—
0.9412 ± 0.0004
F1-micro 0.9412 ± 0.0004
This paper
84
KD
0.9401
—
F1-micro —
This paper

OGB

ogbn-products

Global leaderboard →
Non-default metric. This paper reports F1-micro; the dataset default is Accuracy. Values below use F1-micro only.

Sorted by F1-micro. Highlighted rows are from other papers.

#ModelF1-micro ↑Paper
1
GraphAKD
0.8145 ±0.0047
This paper
2
KD
0.7919
This paper
3
FitNet
0.7657
This paper
4
Cluster-GCN
0.7621
This paper
5
LSP
0.7086
This paper
#ModelROC-AUC ↑Paper
1
Multi-RF Fusion with Multi-GNN Blending
0.8476 ±0.0002
2
HyperFusion
0.8475 ±0.0003
3
PAS+FPs
0.8420 ±0.0015
9
GatedGCN
0.8090 ±0.0160
43
GraphAKD
0.7946 ±0.0097
This paper
63
FitNet
0.7905 ±0.0096
This paper
109
GIN
0.7780 ±0.0182
240
KD
0.7498 ±0.0109
This paper
#ModelAP ↑Paper
1
GRPE-Large
0.3150 ±0.0010
2
Graphormer
0.3140
3
Graphormer-FLAG
0.3139 ±0.0032
31
GIN
0.2902 ±0.0017
70
GraphAKD
0.2585 ±0.0017
This paper
94
KD
0.2135 ±0.0042
This paper
96
FitNet
0.2125 ±0.0091
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)