GraphVite - graph embedding at high speed and large scale¶
GraphVite is a general graph embedding engine, dedicated to high-speed and large-scale embedding learning in various applications. By cooperating CPUs and GPUs for learning, it scales to million-scale or even billion-scale graphs. With its Python interface, you can easily practice advanced graph embedding algorithms, and get results in incredibly short time.
Try GraphVite if you have any of the following demands.
You want to reproduce graph learning algorithms on a uniform platform.
You need fast visualization for graphs or high-dimensional data.
You are tired of waiting a long time for prototyping or tuning models.
You need to learn representations of large graphs or knowledge graphs.
Generally, GraphVite provides complete training and evaluation pipelines for 3 applications: node embedding, knowledge graph embedding and graph & high-dimensional data visualization. Besides, it also includes 9 popular models, along with their benchmarks on a bunch of standard datasets.
How fast is GraphVite?¶
To give a brief idea of GraphVite’s speed, we summarize the training time of GraphVite along with the best open-source implementations. All the time is reported based on a server with 24 CPU threads and 4 V100 GPUs.
Node embedding on Youtube dataset.
Model |
Existing Implementation |
GraphVite |
Speedup |
---|---|---|---|
1.19 mins |
82.9x |
||
1.17 mins |
71.4x |
||
4.39 mins |
334x |
Knowledge graph embedding on FB15k dataset.
Model |
Existing Implementation |
GraphVite |
Speedup |
---|---|---|---|
14.8 mins |
5.30x |
||
27.0 mins |
8.22x |
High-dimensional data visualization on MNIST dataset.
Model |
Existing Implementation |
GraphVite |
Speedup |
---|---|---|---|
15.1 s |
60.8x |
Comparison to concurrent work¶
A work concurrent to GraphVite is PyTorch-BigGraph, which aims at accelerating knowledge graph embedding on large-scale data. Here is an apple-to-apple comparison of models implemented in both libraries on FB15k, under the same hyperparameter setting.
Model |
PyTorch-BigGraph |
GraphVite |
Speedup |
---|---|---|---|
1.21 hrs |
11.1 mins |
6.57x |
|
2.48 hrs |
25.0 mins |
5.93x |
|
3.13 hrs |
20.6 mins |
9.13x |
GraphVite surpasses its counterpart by a signficant margin. Besides, the framework of GraphVite also supports two more applications, and provides many benchmarks for easy research and development.