GraTeD-MLP: Efficient Node Classification via Graph Transformer Distillation to MLP
Abstract
Graph Transformers (GTs) like NAGphormer have shown impressive performance by encoding graph’s structural information and node features. However, their self-attention and complex architectures require high computation and memory, hindering their deployment. Thus, we propose a novel framework called Graph Transformer Distillation to Multi-Layer Perceptron (GraTeD-MLP). GraTeD-MLP leverages knowledge distillation (KD) and a novel decomposition of attentional representation to distill the learned representations from the teacher GT to a student MLP. During distillation, we incorporate a gated MLP architecture where two branches learn the decomposed attentional representation for a node while the third predicts node embeddings. Encoding the attentional representation mitigates the MLP’s over-reliance on node features, enabling robust performance even in inductive settings. Empirical results demonstrate that the proposed GraTeD-MLP has significantly faster inference time than the teacher GT model, with speed-up ranging from 20×−40×. With up to 25% improved performance over vanilla MLP. Furthermore, we empirically show that the proposed GraTeD-MLP outperforms other GNN distillation methods in seven datasets in both inductive and transductive settings
BibTeX
@inproceedings{malik2024grated,
author = {Sarthak Malik and Aditi Rai and Ram Ganesh V and Himank Sehgal and Akshay Sethi and Aakarsh Malhotra},
title = {{GraTeD-MLP: Efficient Node Classification via Graph Transformer Distillation to MLP}},
booktitle = {LoG},
year = {2024},
url = {https://openreview.net/forum?id=OSPc92gD7k},
}Ask Althea to put this paper to the test.
Loading related content...