Introduction
Heterogeneous graphs (HGs) are essential for modeling complex real-world systems, such as academic networks and e-commerce platforms, where nodes and edges belong to multiple types. While Graph Neural Networks (GNNs) have shown success in homogeneous graphs, extending them to HGs remains challenging. Existing methods often rely on manually designed meta-paths or fail to capture the hierarchical importance of different relations. This paper introduces HGConv, a novel convolutional approach that employs a hybrid micro/macro strategy to learn robust representations from heterogeneous data without requiring domain-specific knowledge.
Problem Statement
Standard GNNs like GCN or GAT typically treat all nodes and edges as homogeneous, leading to significant information loss in heterogeneous settings. Specialized models like HAN utilize meta-paths, which are sequences of relations (e.g., Author-Paper-Author). However, meta-paths require expert domain knowledge and may not capture all relevant structural patterns. Other models like HGT attempt to handle heterogeneity but often struggle to distinguish the relative importance of different relationship types effectively. HGConv addresses these limitations by automating the discovery of relation importance at both local and global scales.
Methodology: The HGConv Framework
The core of HGConv is the Hybrid Micro/Macro Level Convolutional Layer. This architecture processes information through two distinct stages of aggregation to capture the multi-level nature of heterogeneity.
Micro-level Convolution
At the micro level, the model focuses on interactions within specific relation types. It employs type-specific transformation matrices to project features into a common space and uses an attention mechanism to weight the influence of neighbors. This allows the model to learn, for example, which specific co-authors are most relevant to a researcher's representation within a "co-authorship" relation.
Macro-level Convolution
Once relation-specific insights are gathered, the macro-level convolution distinguishes the importance of different relation types. Using a weight-sharing attention vector, the model adaptively aggregates information across various relations (e.g., "published-in" vs. "references"). This dual-level attention ensures that the model captures both fine-grained node interactions and broader relational patterns.
Weighted Residual Connection
To further enhance learning, HGConv incorporates a Weighted Residual Connection. Unlike standard residual connections that use simple addition, this feature employs a learnable parameter to adaptively balance a node's original attributes with the aggregated neighborhood information. This prevents the model from being overwhelmed by noisy neighborhood data.
Experimental Evaluation
The performance of HGConv was evaluated on three real-world datasets:
- ACM-3 & ACM-5: Academic networks categorized by research areas.
- IMDB: A movie network with nodes for movies, directors, and actors, categorized by genre.
The model was compared against several state-of-the-art baselines, including GCN, GAT, RGCN, HAN, and HGT.
Results and Discussion
HGConv consistently outperformed all baseline models in both node classification and clustering tasks.
Node Classification
In classification experiments, HGConv achieved superior Macro-F1 and Micro-F1 scores across all datasets and training ratios. Notably, on the IMDB dataset, HGConv showed a performance gain of over 2% compared to the strongest baseline, HGT.
Node Clustering
Clustering performance, measured by Adjusted Rand Index (ARI) and Normalized Mutual Information (NMI), further validated the model's effectiveness. HGConv improved clustering metrics by up to 4.2% over existing methods, indicating that it learns more discriminative and meaningful node representations.
Conclusion
HGConv introduces a powerful and interpretable framework for heterogeneous graph learning. By leveraging a hybrid micro/macro convolutional strategy and weighted residual connections, it effectively captures complex structural information without the need for manual meta-path design. While the model shows sensitivity to depth—a common trait in GNNs—its ability to provide clear attention-based interpretability makes it a valuable tool for analyzing diverse real-world networks.
Summary updated