Command Palette
Search for a command to run...
Aditya Grover; Jure Leskovec

Abstract
Prediction tasks over nodes and edges in networks require careful effort in engineering features used by learning algorithms. Recent research in the broader field of representation learning has led to significant progress in automating prediction by learning the features themselves. However, present feature learning approaches are not expressive enough to capture the diversity of connectivity patterns observed in networks. Here we propose node2vec, an algorithmic framework for learning continuous feature representations for nodes in networks. In node2vec, we learn a mapping of nodes to a low-dimensional space of features that maximizes the likelihood of preserving network neighborhoods of nodes. We define a flexible notion of a node's network neighborhood and design a biased random walk procedure, which efficiently explores diverse neighborhoods. Our algorithm generalizes prior work which is based on rigid notions of network neighborhoods, and we argue that the added flexibility in exploring neighborhoods is the key to learning richer representations. We demonstrate the efficacy of node2vec over existing state-of-the-art techniques on multi-label classification and link prediction in several real-world networks from diverse domains. Taken together, our work represents a new way for efficiently learning state-of-the-art task-independent representations in complex networks.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| link-prediction-on-usair | N2V | AUC: 91.44 |
| link-property-prediction-on-ogbl-citation2 | Node2vec | Ext. data: No Number of params: 374911105 Test MRR: 0.6141 ± 0.0011 Validation MRR: 0.6124 ± 0.0011 |
| link-property-prediction-on-ogbl-collab | Node2vec | Ext. data: No Number of params: 30322945 Test Hits@50: 0.4888 ± 0.0054 Validation Hits@50: 0.5703 ± 0.0052 |
| link-property-prediction-on-ogbl-ddi | Node2vec | Ext. data: No Number of params: 645249 Test Hits@20: 0.2326 ± 0.0209 Validation Hits@20: 0.3292 ± 0.0121 |
| link-property-prediction-on-ogbl-ppa | Node2vec | Ext. data: No Number of params: 73878913 Test Hits@100: 0.2226 ± 0.0083 Validation Hits@100: 0.2253 ± 0.0088 |
| malware-detection-on-android-malware-dataset | node2vec | Accuracy: 81.25 |
| node-classification-on-blogcatalog | node2vec | Accuracy: 21.50% Macro-F1: 0.206 |
| node-classification-on-wikipedia | node2vec | Accuracy: 19.10% Macro-F1: 0.179 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.