five

Graph Neural Network Inference Optimization Based on Adversarial Training and Contrastive Representation Distillation

收藏
中国科学数据2026-01-19 更新2026-04-25 收录
下载链接:
https://www.sciengine.com/AA/doi/10.19678/j.issn.1000-3428.0069996
下载链接
链接失效反馈
官方服务:
资源简介:
Graph Neural Network (GNN) excels in node classification tasks, but its message-passing mechanism causes neighbor-fetching latency, limiting deployment in latency-sensitive applications. Despite being less accurate than GNN in node classification tasks, Multi-Layer Perceptron (MLP) is preferred in practical industrial applications owing to its efficient inference. Given the complementary advantages and disadvantages of GNN and MLP, this paper proposes an optimized inference method for GNN based on adversarial training and contrastive representation distillation. This method aims to transfer the knowledge learned from a GNN teacher model to a more efficient MLP student model. This method uses the Fast Gradient Sign Method (FGSM) to generate feature perturbations and combines them with node content features as input for the student model. Adversarial training is conducted under the guidance of real labels and the teacher model's Softmax probability distribution to reduce the student model's sensitivity to node feature noise. The contrastive representation distillation module treats embeddings of the student and teacher models on the same node's output as positive sample pairs and embeddings of different nodes' outputs as negative sample pairs. By minimizing the distance between positive sample pairs and maximizing the distance between negative sample pairs, the student model can capture the relationships between node embeddings output by the teacher model, thereby preserving the global topological structure of GNN. Experiment results on public datasets demonstrate that, when using GraphSAGE as the teacher model, an MLP student model trained by this method achieves an inference speed that is 89 times that of GraphSAGE. Additionally, its accuracy improves by 14.12 and 2.02 percentage points on average compared to those of vanilla MLP and GraphSAGE, respectively, outperforming the two baseline methods.
创建时间:
2026-01-19
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作