[Paper Review] Distilling Self-Knowledge From Contrastive Links to Classify Graph Nodes Without Passing Messages
This paper proposes LinkDist, a method to classify graph nodes without message passing by distilling self-knowledge from connected node pairs into a Multi-Layer Perceptron (MLP). By enforcing consistent predictions between a node and its neighbors through contrastive learning, LinkDist achieves GNN-level accuracy in semi- and full-supervised node classification while being faster and more memory-efficient.
Nowadays, Graph Neural Networks (GNNs) following the Message Passing paradigm become the dominant way to learn on graphic data. Models in this paradigm have to spend extra space to look up adjacent nodes with adjacency matrices and extra time to aggregate multiple messages from adjacent nodes. To address this issue, we develop a method called LinkDist that distils self-knowledge from connected node pairs into a Multi-Layer Perceptron (MLP) without the need to aggregate messages. Experiment with 8 real-world datasets shows the MLP derived from LinkDist can predict the label of a node without knowing its adjacencies but achieve comparable accuracy against GNNs in the contexts of semi- and full-supervised node classification. Moreover, LinkDist benefits from its Non-Message Passing paradigm that we can also distil self-knowledge from arbitrarily sampled node pairs in a contrastive way to further boost the performance of LinkDist.
Motivation & Objective
- Address the computational and memory overhead of message passing in Graph Neural Networks (GNNs), which require adjacency matrices and message aggregation.
- Overcome the limitations of knowledge distillation in dynamic graphs, where retraining is needed when edges or nodes change.
- Develop a lightweight, fast, and deployable model that maintains high accuracy without relying on neighbor information during inference.
- Explore whether structural knowledge from node connectivity can be distilled into simple models like MLPs without message passing.
- Enable efficient inductive node classification by training on edge-level pairs rather than full graph structures.
Proposed method
- Train a shared MLP head to predict node labels for both a central node and its neighbor, enforcing prediction consistency via knowledge distillation.
- Use a contrastive loss to maximize agreement between predictions of connected nodes while minimizing agreement between randomly sampled node pairs.
- Distill self-knowledge by optimizing the model to produce similar predictions for a node and its adjacent node, even without explicit message passing.
- Decompose the training process into mini-batches of edges, reducing memory usage and enabling scalability on large graphs.
- Train in a non-message-passing mode by removing the need to store or access neighbor features during inference, relying only on the central node’s features.
- Introduce a contrastive variant (CoLinkDist) that further improves performance by explicitly pushing apart predictions on randomly sampled node pairs.
Experimental results
Research questions
- RQ1Can structural knowledge from node connectivity be effectively distilled into a simple MLP without message passing?
- RQ2Can a non-message-passing model achieve comparable accuracy to GNNs in semi- and full-supervised node classification tasks?
- RQ3Does contrastive learning over node pairs improve the performance of distilled MLPs compared to standard distillation?
- RQ4Can LinkDist maintain high accuracy when new nodes or edges are introduced, without reprocessing the entire graph?
- RQ5How does the performance of LinkDist compare to knowledge distillation from GCN to MLP (GCN2MLP) in inductive and transductive settings?
Key findings
- LinkDistMLP achieves state-of-the-art performance among non-message-passing models, outperforming standard MLPs by large margins on all 8 real-world datasets.
- On the Cora dataset, LinkDistMLP reaches 87.58% accuracy in full-supervised learning, surpassing the GCN2MLP (75.95%) and approaching GCN (86.03%) accuracy.
- In the inductive setting, LinkDistMLP achieves 87.58% on Cora, outperforming GCN2MLP (75.95%) and showing that distilled structural knowledge enhances generalization.
- The contrastive variant CoLinkDistMLP further improves performance, achieving 95.74% on Coauthor-CS and 97.05% on Coauthor-Physics, exceeding even GCN in some cases.
- LinkDist in message-passing mode (LinkDist) achieves 88.24% on Cora, matching or exceeding GCN accuracy across all datasets, demonstrating its competitiveness with GNNs.
- The method is robust to graph changes: instead of reprocessing the entire graph, LinkDist updates parameters efficiently, avoiding costly message propagation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.