Introduction
Heterogeneous graphs (HGs), characterized by diverse entity types and multi-relational edges, are foundational to complex systems such as recommendation engines and bibliographic databases. While standard Graph Neural Networks (GNNs) excel in homogeneous settings, adapting them to HGs typically involves manually defined "meta-paths" or resource-intensive attention mechanisms. Meta-paths require significant domain expertise and struggle with scalability, while attention-based models often prioritize node features over the rich structural variety inherent in different relation types.
To overcome these limitations, we present PC-HGN (Relation-centered Pooling and Convolution for Heterogeneous Graph Learning). This framework automates the encoding of relational structures by treating different edge types as distinct channels, similar to RGB channels in computer vision, thereby capturing complex structural patterns more efficiently.
Methodology
The PC-HGN architecture is built upon two core innovations designed to leverage the unique semantics of heterogeneous relations.
Relation-specific Pooling
Rather than aggregating all neighbors indiscriminately, PC-HGN decomposes the graph into subgraphs based on relation types. For each relation, the model projects neighbor features onto a trainable importance vector. It then performs adaptive sampling, retaining only the top-$k$ most relevant neighbors. This importance-based pooling reduces noise from irrelevant connections and significantly enhances computational efficiency.
Cross-relation Convolutions
The defining feature of PC-HGN is the treatment of relations as "channels." After pooling, sampled features from various relations are stacked into a 3D tensor (Relation Type $\times$ Sampled Neighbors $\times$ Feature Dimensions). A convolutional layer is then applied across these relation channels. This allows the model to learn how different types of interactions (e.g., "Author-writes-Paper" vs. "Paper-published in-Conference") jointly influence a node's representation.
Experimental Evaluation
PC-HGN was evaluated on three benchmark datasets: DBLP (citation network), ACM (citation network), and IMDB (movie metadata). The task across these datasets was node classification, testing the model's ability to navigate heterogeneous structures.
Key Results and Insights
PC-HGN consistently outperformed both homogeneous baselines (e.g., GraphSAGE) and state-of-the-art heterogeneous models (e.g., HAN, HGT), achieving performance gains of up to 17.8%.
Ablation studies highlighted the critical role of the convolutional component. Removing the cross-relation convolution resulted in a performance drop of 11.4% on DBLP and 11.6% on ACM, confirming that the interaction between relation types is vital for capturing heterogeneity. Furthermore, PCA visualizations of the learned embeddings demonstrate that PC-HGN successfully maps complex relational data into a latent space where different node classes form distinct, well-separated clusters.
Conclusion
PC-HGN shifts the focus of heterogeneous graph learning from manual feature engineering and heavy attention weights to automated, relation-centered structural encoding. By treating relations as channels and employing efficient importance-based sampling, the model achieves superior performance with reduced computational overhead. Future work will explore scaling the architecture to massive knowledge graphs with hundreds of relation types and adapting the framework for dynamic, time-evolving graphs.
Summary updated