Papers › metapath2vec: Scalable Representation Learning for Heterogeneous Networks

metapath2vec: Scalable Representation Learning for Heterogeneous Networks

1 Aug 2017KDD 17 2017 8archive 2025-07-28

Yuxiao Dong, Nitesh Vijay Chawla, Ananthram Swami

We study the problem of representation learning in heterogeneous networks. Its unique challenges come from the existence of multiple types of nodes and links, which limit the feasibility of the conventional network embedding techniques. We develop two scalable representation learning models, namely metapath2vec and metapath2vec++. The metapath2vec model formalizes meta-path-based random walks to construct the heterogeneous neighborhood of a node and then leverages a heterogeneous skip-gram model to perform node embeddings. The metapath2vec++ model further enables the simultaneous modeling of structural and semantic correlations in heterogeneous networks. Extensive experiments show that metapath2vec and metapath2vec++ are able to not only outperform state-of-the-art embedding models in various heterogeneous network mining tasks, such as node classification, clustering, and similarity search, but also discern the structural and semantic correlations between diverse network objects.

PaperPDFCode

Syntology This paper has no arXiv id in the archive, and this site joins papers to Syntology's graph by arXiv id, so this page does not say whether the graph holds it.

Code

dmlc/dgl pytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to node2vec: Scalable Feature Learning for Networks (arXiv:1607.00653; that paper's own run record: 15 ran (of which 2 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 0 violated, 10 with no contract checked; 3 where Syntology's instrument failed) · 10 unverified), Interaction Networks for Learning about Objects, Relations and Physics (arXiv:1612.00222; that paper's own run record: 6 ran (of which 6 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 0 violated, 6 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified; every one of the 6 samples that ran constructed an object rather than computing a result), Junction Tree Variational Autoencoder for Molecular Graph Generation (arXiv:1802.04364; that paper's own run record: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result) and 3 more (every one in this page's JSON twin); nothing checks that they implement this paper's method. report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

ClusteringLink PredictionNetwork EmbeddingNode ClassificationNode Property PredictionRepresentation Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Link Prediction MovieLens 25M metapath2vec Hits@10 0.7956 #5 of 7 Archive leaderboard report
Link Prediction MovieLens 25M metapath2vec nDCG@10 0.5051 #5 of 7 Archive leaderboard report
Link Prediction Yelp Metapath2Vec HR@10 0.6307 #7 of 9 Archive leaderboard report
Link Prediction Yelp Metapath2Vec nDCG@10 0.402 #7 of 9 Archive leaderboard report
Node Property Prediction ogbn-mag MetaPath2vec Ext. data No #36 of 39 Archive leaderboard report
Node Property Prediction ogbn-mag MetaPath2vec Number of params 94479069 #36 of 39 Archive leaderboard report
Node Property Prediction ogbn-mag MetaPath2vec Test Accuracy 0.3544 ± 0.0036 #36 of 39 Archive leaderboard report
Node Property Prediction ogbn-mag MetaPath2vec Validation Accuracy 0.3506 ± 0.0017 #36 of 39 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: metapath2vec

metapath2vec

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections