Automated Graph Self-supervised Learning via Multi-teacher Knowledge Distillation

Lirong Wu, Yufei Huang, Haitao Lin, Zicheng Liu, Tianyu Fan, Stan Z. Li

TL;DR

Automated Graph Self-Supervised Learning (AGSSL) is a novel framework that automatically selects and combines multiple self-supervised pretext tasks at the individual node level using multi-teacher knowledge distillation. By adaptively integrating knowledge from different "teacher" models trained on distinct tasks, AGSSL avoids the conflicting optimization issues of traditional multi-task learning and achieves state-of-the-art performance on graph representation learning.

What Problem Does This Paper Address?

Graph Self-Supervised Learning (SSL) has exploded in popularity, resulting in hundreds of different "pretext tasks" designed to help models learn from unlabeled graph data. However, the community faces a new challenge: instead of inventing more complex tasks, how do we best use the ones we already have?

The authors identify three major limitations in current graph SSL approaches:

  1. Dataset-level dependency: No single pretext task dominates; a task that works wonders on one dataset might fail on another.
  2. Task-level compatibility: Simply combining multiple pretext tasks via traditional multi-task learning (e.g., joint training with equal weights) often hurts performance because different tasks introduce conflicting inductive biases.
  3. Node-level localization: Even within the same graph, different nodes benefit from different tasks. For example, high-degree nodes might need global topology tasks, while low-degree nodes favor feature-similarity tasks.
Figure 1: (a) Performance ranking (1: best, 5: poorest) of different pretext tasks on eight datasets. (b) Performance gains or drops over the vanilla GCNs on Citeseer when combining two tasks. (c) Classification accuracy of nodes with different node degrees across five pretext tasks on Citeseer.

Methods

To solve these challenges, the authors introduce AGSSL, a multi-teacher knowledge distillation framework. Instead of forcing a single model to optimize multiple conflicting losses simultaneously, AGSSL splits the process into two main phases:

  • Knowledge Extraction: Multiple independent "teacher" models are trained separately, each focusing on a single, distinct pretext task (e.g., graph partitioning, clustering, or mutual information maximization). This allows each teacher to cleanly capture a specific type of graph knowledge without interference.
  • Knowledge Integration & Distillation: The predictions of these teachers are dynamically weighted and combined into a single "integrated teacher" distribution, which then guides the training of a single "student" model.

The authors propose two localized, node-level parameterization strategies to calculate these weights dynamically:

  1. AGSSL-LF (Latent Factor): Assigns a learnable latent factor to each teacher and computes weights based on the student's node embeddings.
  2. AGSSL-TS (Teacher-Student): Projects both student and teacher logits into a shared subspace, calculating weights based on how well the teacher's knowledge matches the student's current state.

Crucially, the authors provide a theoretical proof showing that the optimal integrated teacher distribution monotonically approaches the true Bayesian class probability as the number of teachers increases.

Datasets

The framework was evaluated on eight real-world graph benchmarks across various scales:

  • Small-scale: Cora, Citeseer, and Pubmed.
  • Large-scale: Coauthor-CS, Coauthor-Physics, Amazon-Photo, Amazon-Computers, and ogbn-arxiv.

Key Insights and Ideas

  • Distillation Over Joint Training: Traditional multi-task learning acts as a "black box" where gradient conflicts create unexplainable, mixed representations. Moving the combination step to the probability/logit space via knowledge distillation bypasses this optimization bottleneck entirely.
  • More is Better (Monotonicity): Unlike standard multi-task learning, where adding more tasks increases the risk of negative transfer, AGSSL mathematically guarantees that adding more diverse teachers helps the integrated distribution approximate the true data distribution better.
  • Node Degree Matters: The evolution of task weights during training confirms that a node's structural properties (like its degree) dictate which pretext task provides the most useful self-supervision.

Key Results

  • Superior Performance: AGSSL consistently outperformed individual pretext tasks and standard automated SSL baselines (like AutoSSL) across all eight datasets.
  • SOTA Competitiveness: By combining just five simple, classical pretext tasks, AGSSL achieved performance comparable to or better than specialized, state-of-the-art graph SSL algorithms (such as MVGRL, GRACE, and BGRL).
  • Computational Efficiency: Because the teachers are trained sequentially and frozen during the distillation phase, AGSSL actually reduces peak memory usage and training time compared to standard joint multi-task training.

Limitations and Future Work

While AGSSL automates how pretext tasks are combined for each node, it still requires a human engineer to select the initial pool of candidate pretext tasks. Achieving "full" automation—where the framework also constructs or searches for the pretext tasks themselves—remains an open challenge. Additionally, the authors note that extending this multi-teacher distillation approach to self-supervised computer vision and natural language processing tasks is a highly promising direction for future research.

Summary updated

BibTeX
@misc{wu2022automated,
  author = {Lirong Wu and Yufei Huang and Haitao Lin and Zicheng Liu and Tianyu Fan and Stan Z. Li},
  title = {{Automated Graph Self-supervised Learning via Multi-teacher Knowledge Distillation}},
  year = {2022},
  eprint = {2210.02099},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.02099},
}
Figure