Heterogeneous Graph Neural Network With Multi-View Representation Learning

Zezhi Shao, Yongjun Xu, Wei Wei, Fei Wang, Zhao Zhang, Feida Zhu

TL;DR

This paper introduces MV-HetGNN, a novel framework for learning embeddings in heterogeneous graphs (HGs) by treating different semantic paths as distinct "views." It addresses the challenge of effectively leveraging both the diverse node/edge types (heterogeneity) and the rich relational information (semantics) within HGs, leading to more versatile and accurate node representations.

What Problem Does This Paper Address?

Heterogeneous graphs (HGs) are common in real-world data, representing complex relationships between different types of entities (e.g., authors, papers, conferences). Graph Neural Networks (GNNs) are powerful tools for learning from graph data, but applying them directly to HGs is challenging due to two main issues:

  1. Heterogeneity: Different node types have different feature spaces, and different edge types represent distinct relationships. Standard GNN aggregation mechanisms struggle to handle this diversity.
  2. Semantics: The meaning of relationships in HGs is often captured by "metapaths" – sequences of node and edge types that reveal higher-order semantic connections. Existing methods often fail to fully exploit these rich semantic structures or integrate them effectively.

Previous approaches either inadequately model local structures under specific semantics, neglect heterogeneity during aggregation, or fail to comprehensively fuse information from multiple semantic views, leading to suboptimal node embeddings.

Methods

MV-HetGNN tackles these challenges with a two-pronged approach inspired by Multi-View Representation Learning (MvRL):

  1. View-Specific Ego Graph Encoder:
    • Decomposition: The complex local structure around a target node is decomposed into multiple "view-specific ego graphs," each corresponding to a distinct metapath (semantic view). This preserves more complete local structure under each semantic compared to prior methods.
  2. Heterogeneity Handling: It uses a TransE-like mechanism to learn relation representations and model the mapping function between different node types, effectively addressing heterogeneity.
  3. Aggregation: It aggregates information within each view-specific ego graph in a bottom-up manner.
  4. Auto Multi-View Fusion Layer:
    • Hierarchical Autoencoders: This layer integrates the embeddings from the different view-specific encoders. It first uses view-specific autoencoders to compress representations within each view, then a supervised autoencoder to fuse these compressed representations.
  5. Versatility Guarantee: The fusion process is designed to provide a theoretical guarantee of versatility, meaning the fused representation is at least as good as any single view representation.
  6. Redundancy Reduction: Orthogonal regularization is applied to the encoder networks to reduce redundant information across different views.

Datasets

The paper evaluates MV-HetGNN on three real-world heterogeneous graph datasets:

  • DBLP: A dataset of academic publications, authors, and conferences. Used for node classification and node clustering.
  • IMDb: A dataset of movies, actors, and directors. Used for node classification and node clustering.
  • Last.fm: A dataset of users and artists, used for link prediction.

These datasets are standard benchmarks in the field, and the paper follows common practices for data partitioning and evaluation.

Key Insights and Ideas

  • Metapaths as Views: The core idea of treating each metapath as a distinct "view" of the target node's local structure is a powerful abstraction for handling HG semantics.
  • Ego Graph Completeness: Decomposing into view-specific ego graphs, which preserve more of the local structure than metapath-based neighborhoods or instances, is crucial for capturing rich information.
  • Theoretical Versatility: The explicit design of the fusion layer to provide a theoretical guarantee of versatility is a significant contribution, moving beyond heuristic fusion methods like simple concatenation or attention.
  • Orthogonality for Clarity: Using orthogonal regularization in the autoencoders helps disentangle information across views, leading to more distinct and informative embeddings.
  • Semantics Over Length: The experiments suggest that the semantic meaning of metapaths is more critical for performance than their length, highlighting the importance of carefully chosen metapaths.

Key Results

MV-HetGNN consistently outperforms state-of-the-art baselines across various tasks and datasets:

  • Node Classification: Achieves significant improvements, e.g., on DBLP, MV-HetGNN reaches 61.89% Macro-F1 (80% training), outperforming the best baseline (MAGNN) at 60.20%.
  • Node Clustering: Demonstrates superior performance, e.g., on DBLP, MV-HetGNN achieves 89.05% ARI, significantly better than the best baseline (HGT) at 85.68%.
  • Link Prediction: Achieves the highest AUC and AP scores on the Last.fm dataset, with MV-HetGNN reaching 92.80% AUC and 94.03% AP.
  • Ablation Studies:
    • The view-specific ego graph encoder outperforms previous methods like HAN and MAGNN.
  • The auto multi-view fusion layer significantly improves performance over simple fusion methods (concatenation, mean pooling, attention).
  • Both hierarchical autoencoders and orthogonal regularization are critical components for MV-HetGNN's success.

Limitations and Future Work

  • Parameter Sensitivity: The paper notes that the performance is sensitive to hyperparameter choices, particularly the embedding dimension (d) and the versatility weight (λ). While they provide guidelines, finding optimal parameters might require tuning.
  • Metapath Selection: The performance is influenced by the choice of metapaths. While the paper shows benefits from multiple metapaths, automatically discovering optimal metapaths could be a future direction.
  • Scalability: While the paper aims for scalability, the computational cost of processing multiple view-specific ego graphs and autoencoders might become a bottleneck for extremely large graphs.

Future work could explore automatic metapath discovery, further optimization for scalability, and extending the framework to dynamic heterogeneous graphs.

Summary updated

BibTeX
@article{shao2023heterogeneous,
  author = {Zezhi Shao and Yongjun Xu and Wei Wei and Fei Wang and Zhao Zhang and Feida Zhu},
  title = {{Heterogeneous Graph Neural Network With Multi-View Representation Learning}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2022.3224193},
}
Figure