Contrastive Learning for Non-Local Graphs with Multi-Resolution Structural Views

Asif Khan, Amos StorkeyarXiv 2023 · DOI

Introduction

Graph representation learning traditionally relies on the homophily assumption—the principle that connected nodes are likely to share similar labels or properties. While this assumption holds for many citation and social networks, it fails in heterophilic graphs where distant nodes may play identical structural roles. For example, in organizational hierarchies or fraud detection networks, two nodes might be functionally equivalent (e.g., both acting as "bridges" or "hubs") despite being separated by a large distance in the graph.

Illustration of structural equivalence: nodes in different clusters share the same structural roles (colors) and are mapped closely together in the PCA embedding space.

The Challenge of Heterophily

Existing self-supervised contrastive learning methods, such as GraphCL or DGI, typically rely on local adjacency matrices or simple random walks to generate graph "views." These approaches are dominated by low-frequency signals and local proximity, making them blind to the higher-order, long-range hierarchical structures necessary to recognize structural equivalence. To overcome this, a model must be able to "see" the graph at multiple scales simultaneously.

Proposed Methodology: Multi-Resolution Structural Views

The authors propose a novel multi-view contrastive learning pipeline that replaces standard augmentations (like edge dropping) with diffusion wavelets. These wavelets act as structural bandpass filters, allowing the model to extract spatially localized information across different diffusion timescales.

The proposed multi-view contrastive learning architecture, showing the transition from multi-resolution graph views to node-level and graph-level representations via a local-global contrastive objective.

The Pipeline:

  1. Multi-Resolution Augmentations: A lazy random walk diffusion operator is applied at dyadic scales (powers of 2). This creates a cascade of views ranging from fine-grained local neighborhoods to coarse-grained global structures.
  2. Encoder Network: A Graph Convolutional Network (GCN) processes each view alongside node attributes to generate embeddings. The model learns to find consistency across these different timescales.
  3. Contrastive Objective: The model employs a local-global contrastive loss, maximizing the mutual information between a specific node's representation in one view and a summarized global representation of the other views. This forces the encoder to learn representations that are invariant to resolution, naturally capturing structural roles.

Experimental Evaluation

The method was evaluated on a comprehensive suite of datasets, including synthetic structural graphs, real-world heterophilic graphs (Cornell, Texas, Wisconsin), and standard homophilic graphs (Cora, PubMed).

Key Results:

  • Superiority on Heterophilic Graphs: The approach achieved massive gains on structural tasks, outperforming the best baselines by 16.06% on Cornell and 8.04% on Wisconsin.
  • Robustness on Homophilic Graphs: Unlike many specialized models, this approach does not sacrifice performance on proximal tasks, achieving a 3.7% improvement on PubMed.
  • Resolution Invariance: Ablation studies showed that using 2 to 4 resolution views is typically optimal for capturing structural roles without introducing excessive noise.

Conclusion and Future Work

By leveraging diffusion wavelets to create multi-resolution views, this method successfully distills structural equivalence in graphs where local proximity is an unreliable signal. While highly effective, the authors noted that extremely coarse scales can lead to signal smoothing due to filter sparsity. Future research will focus on optimizing message passing at these higher-order resolutions to further improve global structural capture.

Summary updated

BibTeX
@misc{khan2023contrastive,
  author = {Asif Khan and Amos Storkey},
  title = {{Contrastive Learning for Non-Local Graphs with Multi-Resolution Structural Views}},
  year = {2023},
  eprint = {2308.10077},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.10077},
}
Figure