Abstract
Heterogeneous Information Networks (HINs) contain diverse entity types and complex relationships. Traditional embedding methods rely heavily on manually defined meta-paths, which are often biased and fail to capture the full structural "blueprint" or network schema. We present NSHE (Network Schema Preserving HIN Embedding), a novel framework that automatically preserves high-order network schemas. By sampling "schema instances" and utilizing a multi-task learning objective, NSHE achieves state-of-the-art performance in node classification and clustering across multiple real-world datasets without the need for expert-tuned meta-paths.
Introduction: The Meta-path Dilemma
Most real-world data is heterogeneous, consisting of various entity types (e.g., authors, papers, venues) and multi-faceted relationships (e.g., "writes," "publishes"). To analyze these Heterogeneous Information Networks (HINs), researchers typically project nodes into a low-dimensional space via embeddings.
The dominant approach for HIN embedding has been the use of meta-paths—predefined sequences of node types like Author-Paper-Author. However, this approach suffers from two significant flaws. First, it is highly domain-dependent, requiring expert knowledge to select the "right" paths. Second, it leads to information loss, as linear meta-paths often fail to capture the complex, multi-dimensional "blueprint" of the network, known as the Network Schema.
The NSHE Framework
NSHE addresses these challenges by moving away from path-based constraints toward schema-based preservation. The model consists of three primary components:
- Heterogeneous Node Embedding: The model projects various node features into a common latent space using type-specific mapping matrices. A Graph Convolutional Network (GCN) then aggregates information from local neighbors to generate initial embeddings.
- Preserving Pairwise Proximity: This standard objective ensures that nodes directly connected by an edge have similar embeddings, maintaining the basic topology of the graph.
- Preserving Network Schema Proximity: This is the core innovation of NSHE. Instead of paths, the model samples "schema instances"—sub-graphs containing exactly one node of every type defined in the network's schema. This ensures the model captures the full context of how different entities interact simultaneously.
To preserve this proximity, NSHE employs Multi-task Learning. For every sampled instance, the model performs a "leave-one-out" prediction, attempting to predict a target node given the other nodes in the instance. By using type-specific classifiers, the model effectively learns the inherent heterogeneity of the data.
Experimental Evaluation
The authors evaluated NSHE on three standard real-world HIN datasets: DBLP (bibliographic), IMDB (movie), and ACM (citation). NSHE was compared against seven state-of-the-art methods, including DeepWalk, Metapath2Vec, and HeGAN.
Key Results
- Classification: NSHE achieved the highest Micro-F1 and Macro-F1 scores across all datasets. On DBLP-P, it reached a 95.24% Micro-F1, significantly outperforming Metapath2Vec (92.86%).
- Clustering: The model showed dramatic improvements in Normalized Mutual Information (NMI). On the IMDB dataset, NSHE achieved an NMI of 7.58, whereas traditional meta-path methods struggled to exceed 1.0.
- Visualization: t-SNE visualizations demonstrated that NSHE creates much tighter, more distinct clusters for different research areas compared to baselines, even without prior label information.
Discussion and Future Work
NSHE's success stems from treating the network schema as a uniform blueprint, eliminating the "meta-path selection dilemma." By sampling instances with exactly one node per type, NSHE also prevents embeddings from being overwhelmed by high-frequency node types (e.g., "Terms" vs. "Venues").
However, some areas remain for future exploration. In extremely dense networks with many node types, the cost of sampling valid schema instances could become a bottleneck. Additionally, the current model assumes a static schema; future work could investigate how to handle evolving or noisy schemas where certain relations may be missing or dynamic.
Summary updated