Local Structural Aware Heterogeneous Information Network Embedding Based on Relational Self-Attention Graph Neural Network

Meng Cao, Jinliang Yuan, Ming Xu, Hualei Yu, Chongjun WangIEEE Access 2021

Introduction

Real-world data is inherently heterogeneous, often represented as Heterogeneous Information Networks (HINs). Unlike homogeneous graphs, HINs contain multiple types of nodes and edges. For instance, a bibliographic network includes Authors, Papers, and Conferences, connected by relations like "writes" or "publishes in." To leverage machine learning on these networks, they must be embedded into low-dimensional vector spaces.

Historically, HIN embedding has relied heavily on "meta-paths"—predefined sequences of node types (e.g., Author-Paper-Author) that capture specific semantic relationships. However, manual meta-path engineering requires significant domain expertise and often fails to capture "implicit semantics"—high-order relationships between nodes that are not directly connected but share structural proximity.

Figure 1: Illustration of a Heterogeneous Information Network (a) and the concepts of meta-paths versus neighbor aggregation (b), highlighting explicit and implicit relations.

The LSA-HNE Framework

To address these challenges, this paper introduces LSA-HNE (Local Structural Aware Heterogeneous Information Network Embedding). The model eliminates the need for manual meta-path selection by automating relationship extraction through two primary components: a Relational Self-Attention Graph Neural Network (RSANN) and a Local Structural Aware Embedding module.

Relational Self-Attention Graph Neural Network (RSANN)

The RSANN module utilizes a multi-head self-attention mechanism to learn node representations. It first projects different node types into a unified feature space. Then, it calculates attention scores based on the specific relation types between a target node and its neighbors. This allows the model to dynamically weigh the importance of different neighbor types, effectively "learning" the most relevant meta-paths for a given task without human intervention.

Local Structural Aware Embedding

To capture implicit high-order structures, LSA-HNE employs a Biased Random Walk with Restart (biased-RWR). This strategy explores the local neighborhood of a node, identifying nodes that are structurally close even if no direct edge exists between them. By treating these co-occurring nodes as "implicit edges," the model can bake broader structural context into the final embeddings.

Figure 6: Visualization of the random walk process used to capture local structural information and identify implicit relationships within the HIN.

A contrastive loss function is applied during training to maximize the similarity between nodes that appear together in these local walks, ensuring that the resulting vectors reflect both explicit connectivity and implicit structural patterns.

Experimental Evaluation

The authors evaluated LSA-HNE on four benchmark HIN datasets: DBLP, IMDB, ACM, and Yelp. Node features were initialized using XLNet for text-rich nodes or DeepWalk for others.

Key Results

LSA-HNE was compared against eight baselines, including homogeneous models (GAT, node2vec) and state-of-the-art heterogeneous models (HAN, HGT).

  • Quantitative Performance: LSA-HNE achieved superior results across nearly all metrics. Notably, on the DBLP dataset, it outperformed the HGT model by approximately 1.1% in Micro-F1. On IMDB, it showed a 2.2% improvement over HAN.
  • Ablation Studies: Removing the implicit edge component led to a significant drop in performance, confirming that capturing high-order local structure is critical for effective HIN embedding.
  • Visualization: t-SNE plots demonstrated that LSA-HNE produces more distinct and cohesive clusters for different node classes compared to traditional attention-based models.

Conclusion

LSA-HNE represents a significant step forward in HIN embedding by automating the discovery of complex relationships and incorporating implicit local structures. By moving away from manual meta-path engineering, the model offers a more scalable and robust solution for analyzing heterogeneous data. Future work will focus on adaptive methods to automatically balance node attributes and structural information, further reducing the need for manual hyperparameter tuning.

Summary updated

BibTeX
@article{cao2021local,
  author = {Meng Cao and Jinliang Yuan and Ming Xu and Hualei Yu and Chongjun Wang},
  title = {{Local Structural Aware Heterogeneous Information Network Embedding Based on Relational Self-Attention Graph Neural Network}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2021.3090055},
}
Figure