TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/PyTorch-BigGraph: A Large-scale Graph Embedding System

PyTorch-BigGraph: A Large-scale Graph Embedding System

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

2019-03-28graph partitioningGraph EmbeddingLink Prediction
PaperPDFCode

Abstract

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.

Results

TaskDatasetMetricValueModel
Link PredictionLiveJournalHits@100.857PBG (1 partition)
Link PredictionLiveJournalMR245.9PBG (1 partition)
Link PredictionLiveJournalMRR0.749PyTorch BigGraph
Link PredictionFB15kHits@100.872PyTorch BigGraph (ComplEx)
Link PredictionFB15kMRR0.79PyTorch BigGraph (ComplEx)
Link PredictionFB15kMRR raw0.242PyTorch BigGraph (ComplEx)
Link PredictionYouTubeMacro F140.9PyTorch BigGraph
Link PredictionYouTubeMicro F148PyTorch BigGraph

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training2025-07-15Topic Modeling and Link-Prediction for Material Property Discovery2025-07-08Graph Collaborative Attention Network for Link Prediction in Knowledge Graphs2025-07-05Understanding Generalization in Node and Link Prediction2025-07-01Context-Driven Knowledge Graph Completion with Semantic-Aware Relational Message Passing2025-06-29Demystifying Distributed Training of Graph Neural Networks for Link Prediction2025-06-25Directed Link Prediction using GNN with Local and Global Feature Fusion2025-06-25