Semi-Supervised Graph Classification: A Hierarchical Graph Perspective

Jia Li, Yu Rong, Hong Cheng, Helen Meng, Wen-bing Huang, Junzhou Huang · DOI

Abstract

Traditional graph learning typically focuses on node classification within a single graph or classifying independent graphs. This paper introduces a "hierarchical graph" framework where nodes are themselves complex sub-graphs. To address the challenge of classifying these sub-graphs with limited labeled data, we propose SAGE, a self-attentive embedding method, and SEAL, an iterative semi-supervised learning framework that leverages both local and global graph structures.

Introduction: The Hierarchical Graph Challenge

In many real-world scenarios, data is structured as a hierarchy of graphs. For instance, in a social network, "user groups" are sub-graphs of individuals, yet these groups are interconnected through shared members or interactions.

Hierarchical graph structure where groups of users are connected to form a higher-level network.

The primary difficulty lies in the variable size of sub-graphs and the high cost of obtaining labels for them. Existing methods often fail to capture both the internal structure of sub-graphs and the global relationships between them. This paper addresses this by treating sub-graphs as nodes in a larger hierarchical network.

Methodology

The proposed solution consists of two main components: SAGE for discriminative embedding and SEAL for iterative classification.

SAGE: Supervised Self-Attentive Graph Embedding

SAGE transforms variable-sized sub-graphs into fixed-length vectors. It employs Graph Convolutional Networks (GCN) for local feature smoothing, followed by a self-attention mechanism. This mechanism acts as a set of "experts" (r-views) that identify the most influential nodes within a sub-graph, ensuring the resulting embedding is both size-invariant and permutation-invariant.

SEAL: SEmi-supervised grAph cLassification

The SEAL framework leverages both local sub-graph features and global hierarchical connections to improve classification performance in low-label regimes.

The SEAL framework: Sub-graphs are embedded via SAGE and then classified using an iterative process that combines local and hierarchical information.

Two iterative strategies are introduced:

  • SEAL-CI (Cautious Iteration): Uses two classifiers—one for the sub-graph level (IC) and one for the hierarchical level (HC)—to self-label high-confidence examples, which are then added to the training set for subsequent rounds.
  • SEAL-AI (Active Iteration): Employs active learning by identifying instances with high disagreement between classifiers (measured via KL divergence) for human labeling.

Evaluation and Results

The framework was tested on bioinformatics benchmarks (PROTEINS, D&D), synthetic hierarchical graphs, and a large-scale Tencent QQ dataset containing over 37,000 groups.

  • SAGE Efficiency: On the D&D dataset, SAGE achieved 80.88% accuracy, surpassing traditional graph kernels and deep learning methods like PSCN.
  • Real-World Impact: In the QQ group classification task, SEAL-AI achieved a Macro-F1 of 73.2% with only 2.6% labeled data, significantly outperforming standard GCN (54.7%) and graph2vec (48.1%).
  • Interpretability: Visualization of attention weights confirmed that SAGE identifies structurally significant nodes (e.g., leaf nodes in tree graphs) as key discriminative features.

Conclusion

By treating groups as nodes in a larger hierarchy and using iterative refinement, this work provides a robust solution for graph classification in label-scarce environments. Future work will focus on automating hierarchical graph construction and improving resilience to label noise in self-labeling iterations.

Summary updated

BibTeX
@inproceedings{li2019semi,
  author = {Jia Li and Yu Rong and Hong Cheng and Helen Meng and Wen-bing Huang and Junzhou Huang},
  title = {{Semi-Supervised Graph Classification: A Hierarchical Graph Perspective}},
  booktitle = {The Web Conference},
  year = {2019},
  doi = {10.1145/3308558.3313461},
}
Figure