Skip to main content
QUICK REVIEW

[Paper Review] RoSA: A Robust Self-Aligned Framework for Node-Node Graph Contrastive Learning

Yun Zhu, Jianhao Guo|ArXiv.org|Apr 29, 2022
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

RoSA proposes a novel self-aligned framework for node-node graph contrastive learning that enables effective representation learning on non-aligned views using graph-based Earth Mover's Distance (g-EMD) and unsupervised adversarial training. It achieves state-of-the-art performance across homophilous, non-homophilous, and dynamic graphs, demonstrating robustness and generalization without requiring explicit node correspondence between views.

ABSTRACT

Graph contrastive learning has gained significant progress recently. However, existing works have rarely explored non-aligned node-node contrasting. In this paper, we propose a novel graph contrastive learning method named RoSA that focuses on utilizing non-aligned augmented views for node-level representation learning. First, we leverage the earth mover's distance to model the minimum effort to transform the distribution of one view to the other as our contrastive objective, which does not require alignment between views. Then we introduce adversarial training as an auxiliary method to increase sampling diversity and enhance the robustness of our model. Experimental results show that RoSA outperforms a series of graph contrastive learning frameworks on homophilous, non-homophilous and dynamic graphs, which validates the effectiveness of our work. To the best of our awareness, RoSA is the first work focuses on the non-aligned node-node graph contrastive learning problem. Our codes are available at: \href{https://github.com/ZhuYun97/RoSA}{ exttt{https://github.com/ZhuYun97/RoSA}}

Motivation & Objective

  • To address the lack of effective methods for non-aligned node-node graph contrastive learning, where views have inconsistent node sets and no explicit correspondence.
  • To design a contrastive objective that does not require alignment between views, enabling greater sampling flexibility and robustness.
  • To enhance model robustness and representation diversity through unsupervised adversarial training on node features.
  • To validate the effectiveness of the framework across diverse graph types, including dynamic and non-homophilous graphs, where aligned methods fail or underperform.

Proposed method

  • Uses random walk sampling with restart to generate non-aligned subgraph views centered on different nodes, treating views from the same central node as positive pairs.
  • Introduces g-EMD (graph-based Earth Mover's Distance) as a contrastive loss to measure distributional similarity between non-aligned views without requiring node correspondence.
  • Employs a rectified cost matrix in g-EMD to better capture topological and feature-based relationships in the graph structure.
  • Incorporates unsupervised adversarial training on node features to increase sampling diversity and improve robustness against distributional shifts.
  • Uses a standard GNN encoder (e.g., GCN, GraphSAGE) for feature extraction, with the contrastive objective applied at the node level.
  • Adapts the InfoNCE loss to work with g-EMD, enabling end-to-end training without explicit alignment.

Experimental results

Research questions

  • RQ1Can non-aligned node-node contrastive learning achieve better representation learning than aligned counterparts in complex graph settings?
  • RQ2How can a contrastive objective be designed to work effectively without requiring node correspondence between views?
  • RQ3Can adversarial training improve the robustness and diversity of subgraph sampling in unsupervised graph contrastive learning?
  • RQ4Does the proposed framework generalize across homophilous, non-homophilous, and dynamic graphs?
  • RQ5Can g-EMD effectively measure similarity between non-aligned graph views while preserving structural and feature information?

Key findings

  • RoSA achieves state-of-the-art performance on the Flickr dataset, outperforming all baselines with a micro-F1 score of 51.2±0.1 under inductive learning.
  • On the Reddit dataset, RoSA achieves a micro-F1 score of 95.2±0.0, surpassing the previous SOTA method GRACE by 1.0 points.
  • In dynamic graph settings, RoSA achieves 73.2±9.3 F1 on CIAW*, outperforming GraphSAGE and GRACE, with GRACE failing due to its alignment dependency.
  • Ablation studies confirm that removing g-EMD, the rectified cost matrix, or adversarial training leads to significant performance drops, validating each component’s contribution.
  • RoSA performs comparably or better than aligned methods even under non-aligned settings, proving its ability to handle view misalignment effectively.
  • The method generalizes well across graph types, including non-homophilous graphs, where it significantly outperforms other models.

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.