Skip to main content
QUICK REVIEW

[Paper Review] Graph Self-supervised Learning with Accurate Discrepancy Learning

Dongki Kim, Jinheon Baek|arXiv (Cornell University)|Feb 7, 2022
Advanced Graph Neural NetworksComputer Science11 citations
TL;DR

This paper proposes Discrepancy-based Self-supervised LeArning (D-SLA), a novel graph self-supervised learning framework that improves representation learning by explicitly modeling the exact discrepancy between original and perturbed graphs using graph edit distance. Unlike contrastive learning, which collapses semantically different graphs into similar representations, D-SLA trains a discriminator to distinguish original from perturbed graphs while preserving the true magnitude of structural differences, achieving state-of-the-art performance on molecular property prediction, protein function prediction, and link prediction tasks.

ABSTRACT

Self-supervised learning of graph neural networks (GNNs) aims to learn an accurate representation of the graphs in an unsupervised manner, to obtain transferable representations of them for diverse downstream tasks. Predictive learning and contrastive learning are the two most prevalent approaches for graph self-supervised learning. However, they have their own drawbacks. While the predictive learning methods can learn the contextual relationships between neighboring nodes and edges, they cannot learn global graph-level similarities. Contrastive learning, while it can learn global graph-level similarities, its objective to maximize the similarity between two differently perturbed graphs may result in representations that cannot discriminate two similar graphs with different properties. To tackle such limitations, we propose a framework that aims to learn the exact discrepancy between the original and the perturbed graphs, coined as Discrepancy-based Self-supervised LeArning (D-SLA). Specifically, we create multiple perturbations of the given graph with varying degrees of similarity, and train the model to predict whether each graph is the original graph or the perturbed one. Moreover, we further aim to accurately capture the amount of discrepancy for each perturbed graph using the graph edit distance. We validate our D-SLA on various graph-related downstream tasks, including molecular property prediction, protein function prediction, and link prediction tasks, on which ours largely outperforms relevant baselines.

Motivation & Objective

  • To address the limitation of contrastive learning in graph self-supervised learning, where semantically different graphs with minor structural changes are treated as similar due to perturbation-induced similarity.
  • To overcome predictive learning's inability to capture global graph-level similarities by introducing a discrepancy-aware learning objective.
  • To learn accurate, distance-preserving graph representations that reflect both local and global topological differences between graphs.
  • To develop a self-supervised framework that discriminates not only original from perturbed graphs but also quantifies the exact structural discrepancy using graph edit distance.

Proposed method

  • The method generates multiple perturbations of a given graph with varying degrees of similarity, using edge perturbations that directly correspond to graph edit distance.
  • A discriminator is trained to classify whether a graph is original or perturbed, enabling the model to learn fine-grained structural differences.
  • The model enforces the embedding-level distance between original and perturbed graphs to be proportional to the graph edit distance, ensuring accurate discrepancy representation.
  • A margin-based loss is applied to ensure that the distance between the original and a completely different (negative) graph is larger than that between original and perturbed graphs.
  • The framework integrates both local discrimination (original vs. perturbed) and global relative distance learning to preserve semantic distinctions.
  • The approach is trained end-to-end using a combination of binary classification and contrastive-like loss to maintain both discriminative power and structural fidelity.

Experimental results

Research questions

  • RQ1Can a self-supervised learning method effectively learn the exact structural discrepancy between a graph and its perturbations, beyond simple similarity maximization?
  • RQ2Does modeling the true graph edit distance in the embedding space improve generalization on downstream graph-level prediction tasks?
  • RQ3Can the proposed method avoid the collapse of semantically distinct graphs into similar representations, a known failure mode of contrastive learning?
  • RQ4How does the integration of both local discrimination and global relative distance learning affect the quality of learned graph representations?
  • RQ5To what extent does accurate discrepancy learning improve performance on molecular and biological graph benchmarks?

Key findings

  • D-SLA achieves state-of-the-art performance across 12 benchmark graph datasets, outperforming existing self-supervised learning baselines in molecular property prediction, protein function prediction, and link prediction.
  • The method successfully captures the exact magnitude of structural differences, as evidenced by the alignment between learned embedding distances and ground-truth graph edit distances.
  • Visualization of the embedding space shows that D-SLA can clearly separate original, perturbed, and negative graphs, unlike contrastive learning, which collapses similar but semantically distinct graphs.
  • Ablation studies confirm that both the graph edit distance supervision and the relative distance margin are critical for performance, validating the design choices.
  • The framework generalizes well across diverse graph types, including molecular, biological, and social networks, demonstrating robustness and transferability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.