Abstract
Graph Contrastive Learning (GCL) has traditionally relied on multi-view paradigms involving complex data augmentations and dual-branch architectures. However, these methods often suffer from manual design complexity, semantic information loss, and high computational overhead. We present SIGNA (Single-vIew Graph contrastive learning with soft Neighborhood Awareness), a streamlined framework that eliminates the need for explicit augmentations. By introducing stochastic neighbor masking and a novel normalized Jensen-Shannon Divergence estimator, SIGNA achieves state-of-the-art performance while providing massive inference speedups of up to 331x compared to traditional GCN-based models.
The Challenges of Traditional Graph Contrastive Learning
Standard GCL frameworks typically follow a "cross-view" paradigm. In this setup, two augmented versions of a graph are generated—often by dropping edges or masking features—and the model is trained to maximize similarity between the embeddings of the same node across these views. While effective, this approach introduces three significant hurdles:
- Manual Complexity: Identifying the optimal augmentation strategy for a specific dataset requires extensive trial and error.
- Information Loss: Aggressive augmentations can inadvertently destroy the underlying semantic structure the model needs to learn.
- Computational Cost: Maintaining dual-branch encoders is resource-intensive and scales poorly with graph size.
Furthermore, many GCL methods operate under a strict assumption of "homophily"—the belief that neighboring nodes are always semantically similar. In practice, real-world datasets often contain structural neighbors with different labels, meaning a rigid neighborhood-based contrastive objective can actually degrade representation quality.
The SIGNA Framework
SIGNA addresses these issues by simplifying the architecture and introducing "soft" neighborhood awareness. Unlike its predecessors, SIGNA uses a single-branch architecture without explicit data augmentation.
Core Components
- Single-View Architecture with Dropout: Instead of creating multiple views, SIGNA passes the input through an encoder with dropout once. This creates "randomly-noised" embeddings that provide the necessary variance for contrastive learning without destroying graph topology.
- Stochastic Neighbor Masking: To handle the reality of non-homophilous neighbors, SIGNA randomly masks a fraction of neighbors (denoted by $\alpha$) during each training epoch. These masked neighbors are treated as negative samples, forcing the model to learn a probabilistic, rather than rigid, structural relationship.
- Normalized Jensen-Shannon Divergence (Norm-JSD): The authors introduce a new estimator that combines the stability of JSD with $\ell_2$ normalization and cosine similarity. This ensures that embeddings are mapped onto a unit hypersphere, improving the overall quality and separability of the representations.
Rethinking Neighborhood Homophily
A key insight driving SIGNA is the "Homophily Reality Check." By analyzing benchmark datasets, the authors found that global homophily ratios vary significantly, from as high as 0.93 in the Physics dataset to as low as 0.31 in Flickr. This variation confirms that structural proximity does not always imply semantic identity, justifying the need for a "soft" approach that can tolerate local diversity while maintaining global uniformity.
Experimental Results and Efficiency
SIGNA was evaluated across seven node-level benchmarks, including transductive tasks (e.g., Wiki CS, Coauthor Physics) and inductive tasks (e.g., Flickr, PPI).
Performance Highlights
- Accuracy: SIGNA consistently outperformed existing GCL methods, showing a remarkable 21.74% margin improvement on the PPI dataset and a 3.13% improvement on Flickr.
- Inference Speed: By moving the graph logic into the loss function, SIGNA allows for the use of simple Multi-Layer Perceptron (MLP) encoders in transductive settings. This results in inference speeds 109x to 331x faster than GCN-based competitors, as MLPs avoid the expensive recursive neighborhood aggregation step.
- Robustness: Ablation studies confirmed that all three core components—Dropout, Stochastic Masking, and Norm-JSD—are essential for achieving these performance gains.
Conclusion and Future Directions
SIGNA demonstrates that complex augmentations and dual-branch architectures are not strictly necessary for high-performance graph contrastive learning. By embracing a single-view approach with soft neighborhood awareness, the framework achieves superior accuracy and efficiency. While currently focused on node-level tasks, future work may extend SIGNA to graph-level classification or explore adaptive masking techniques to automatically identify noisy neighbors based on feature similarity.
Summary updated