Abstract
We consider graph representation learning in a self-supervised manner. Graph neural networks (GNNs) use neighborhood aggregation as a core component that results in feature smoothing among nodes in proximity. While successful in various prediction tasks, such a paradigm falls short of capturing nodes' similarities over a long distance, which proves to be important for high-quality learning. To tackle this problem, we strengthen the graph with two additional graph views, in which nodes are directly linked to those with the most similar features or local structures. Not restricted by connectivity in the original graph, the generated views allow the model to enhance its expressive power with new and complementary perspectives from which to look at the relationship between nodes. Following a contrastive learning approach, we propose a method that aims to maximize the agreement between representations across generated views and the original graph. We also propose a channel-level contrast approach that greatly reduces computation cost, compared to the commonly used node level contrast, which requires computation cost quadratic in the number of nodes. Extensive experiments on seven assortative graphs and four disassortative graphs demonstrate the effectiveness of our approach.
Introduction
Graph Neural Networks (GNNs) have traditionally relied on the "homophily" assumption, where connected nodes are expected to share similar attributes. By smoothing features across immediate neighborhoods, GNNs excel at local representation. However, real-world graphs are frequently disassortative, meaning nodes may be more similar to distant entities than their direct neighbors. Standard GNN architectures struggle to capture these long-range dependencies, effectively trapped within the "connectivity cage" of the original graph edges.
Furthermore, existing self-supervised contrastive learning methods for graphs typically employ node-level contrast. This requires comparing every node against every other node, resulting in a computational complexity of $O(N^2)$. Such costs make scaling to massive datasets prohibitive. To address these challenges, we introduce FT-GCL (Feature & Topology Proximity Preserving Graph Contrastive Learning), a framework designed to capture global similarities efficiently.
Methodology: The FT-GCL Framework
FT-GCL moves beyond the local neighborhood limitation by generating auxiliary graph views and employing a novel channel-level contrastive loss.
Proximity-based Views
The model constructs two new perspectives of the graph to allow for "information teleportation" between similar nodes:
- Feature Proximity Graph (FPG): This view links nodes based on the similarity of their raw attributes, regardless of their distance in the original topology.
- Topology Proximity Graph (TPG): This view connects nodes that play similar structural roles (e.g., hubs or cluster edges). To maintain efficiency, we utilize Weisfeiler-Lehman (WL) subtree kernels and the Nyström approximation to map local structures into a low-dimensional space.
Channel-level Contrast
The "secret sauce" for FT-GCL's efficiency is the shift from node-level to channel-level contrast. Instead of comparing $N$ nodes, the model compares the $d$ dimensions (channels) of the feature vectors. Since the embedding dimension $d$ is typically much smaller than the number of nodes $N$, the computational complexity drops from $O(N^2)$ to $O(d^2)$. Theoretically, minimizing this channel-level loss is equivalent to maximizing a lower bound of the Mutual Information between the original graph and its proximity views.
Experimental Evaluation
We evaluated FT-GCL on 11 real-world benchmark datasets, including 7 assortative graphs (e.g., Cora, PubMed) and 4 disassortative graphs (e.g., Texas, Wisconsin).
Key Results
- State-of-the-Art Performance: FT-GCL consistently outperformed leading unsupervised methods like GRACE and MVGRL. On datasets like Cora and PubMed, it even surpassed well-known semi-supervised methods like GCN and GAT, despite having no access to labels during training.
- Success on Disassortative Graphs: The model showed significant gains where traditional GNNs fail. For instance, on the "Wisconsin" dataset, FT-GCL achieved ~75.9% accuracy, while standard unsupervised GNNs like GAE reached only ~47%.
- Scalability and Robustness: The channel-level contrast proved significantly faster and converged more gracefully than node-level alternatives. By integrating multiple proximity types, the model remains robust even when original graph edges are noisy or misleading.
Conclusion
FT-GCL provides a scalable and effective framework for self-supervised graph learning by breaking the limitations of local connectivity. By leveraging feature and topology proximity views alongside an efficient channel-level contrastive objective, it achieves superior performance across diverse graph types. Future work will explore dynamic proximity view adaptation and the application of channel-level contrast to other domains such as computer vision.
Summary updated