Introduction
Graph Contrastive Learning (GCL) has emerged as a powerful paradigm for learning graph representations without manual labels. By maximizing the mutual information between different augmented views of the same graph, GCL models learn to capture essential structural features. However, traditional GCL approaches face two significant bottlenecks: the "False Negative" problem and brittle augmentation strategies.
Standard GCL assumes that any two distinct graph instances are negatives and should be pushed apart in the embedding space. In practice, many graphs (such as proteins with similar functions) may share semantic meaning despite structural differences. Forcing these to be opposites confuses the learning process. Furthermore, common augmentations like edge dropping or node masking are often domain-specific and can inadvertently destroy critical structural information. To address these issues, we introduce Structure Knowledge Refinement (SKR), a framework that replaces rigid binary labels with probabilistic relationships and introduces a semantic-preserving augmentation strategy.
The SKR Framework
The SKR framework introduces two primary innovations to refine how structural knowledge is captured and transferred:
Dirichlet Pooling
Instead of physically altering the graph's topology, SKR utilizes Dirichlet Pooling for augmentation. This method perturbs the weights of node-level representations during the global pooling phase. By using a Dirichlet distribution to generate these weights, the augmented representation remains a weighted average of its original nodes. This approach naturally preserves the semantic meaning of the graph without requiring deep domain expertise to tune for specific datasets.
Fuzzy Cross-Entropy
To solve the false negative problem, SKR moves away from binary "positive/negative" labels. It utilizes an intermediate semantic space to calculate the probability that two graphs are similar. The model then employs a Fuzzy Cross-Entropy objective to ensure the final embedding space reflects these soft probabilities. This allows the model to attract similar graphs and repel truly different ones more gracefully than standard contrastive losses.
Experimental Evaluation
The SKR framework was evaluated across 10 benchmarks from the TU Benchmark Dataset, spanning social networks (e.g., COLLAB, REDDIT), small molecules (e.g., MUTAG, NCI1), and bioinformatics (e.g., PROTEINS, DD). The architecture utilizes a Graph Isomorphism Network (GIN) as the backbone to map graphs into the semantic space, followed by Multi-Layer Perceptrons (MLPs) to reach the final embedding space.
Key Results
- State-of-the-Art Performance: SKR outperformed nine leading baselines, including GraphCL and AD-GCL, across nearly all datasets. Notably, it achieved a 5.8% relative improvement in accuracy on the REDDIT-B dataset.
- Robustness on Sparse Data: On the NCI1 dataset, which features sparse node attributes, SKR significantly outperformed traditional GCL methods that typically struggle in such environments.
- Stability: Sensitivity analysis confirmed that the model is robust to the choice of the Dirichlet hyperparameter $\alpha$, suggesting it requires less exhaustive tuning when applied to new data domains.
Conclusion and Future Work
By treating the relationship between graphs as a probability rather than a hard label, SKR effectively mitigates the false negative problem inherent in unsupervised graph learning. While currently focused on graph-level representations, future work aims to extend this "knowledge refinement" logic to node-level tasks, such as identifying functional sites within proteins. Additionally, researchers may explore more computationally efficient ways to approximate global structures to reduce the overhead of calculating pairwise distances in large batches.
Summary updated