Introduction
Heterogeneous Information Networks (HINs) are essential for modeling complex real-world systems, such as social networks, bibliographic databases, and knowledge graphs. Unlike homogeneous networks, HINs consist of multiple types of nodes and edges, each carrying distinct semantic meanings. However, traditional network embedding techniques often struggle with a phenomenon known as semantic incompatibility.
Semantic incompatibility occurs when a model attempts to project all nodes into a single, unified metric space. In such a space, the triangle inequality can lead to unintended consequences. For example, if a user "Stan" is close to a director "Ang Lee" and also close to the genre "Musical," a single metric space might force "Ang Lee" and "Musical" to be close to each other. In reality, a director and a genre may have no direct semantic relationship. This constraint limits the model's ability to capture the multi-faceted nature of entities in an HIN.
To address this, the HEER (Heterogeneous Information Network Embedding via Edge Representations) framework introduces a method to learn edge-type-specific metrics alongside node embeddings, allowing for a more nuanced transcription of the network's information.
The HEER Framework
HEER shifts the focus from learning simple node proximities to modeling the relationships (edges) between nodes. Its architecture is built on three primary pillars:
1. Edge Representations
Instead of relying solely on node vectors, HEER explicitly constructs edge representations. To handle the directed nature of many HIN relationships, each node is assigned two distinct embeddings: a "source" (out-degree) vector and a "target" (in-degree) vector. An edge between nodes $u$ and $v$ is represented by a function $g(u, v)$, typically the Hadamard product of their respective embeddings.
2. Heterogeneous Metrics
The core innovation of HEER is the introduction of type-specific metrics, $\mu_r$, for each edge type $r$. These metrics act as learnable filters that weight the dimensions of the edge representation. This allows the model to "view" the same underlying node embeddings through different semantic lenses. In the "director" manifold, Stan and Ang Lee can be close, while in the "genre" manifold, Stan and Musicals are close, without requiring Ang Lee and Musicals to overlap.
3. Comprehensive Transcription
Unlike many existing HIN methods that rely on manually engineered "meta-paths" (e.g., Author-Paper-Venue), HEER is an unsupervised approach that considers all edge types simultaneously. It employs a "typed closeness" function and negative sampling to ensure that nodes connected by a specific relationship are proximal within that relationship's unique metric space.
Experimental Results
The effectiveness of HEER was evaluated on two large-scale datasets: DBLP (a computer science bibliography) and YAGO (a general-purpose knowledge graph).
Performance in Edge Reconstruction
HEER demonstrated significant improvements in edge reconstruction tasks, which measure the model's ability to predict missing links in the network. On the DBLP dataset, HEER achieved a micro-average Mean Reciprocal Rank (MRR) of 0.8189, substantially outperforming baselines like metapath2vec++ (0.7310) and LINE (0.5052). This suggests that modeling edge-specific metrics captures significantly more information than unified space or meta-path-based methods.
Robustness and Scalability
The model proved remarkably robust; even when 60% of the network's edges were removed during training, HEER maintained its performance lead over other methods. Furthermore, the algorithm's time complexity is linear with respect to the number of nodes, making it highly scalable for massive real-world graphs.
Conclusion
HEER provides a powerful solution to the semantic incompatibility problem in HIN embeddings. By allowing entities to exist in multiple semantic manifolds simultaneously through type-specific metrics, it preserves the rich, multi-faceted information inherent in complex networks. Future research may explore more complex edge embedding functions or the incorporation of higher-order network structures to further refine the transcription process.
Summary updated