Marius: Learning Massive Graph Embeddings on a Single Machine

Jason Mohoney, Roger Waleffe, Yiheng Xu, Theodoros Rekatsinas, Shivaram Venkataraman
1/20/2021
cs.LGcs.DBcs.DC

Official code: marius-team/marius (170 stars, C++, Apache-2.0, last commit 2025-02-25).

Abstract

We propose a new framework for computing the embeddings of large-scale graphs on a single machine. A graph embedding is a fixed length vector representation for each node (and/or edge-type) in a graph and has emerged as the de-facto approach to apply modern machine learning on graphs.

Show full abstract

We identify that current systems for learning the embeddings of large-scale graphs are bottlenecked by data movement, which results in poor resource utilization and inefficient training. These limitations require state-of-the-art systems to distribute training across multiple machines. We propose Marius, a system for efficient training of graph embeddings that leverages partition caching and buffer-aware data orderings to minimize disk access and interleaves data movement with computation to maximize utilization. We compare Marius against two state-of-the-art industrial systems on a diverse array of benchmarks. We demonstrate that Marius achieves the same level of accuracy but is up to one order of magnitude faster. We also show that Marius can scale training to datasets an order of magnitude beyond a single machine's GPU and CPU memory capacity, enabling training of configurations with more than a billion edges and 550 GB of total parameters on a single machine with 16 GB of GPU memory and 64 GB of CPU memory. Marius is open-sourced at www.marius-project.org.

View on arXivView PDF

Code Implementations(1)

marius-team/mariusOfficial100%
Apache-2.0

Large scale graph learning on a single machine.

17046C++, PythonMar 25, 20211 years agoApache-2.0

Similar Papers

Cite this paper

@article{mohoney2021marius,
  title  = {Marius: Learning Massive Graph Embeddings on a Single Machine},
  author = {Jason Mohoney and Roger Waleffe and Yiheng Xu and Theodoros Rekatsinas and Shivaram Venkataraman},
  year   = {2021},
  eprint = {2101.08358},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.08358}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.08358.svg)](https://codeofpaper.com/paper/2101.08358)

Discussion