Global-Local Graph Neural Networks for Node-Classification
Moshe Eliasof, Eran Treister
TL;DR
GLGNN addresses node classification by jointly leveraging local node features and learnable global label features. It learns a distinct feature vector per class via a global readout and per-label expansions, and fuses these with the node representations to form a node-classification map through a per-label dot product followed by SoftMax. The method minimizes a joint loss combining cross-entropy with a global-local loss that pulls label features toward corresponding nodes and pushes apart non-corresponding ones, with a clamp parameter to control out-of-class distances. Across semi- and fully-supervised settings and multiple backbones (GCN, GAT, GCNII), GLGNN yields consistent improvements on standard benchmarks and graph classification tasks, while maintaining modest computational overhead. This demonstrates the value of explicit label-driven global information for graph-based classification and suggests avenues for further integration of global cues and pseudo-label techniques.
Abstract
The task of graph node classification is often approached by utilizing a local Graph Neural Network (GNN), that learns only local information from the node input features and their adjacency. In this paper, we propose to improve the performance of node classification GNNs by utilizing both global and local information, specifically by learning label- and node- features. We therefore call our method Global-Local-GNN (GLGNN). To learn proper label features, for each label, we maximize the similarity between its features and nodes features that belong to the label, while maximizing the distance between nodes that do not belong to the considered label. We then use the learnt label features to predict the node classification map. We demonstrate our GLGNN using three different GNN backbones, and show that our approach improves baseline performance, revealing the importance of global information utilization for node classification.
