Easing Embedding Learning by Comprehensive Transcription of Heterogeneous Information Networks

Yu Shi, Qi Zhu, Fang Guo, Chao Zhang, Jiawei Han

TL;DR

The HEER algorithm addresses "semantic incompatibility" in Heterogeneous Information Networks (HINs) by learning edge-type-specific metrics alongside node embeddings. This allows the model to capture complex, multi-faceted relationships—like a user liking both a specific movie director and a specific genre—without forcing unrelated entities together in a single metric space or requiring manual "meta-path" engineering.

What Problem Does This Paper Address?

Most real-world networks are Heterogeneous Information Networks (HINs), meaning they contain multiple types of nodes (e.g., users, movies, actors) and multiple types of edges (e.g., "reviewed," "directed by," "belongs to genre").

The authors identify a core challenge called semantic incompatibility. Traditional embedding methods try to map all nodes into a single metric space. However, if a user "Stan" is close to the director "Ang Lee" and also close to the genre "Musical," the triangle inequality of a single metric space might force "Ang Lee" and "Musical" to be close to each other, even if they have no semantic relationship. This leads to information loss.

Furthermore, existing HIN embedding methods often rely on meta-paths (pre-defined sequences of node types, like Author-Paper-Author). These require significant domain expertise to select and may only capture a narrow slice of the network's total information.

Methods

The authors propose HEER (Heterogeneous Information Network Embedding via Edge Representations). Its key innovations include:

  1. Edge Representations ($g_{uv}$): Instead of just learning node vectors, HEER explicitly models the relationship between nodes. It decomposes node embeddings into "source" (out) and "target" (in) components to naturally handle both directed and undirected edges.
  2. Heterogeneous Metrics ($\mu_r$): This is the "secret sauce." For every edge type $r$, the model learns a specific metric vector $\mu_r$. This vector acts as a filter or weight on the edge embedding, effectively allowing the model to "view" the same node embeddings through different semantic lenses (manifolds) depending on the relationship being evaluated.
  3. Comprehensive Transcription: Unlike meta-path methods, HEER is unsupervised and considers all edge types simultaneously. It uses a "typed closeness" function and negative sampling to ensure that nodes connected by a specific edge type are close under that type's specific metric.

Datasets

The model was evaluated on two large-scale real-world HINs:

  • DBLP: A bibliographic network with 5 node types (author, paper, term, venue, year) and 5 edge types.
  • YAGO: A massive knowledge graph derived from Wikipedia and WordNet, featuring 7 node types and 24 distinct edge types (e.g., isMarriedTo, wasBornIn, playsFor).

Key Insights and Ideas

  • The "Manifold" Perspective: By using type-specific metrics ($\mu_r$), HEER avoids the "Stan/Ang Lee/Musical" trap. Stan can be close to Ang Lee in the "director" manifold and close to Musicals in the "genre" manifold, while Ang Lee and Musicals remain distant in their own respective spaces.
  • Quantifying Incompatibility: The authors used generalized Jaccard coefficients to prove that incompatibility is a real, measurable phenomenon in datasets like DBLP (e.g., authorship is highly incompatible with publishing year).
  • Emergent Meta-paths: A striking finding was that HEER, despite not being given any meta-paths, learned embeddings that naturally clustered nodes in ways that reflected complex meta-path relationships (as shown in their t-SNE visualizations).

Key Results

  • Edge Reconstruction: HEER significantly outperformed baselines like LINE, AspEm, and metapath2vec++ in Mean Reciprocal Rank (MRR). On DBLP, it achieved a micro-average MRR of 0.8189, compared to the next best baseline at 0.7310.
  • Robustness: HEER maintained superior performance even when a large portion of the network edges (up to 60%) were "knocked out" during testing.
  • Scalability: The algorithm's time complexity is linear with respect to the number of nodes, making it as efficient as standard skip-gram-based models while capturing much richer semantics.

Limitations and Future Work

  • Edge Embedding Functions: The current model uses a simple Hadamard product to build edge representations. The authors suggest exploring more complex functions, such as sub-networks or outer products.
  • Higher-Order Structures: While HEER handles direct edges well, the authors note that incorporating "network motifs" (small patterns of multiple nodes) could further boost performance.
  • Weighted Edges: Future iterations could move beyond binary edge existence to model edge weights, such as user-item ratings, using regression-based loss functions.

Summary updated

BibTeX
@inproceedings{shi2018easing,
  author = {Yu Shi and Qi Zhu and Fang Guo and Chao Zhang and Jiawei Han},
  title = {{Easing Embedding Learning by Comprehensive Transcription of Heterogeneous Information Networks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2018},
  doi = {10.1145/3219819.3220006},
}

Loading related content...

Figure