Unsupervised Graph Neural Architecture Search with Disentangled Self-Supervision

Zeyang Zhang, Xin Wang, Ziwei Zhang, Guangyao Shen, Shiqi Shen, Wenwu Zhu

Graph Neural Architecture Search (GNAS) has emerged as a powerful tool for automating the design of Graph Neural Networks (GNNs). However, traditional GNAS is a "label-hungry" process, typically relying on supervised signals—like cross-entropy loss on a labeled dataset—to rank and evolve different architectures.

In many real-world domains, such as drug discovery or clinical trials, obtaining these labels is prohibitively expensive or time-consuming. To address this, researchers have introduced DSGAS (Disentangled Self-supervised Graph Neural Architecture Search), the first framework designed to tackle Unsupervised GNAS. DSGAS discovers optimal GNN architectures without requiring any human-provided labels by matching specific graph "factors" to the neural operations best suited to capture them.

The Problem: Entangled Factors and Missing Labels

Graphs are inherently complex. A single graph might contain multiple "latent factors"—for instance, in a molecular graph, some parts might represent functional chemical groups while others represent the overall molecular skeleton.

Existing GNAS methods struggle in unsupervised settings because these latent factors and the architectures designed to capture them are highly "entangled." Without explicit labels, it is incredibly difficult to determine which neural operation is actually helping to model which specific part of the graph.

The DSGAS Methodology

To untangle this complexity, the authors propose a framework built on three main pillars:

The overall DSGAS framework, illustrating the disentangled super-network, self-supervised training, and contrastive search.

1. Disentangled Graph Architecture Super-network Instead of searching for one "master" architecture to rule them all, DSGAS maintains $K$ different architectures within a single weight-sharing super-network. Each architecture is encouraged to specialize in a different latent graph factor, creating a committee of specialized sub-networks.

2. Joint Architecture-Graph Disentanglement Using a Bayesian approach, the model performs a routing function. It infers which latent factor a specific graph instance belongs to and then assigns it to the corresponding specialized architecture. This allows for factor-specific self-supervised training using pretext tasks (like predicting graph properties) to accurately estimate the performance of each architecture.

3. Contrastive Search with Architecture Augmentations To ensure the $K$ architectures don't all converge to the same generic solution, the authors introduce an architecture-level contrastive loss. They utilize three types of architecture augmentations:

  • Operation Choice Perturbation: Slightly altering the probability of choosing specific GNN layers.
  • Weight Perturbation: Adding Gaussian noise to the network weights.
  • Embedding Dropout: Randomly dropping internal representations.

By pulling "similar" augmented architectures together and pushing "dissimilar" ones apart in a latent space, the model successfully discovers architectures with distinct, specialized expertise.

Key Insights and Results

The model was rigorously evaluated on 11 real-world datasets across unsupervised graph classification, unsupervised node classification, and semi-supervised tasks.

Specialization over Generalization: The core insight of DSGAS is that a single GNN architecture is rarely optimal for an entire graph dataset. By disentangling the search process, the model finds a diverse set of architectures where each handles a different structural property of the data. The paper proves that self-supervised pretext tasks are effective proxies for architecture ranking, provided this entanglement is accounted for.

State-of-the-Art Unsupervised Performance: DSGAS consistently outperformed both manually designed GNNs (like GCN, GAT, and GIN) and existing GNAS methods (like DARTS and GraphNAS) in unsupervised settings. For example, on the PROTEINS dataset, DSGAS achieved a 3.1% accuracy improvement over the best manually designed baseline.

Performance comparison of DSGAS against baselines under varying label rates (10%, 5%, 1%).

Label Efficiency in Semi-Supervised Settings: In scenarios where labels are extremely scarce, DSGAS shines as a pre-training mechanism. Using DSGAS to "warm up" the super-network weights and architecture parameters significantly prevents performance collapse. In semi-supervised tests on a proprietary Wechat-Video dataset with only 1% of labels available, DSGAS provided a 5% absolute improvement over versions of the model that skipped unsupervised pre-training.

Limitations and Future Work

While DSGAS represents a significant leap forward for automated graph learning, the current study focuses primarily on homogeneous graphs (where all nodes and edges are of the same type). Extending this framework to heterogeneous graphs—such as complex knowledge graphs with multiple relation types—is a necessary next step.

Additionally, maintaining $K$ disentangled architectures and performing contrastive search introduces computational overhead. While the super-network approach is vastly more efficient than searching from scratch, further optimization will be required to scale this method to massive, industry-level graphs.

Summary updated

BibTeX
@inproceedings{zhang2023unsupervised,
  author = {Zeyang Zhang and Xin Wang and Ziwei Zhang and Guangyao Shen and Shiqi Shen and Wenwu Zhu},
  title = {{Unsupervised Graph Neural Architecture Search with Disentangled Self-Supervision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=UAFa5ZhR85},
}
Figure