Table of Contents
Fetching ...

InfGraND: An Influence-Guided GNN-to-MLP Knowledge Distillation

Amir Eskandari, Aman Anand, Elyas Rashno, Farhana Zulkernine

TL;DR

InfGraND tackles the efficiency gap in graph learning by distilling a GNN teacher into an MLP student guided by graph-informed node influence. It computes a graph-centric influence metric, performs a one-time multi-hop feature propagation to enrich inputs, and uses an influence-weighted distillation objective to transfer structural knowledge efficiently. Across seven paralleled datasets and both transductive and inductive settings, InfGraND consistently outperforms prior GNN-to-MLP distillation methods and, in many cases, the teacher itself, while delivering strong latency advantages for deployment. The approach demonstrates practical scalability and opens directions for extending to heterophilic and dynamic graphs, as well as combining structure-aware and uncertainty-based signals in distillation.

Abstract

Graph Neural Networks (GNNs) are the go-to model for graph data analysis. However, GNNs rely on two key operations - aggregation and update, which can pose challenges for low-latency inference tasks or resource-constrained scenarios. Simple Multi-Layer Perceptrons (MLPs) offer a computationally efficient alternative. Yet, training an MLP in a supervised setting often leads to suboptimal performance. Knowledge Distillation (KD) from a GNN teacher to an MLP student has emerged to bridge this gap. However, most KD methods either transfer knowledge uniformly across all nodes or rely on graph-agnostic indicators such as prediction uncertainty. We argue this overlooks a more fundamental, graph-centric inquiry: "How important is a node to the structure of the graph?" We introduce a framework, InfGraND, an Influence-guided Graph KNowledge Distillation from GNN to MLP that addresses this by identifying and prioritizing structurally influential nodes to guide the distillation process, ensuring that the MLP learns from the most critical parts of the graph. Additionally, InfGraND embeds structural awareness in MLPs through one-time multi-hop neighborhood feature pre-computation, which enriches the student MLP's input and thus avoids inference-time overhead. Our rigorous evaluation in transductive and inductive settings across seven homophilic graph benchmark datasets shows InfGraND consistently outperforms prior GNN to MLP KD methods, demonstrating its practicality for numerous latency-critical applications in real-world settings.

InfGraND: An Influence-Guided GNN-to-MLP Knowledge Distillation

TL;DR

InfGraND tackles the efficiency gap in graph learning by distilling a GNN teacher into an MLP student guided by graph-informed node influence. It computes a graph-centric influence metric, performs a one-time multi-hop feature propagation to enrich inputs, and uses an influence-weighted distillation objective to transfer structural knowledge efficiently. Across seven paralleled datasets and both transductive and inductive settings, InfGraND consistently outperforms prior GNN-to-MLP distillation methods and, in many cases, the teacher itself, while delivering strong latency advantages for deployment. The approach demonstrates practical scalability and opens directions for extending to heterophilic and dynamic graphs, as well as combining structure-aware and uncertainty-based signals in distillation.

Abstract

Graph Neural Networks (GNNs) are the go-to model for graph data analysis. However, GNNs rely on two key operations - aggregation and update, which can pose challenges for low-latency inference tasks or resource-constrained scenarios. Simple Multi-Layer Perceptrons (MLPs) offer a computationally efficient alternative. Yet, training an MLP in a supervised setting often leads to suboptimal performance. Knowledge Distillation (KD) from a GNN teacher to an MLP student has emerged to bridge this gap. However, most KD methods either transfer knowledge uniformly across all nodes or rely on graph-agnostic indicators such as prediction uncertainty. We argue this overlooks a more fundamental, graph-centric inquiry: "How important is a node to the structure of the graph?" We introduce a framework, InfGraND, an Influence-guided Graph KNowledge Distillation from GNN to MLP that addresses this by identifying and prioritizing structurally influential nodes to guide the distillation process, ensuring that the MLP learns from the most critical parts of the graph. Additionally, InfGraND embeds structural awareness in MLPs through one-time multi-hop neighborhood feature pre-computation, which enriches the student MLP's input and thus avoids inference-time overhead. Our rigorous evaluation in transductive and inductive settings across seven homophilic graph benchmark datasets shows InfGraND consistently outperforms prior GNN to MLP KD methods, demonstrating its practicality for numerous latency-critical applications in real-world settings.
Paper Structure (29 sections, 25 equations, 9 figures, 9 tables, 1 algorithm)

This paper contains 29 sections, 25 equations, 9 figures, 9 tables, 1 algorithm.

Figures (9)

  • Figure 1: Overview of Influence-Guided Distillation. Our method uses node structural influence to weight the knowledge transfer, ensuring that the student learns local structure from its most important neighbors.
  • Figure 2: Test set classification accuracy of three GNN models (GCN, GAT, GraphSAGE) when trained on a subset of high-influence vs. low-influence nodes across different datasets (Cora, Citeseer, PubMed). Error bars represent standard deviation over five runs.
  • Figure 3: Transductive and inductive results on OGBN-Arxiv with a SAGE teacher. Zoomed-in views highlight the superior performance of InfGraND.
  • Figure 4: Trade-off between model accuracy and inference time on the Citeseer dataset. The x-axis shows inference time in milliseconds (log scale), and the y-axis shows classification accuracy.
  • Figure 5: Accuracy comparison between InfGraND and GLNN under different proportions of labeled training samples (10%, 20%, 40%) on Cora, Citeseer, and PubMed, using GraphSAGE as the teacher model.
  • ...and 4 more figures

Theorems & Definitions (2)

  • Definition 4.1: Quantifying Node Influence
  • Definition 4.2: Global Influence Score