Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PyTorch-BigGraph: A Large-scale Graph Embedding System

About

Graph embedding methods produce unsupervised node features from graphs that can then be used for a variety of machine learning tasks. Modern graphs, particularly in industrial applications, contain billions of nodes and trillions of edges, which exceeds the capability of existing embedding systems. We present PyTorch-BigGraph (PBG), an embedding system that incorporates several modifications to traditional multi-relation embedding systems that allow it to scale to graphs with billions of nodes and trillions of edges. PBG uses graph partitioning to train arbitrarily large embeddings on either a single machine or in a distributed environment. We demonstrate comparable performance with existing embedding systems on common benchmarks, while allowing for scaling to arbitrarily large graphs and parallelization on multiple machines. We train and evaluate embeddings on several large social network graphs as well as the full Freebase dataset, which contains over 100 million nodes and 2 billion edges.

Adam Lerer, Ledell Wu, Jiajun Shen, Timothee Lacroix, Luca Wehrstedt, Abhijit Bose, Alex Peysakhovich• 2019

Related benchmarks

TaskDatasetResultRank
Link PredictionFB15K (test)
Hits@100.872
164
Link PredictionWikidata5M (test)
MRR0.184
58
Link PredictionFacebook (test)--
18
Link PredictionWikiKG90M v2
Hits@1076.93
15
Link PredictionYAGO 4.5+T
Hits@1076.62
12
Link PredictionYAGO3
Hits@1065.62
10
Link PredictionLiveJournal (test)
MRR0.749
8
Link PredictionYAGO 4.5
Hits@1066.42
8
Link PredictionYAGO4
Hits@100.803
6
Link PredictionFreebase
Hits@1080.53
6
Showing 10 of 20 rows

Other info

Code

Follow for update