Skip to main content
QUICK REVIEW

[Paper Review] Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learning

Xiao Wang, Nian Liu|arXiv (Cornell University)|May 19, 2021
Advanced Graph Neural NetworksComputer Science34 references27 citations
TL;DR

Introduces HeCo, a self-supervised heterogeneous graph neural network that uses cross-view co-contrastive learning across network schema and meta-path views, with view masking and hard-negative extensions, outperforming baselines on multiple datasets.

ABSTRACT

Heterogeneous graph neural networks (HGNNs) as an emerging technique have shown superior capacity of dealing with heterogeneous information network (HIN). However, most HGNNs follow a semi-supervised learning manner, which notably limits their wide use in reality since labels are usually scarce in real applications. Recently, contrastive learning, a self-supervised method, becomes one of the most exciting learning paradigms and shows great potential when there are no labels. In this paper, we study the problem of self-supervised HGNNs and propose a novel co-contrastive learning mechanism for HGNNs, named HeCo. Different from traditional contrastive learning which only focuses on contrasting positive and negative samples, HeCo employs cross-viewcontrastive mechanism. Specifically, two views of a HIN (network schema and meta-path views) are proposed to learn node embeddings, so as to capture both of local and high-order structures simultaneously. Then the cross-view contrastive learning, as well as a view mask mechanism, is proposed, which is able to extract the positive and negative embeddings from two views. This enables the two views to collaboratively supervise each other and finally learn high-level node embeddings. Moreover, two extensions of HeCo are designed to generate harder negative samples with high quality, which further boosts the performance of HeCo. Extensive experiments conducted on a variety of real-world networks show the superior performance of the proposed methods over the state-of-the-arts.

Motivation & Objective

  • Address the label scarcity in heterogeneous information networks (HINs) by enabling self-supervised learning for HGNNs.
  • Design a cross-view contrastive mechanism to capture local (network schema) and high-order (meta-path) structures in HINs.
  • Introduce a view mask to enhance view diversity and collaborative supervision between views.
  • Provide extensions to generate higher-quality negative samples to boost contrastive learning performance.

Proposed method

  • Define two views of a HIN: network schema view and meta-path view, and learn node embeddings in each view.
  • Project node features into a common latent space with type-specific linear mappings.
  • Network schema view encoder aggregates multi-type neighbors using node- and type-level attention with neighbor sampling to control diversity.
  • Meta-path view encoder applies meta-path specific GCNs and semantic-level attention to fuse multiple meta-path embeddings.
  • Apply a cross-view co-contrastive loss that treats one view’s embedding as the anchor and the other view’s embeddings as positives/negatives, with a multi-positive contrastive objective and a shared MLP projection.
  • Introduce a view mask mechanism to increase cross-view diversity by masking parts of each view during encoding, forcing complementary supervision.
  • Propose two extensions, HeCo_GAN and HeCo_MU, to generate higher-quality negative samples (GAN-based negatives and MixUp-inspired negatives) and improve training efficiency.

Experimental results

Research questions

  • RQ1How can self-supervised learning be effectively applied to heterogeneous information networks (HINs) without labels?
  • RQ2Can cross-view contrastive learning across network schema and meta-path views better capture local and high-order HIN structures than single-view methods?
  • RQ3What mechanisms (e.g., view masking, hard negatives) improve the quality and usefulness of contrastive signals in HGNNs?
  • RQ4Do cross-view co-contrastive approaches outperform existing unsupervised and semi-supervised HGNNs on real-world HIN datasets?

Key findings

  • HeCo consistently outperforms state-of-the-art unsupervised and some semi-supervised baselines across multiple real-world HIN datasets for node classification.
  • Cross-view learning (network schema vs. meta-path) yields more discriminative node embeddings than single-view approaches and helps mitigate noisy single-view signals.
  • View masking increases view diversity and strengthens cross-view supervision, leading to better embeddings.
  • Extensions HeCo_GAN and HeCo_MU provide higher-quality negative samples, further boosting performance.
  • The proposed cross-view co-contrastive framework demonstrates the effectiveness of self-supervised learning for heterogeneous graphs and can surpass label-dependent methods in certain settings.

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.