A Post-Training Framework for Improving Heterogeneous Graph Neural Networks

Cheng Yang, Xumeng Gong, Chuan Shi, Philip S. Yu · DOI

Abstract

Heterogeneous Graph Neural Networks (HGNNs) are essential for modeling complex relational data in Heterogeneous Information Networks (HINs). However, standard HGNNs often struggle with "hard nodes"—specifically those geographically distant from training labels or those situated in noisy neighborhoods. We present HGPF, a model-agnostic post-training framework designed to boost the performance of any pretrained HGNN. By integrating an auxiliary system that utilizes Multi-Channel Label Propagation and schema-aware local inference, HGPF captures long-range label dependencies and filters out local noise. Our evaluation across major benchmarks shows a 3.9% average improvement in classification accuracy, demonstrating the framework's effectiveness and data efficiency.

Introduction: The "Hard Node" Challenge

Heterogeneous Information Networks (HINs), such as citation networks or movie databases, contain multiple types of nodes and edges. While HGNNs are the standard tool for these graphs, they face two significant structural limitations:

  1. The "Far-Away" Problem: HGNNs struggle to predict labels for nodes that are topologically distant from training nodes of the same category. Increasing model depth to reach these nodes often leads to "over-smoothing," where node representations become indistinguishable.
  2. The "Noisy Neighbor" Problem: Performance drops when a node's immediate neighborhood is dominated by training nodes from different categories, which "pollutes" the message-passing process with irrelevant information.
Figure 2: Accuracy gains from HGPF across different node types, highlighting improvements for 'far' nodes and nodes in 'different' category neighborhoods.

Methodology: The HGPF Framework

Instead of proposing a new HGNN architecture, HGPF introduces a post-training phase that treats the pretrained HGNN as a base and pairs it with an Auxiliary System. This system consists of two primary modules:

Global Inference Module (MCLP)

To solve the "Far-Away" problem, the authors employ Multi-Channel Label Propagation (MCLP). Unlike standard neural message passing which propagates hidden features, MCLP propagates actual labels across meta-paths. This approach can reach 8–10 layers deep—up to 5 times farther than typical HGNNs—without suffering from over-smoothing. This allows the model to identify distant "relatives" in the graph structure.

Local Inference Module

This module addresses the "Noisy Neighbor" problem through network schema-aware prediction. By projecting different node types into a shared space and averaging labels within a local schema instance, the model can effectively ignore neighbors that do not fit the expected structural pattern defined by the network schema.

Figure 5: Visualization of (b) Meta-paths and (c) Network schema, which form the structural basis for HGPF's inference modules.

Consistency-Based Optimization

The framework optimizes for two levels of consistency:

  • System-Level Consistency: Forcing the pretrained HGNN and the Auxiliary System to align their predictions.
  • Module-Level Consistency: Ensuring the global and local modules within the auxiliary system are mutually reinforcing.

A dynamic weighting parameter ($\gamma_v$) is learned for every node, allowing the system to rely more on the Global Module in sparse regions and the Local Module in dense, potentially noisy neighborhoods.

Experimental Results

The authors evaluated HGPF on three benchmarks (ACM, DBLP, and IMDB) using four backbone models: HAN, HGT, Simple-HGN, and MAGNN.

  • Consistent Performance Gains: HGPF improved Micro-F1 scores across all models and datasets, with an average relative improvement of 3.9%.
  • Data Efficiency: Remarkably, HGPF trained with only 10 labeled nodes per class often outperformed standard HGNNs trained with 100 labeled nodes per class.
  • State-of-the-Art (SOTA): When applied to the MAGNN backbone, the framework surpassed existing enhancement methods like RDD and CPF, setting new performance standards on all tested benchmarks.
  • Computational Efficiency: The post-training process is highly efficient; for instance, training on the ACM dataset takes approximately 5 minutes on a single RTX 3090 GPU.

Conclusion and Future Directions

HGPF provides a practical, model-agnostic solution for enhancing HGNNs without the need for architectural redesign. While currently optimized for semi-supervised node classification on static graphs, future work may extend this framework to dynamic graphs and other tasks such as link prediction or clustering. The success of propagating labels over representations suggests a promising shift in how we handle long-range dependencies in heterogeneous networks.

Summary updated

BibTeX
@inproceedings{yang2023post,
  author = {Cheng Yang and Xumeng Gong and Chuan Shi and Philip S. Yu},
  title = {{A Post-Training Framework for Improving Heterogeneous Graph Neural Networks}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583282},
}
Figure