Semi-Supervised Hierarchical Graph Classification

Jia Li, Yongfeng Huang, Heng Chang, Yu Rong · DOI

Abstract

Hierarchical graph classification involves categorizing networks where each node is itself a graph instance. This "graph of graphs" structure presents unique challenges in maintaining structural consistency across levels and learning from limited labeled data. This paper introduces SEAL-CI, a semi-supervised framework that leverages a dual-classifier architecture and a novel Hierarchical Graph Mutual Information (HGMI) objective. SEAL-CI employs a cautious iterative labeling strategy to progressively incorporate high-confidence pseudo-labels into the training set. Experimental results across synthetic, text, and social network datasets demonstrate that SEAL-CI significantly outperforms traditional graph neural networks, particularly in label-scarce environments.

Introduction

In traditional machine learning, graph data is typically approached through node classification or graph classification. However, many real-world systems exhibit a hierarchical "graph of graphs" structure. For instance, in a citation network, each document (node) can be represented as a "graph-of-words." Similarly, in social platforms like Tencent QQ, nodes represent user groups, each containing an internal friendship network, while the groups themselves are linked by shared members.

The hierarchical "graph of graphs" structure, where nodes (User Groups) contain internal subgraphs (Users).

Classifying these structures is difficult due to structural complexity—ensuring the "micro" representation of a subgraph is consistent with the "macro" network—and label scarcity, as labeling complex hierarchical entities is often expensive and time-consuming.

Methodology: The SEAL-CI Framework

The authors propose SEAL-CI (SEmi-supervised grAph cLassification via Cautious Iteration), which addresses these challenges through three integrated components:

1. Dual-Classifier Architecture

The framework utilizes two specialized modules:

  • Instance Classifier (IC): Operates at the micro level to transform individual graph instances into fixed-length embedding vectors.
  • Hierarchical Classifier (HC): Operates at the macro level, utilizing IC embeddings and the inter-instance connectivity to generate final predictions.

2. Hierarchical Graph Mutual Information (HGMI)

To synchronize the micro and macro representations, the authors introduce HGMI. They provide a theoretical proof that hierarchical mutual information can be decomposed into a linear combination of node-level and graph-level mutual information. This decomposition allows for efficient optimization using standard mutual information maximization techniques, ensuring that sub-graph representations are informative of the global structure.

3. Cautious Iteration

To handle unlabeled data, SEAL-CI employs an iterative pseudo-labeling strategy. Rather than a single training pass, the model identifies the most confident predictions on unlabeled instances, adds them to the training set, and retrains. This "cautious" approach prevents early errors from propagating through the model, similar to curriculum learning.

The SEAL-CI architecture, illustrating the flow from input graph to instance and hierarchical representations, guided by MI loss and cautious iteration.

Experimental Evaluation

The model was evaluated on three diverse datasets:

  • Synthetic Data: A Cora-based skeleton where nodes were replaced with seven types of generated graphs (e.g., Watts-Strogatz, Barabási-Albert).
  • arXiv (Text): 4,666 computer science papers represented as semantic graphs via Semantic Role Labeling (SRL), linked by citations.
  • Tencent QQ (Social): A large-scale dataset of 37,836 user groups and 18 million users, where groups are linked by shared membership.

Key Results

SEAL-CI consistently outperformed standard GNNs (GCN, GAT, GIN) and specialized hierarchical baselines. On synthetic data, it achieved 91.2% accuracy, compared to 85-87% for supervised GNNs. In the arXiv dataset, it surpassed BERT-based models, indicating that semantic graph structure provides critical information beyond raw text embeddings. Notably, the model maintained high performance in social network tests even with minimal labeled training data.

Conclusion

SEAL-CI demonstrates that maximizing mutual information serves as a powerful regularizer for hierarchical graphs, forcing internal sub-graph structures to align with their global context. While the framework is robust, it currently relies on manual or heuristic graph construction (e.g., using SRL for text). Future research may explore automated graph construction to learn optimal hierarchical representations end-to-end.

Summary updated

BibTeX
@article{li2022semi,
  author = {Jia Li and Yongfeng Huang and Heng Chang and Yu Rong},
  title = {{Semi-Supervised Hierarchical Graph Classification}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  doi = {10.1109/tpami.2022.3203703},
}
Figure