TL;DR
This paper introduces Global-Local Graph Neural Networks (GLGNNs) to enhance node classification by integrating both local node information and global label information. By learning explicit "label features" that represent entire classes, GLGNNs achieve improved accuracy over traditional GNNs that rely solely on local neighborhood data.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) have shown great promise in processing graph-structured data. However, for node classification tasks, most GNNs primarily focus on local information – features of a node and its immediate neighbors. This can be a limitation, as global context might be crucial for accurate classification. The paper questions whether incorporating global information can boost performance in these locally-oriented tasks and proposes a method to do so by learning representations for entire classes (labels) alongside node features.
Methods
The core innovation of GLGNN lies in its approach to learning global label features. The method starts by processing node features through a standard GNN backbone (like GCN, GAT, or GCNII) to obtain both initial and final layer node embeddings. These embeddings are then used to compute a global vector. This global vector is then fed through a series of multi-layer perceptrons (MLPs), one for each class, to generate a high-dimensional "label feature" vector for each class.
To predict node classifications, GLGNN computes a correspondence vector for each class by taking the dot product of the final node features with the corresponding label feature. These correspondence vectors are then concatenated and passed through a SoftMax function to produce the final node classification map.
The training objective is a combination of the standard cross-entropy loss for node classification and a novel "global-local loss." This global-local loss encourages label features to be similar to the features of nodes belonging to that label, while simultaneously pushing them away from features of nodes from other labels. This contrastive learning aspect helps to create well-separated class representations.
Datasets
The paper evaluates GLGNN on a variety of standard node classification benchmarks, including:
- Semi-supervised: Cora, Citeseer, Pubmed
- Fully-supervised (homophilic): Cora, Citeseer, Pubmed, Cornell, Wisconsin, Texas, Chameleon, Squirrel, Actor
- Fully-supervised (heterophilic): Cornell, Wisconsin, Texas, Chameleon, Squirrel, Actor
- Graph classification: MUTAG, PROTEINS, PTC
Key Insights and Ideas
- Global label features are beneficial: The most significant insight is that explicitly learning global representations for each class (label features) can substantially improve node classification accuracy, even when the task is inherently local.
- Complementary to local information: GLGNN doesn't replace local GNN processing but complements it. The learned label features work in tandem with node features to refine predictions.
- Contrastive learning for class separation: The global-local loss function effectively uses contrastive principles to ensure that label features are discriminative, leading to better class separation in the feature space.
- Scalability: The method's computational overhead is shown to be relatively low and scales with the number of labels rather than the number of nodes, making it practical for many datasets.
Key Results
- Consistent Accuracy Improvements: GLGNN consistently outperforms its GNN backbone (GCN, GAT, GCNII) across all tested semi-supervised and fully-supervised node classification datasets. For instance, GLGCNII achieved 83.7% accuracy on Pubmed, a 3.4% improvement over the baseline GCNII.
- Competitive with State-of-the-Art: The proposed method achieves competitive results with other state-of-the-art approaches, particularly on homophilic datasets.
- Ablation Studies:
- Including initial node features in the global feature computation was found to be beneficial.
- A channel expansion rate of $e=12$ for label features provided a good balance between accuracy and computational cost.
- A cut-off value $r=10$ for the global-local loss yielded the highest accuracy.
- Dropout was found to be beneficial for improving accuracy.
- The global-local loss term itself was shown to improve performance.
- Graph Classification: GLGNN also demonstrated improved accuracy on graph classification tasks when adapted appropriately.
Limitations and Future Work
- Computational Cost: While the overhead is manageable, the paper notes that the computational cost is influenced by the number of labels.
- Future Work: The authors suggest exploring additional methods for global label information extraction, incorporating global graph structural properties, and extending GLGNN to other tasks like node property regression where explicit labels might not be available. They also propose investigating pseudo-label learning for such tasks.
Summary updated