Skip to main content
QUICK REVIEW

[Paper Review] Distributed GraphLab: A Framework for Machine Learning in the Cloud

Yucheng Low, Joseph E. Gonzalez|arXiv (Cornell University)|Apr 26, 2012
Graph Theory and AlgorithmsComputer Science34 references91 citations
TL;DR

This paper introduces Distributed GraphLab, a high-level framework for scalable machine learning and data mining in the cloud, extending the shared-memory GraphLab abstraction to distributed systems. It enables efficient asynchronous, dynamic, graph-parallel computation via pipelined locking, data versioning, and a novel atom graph for data placement, achieving 20–60x performance gains over Hadoop and matching hand-optimized MPI systems on Amazon EC2.

ABSTRACT

While high-level data parallel frameworks, like MapReduce, simplify the design and implementation of large-scale data processing systems, they do not naturally or efficiently support many important data mining and machine learning algorithms and can lead to inefficient learning systems. To help fill this critical void, we introduced the GraphLab abstraction which naturally expresses asynchronous, dynamic, graph-parallel computation while ensuring data consistency and achieving a high degree of parallel performance in the shared-memory setting. In this paper, we extend the GraphLab framework to the substantially more challenging distributed setting while preserving strong data consistency guarantees. We develop graph based extensions to pipelined locking and data versioning to reduce network congestion and mitigate the effect of network latency. We also introduce fault tolerance to the GraphLab abstraction using the classic Chandy-Lamport snapshot algorithm and demonstrate how it can be easily implemented by exploiting the GraphLab abstraction itself. Finally, we evaluate our distributed implementation of the GraphLab abstraction on a large Amazon EC2 deployment and show 1-2 orders of magnitude performance gains over Hadoop-based implementations.

Motivation & Objective

  • To address the limitations of existing frameworks like MapReduce and Pregel in supporting asynchronous, dynamic, graph-parallel computation for machine learning and data mining.
  • To extend the shared-memory GraphLab abstraction to the distributed setting while preserving strong data consistency and high parallel performance.
  • To reduce network congestion and mitigate network latency in distributed execution through graph-based data versioning and pipelined locking.
  • To enable fault tolerance in the framework using the Chandy-Lamport snapshot algorithm, natively expressible within the GraphLab abstraction.
  • To demonstrate significant performance improvements over Hadoop, Pregel, and MPI through large-scale evaluation on a 512-processor EC2 cluster.

Proposed method

  • Extends the GraphLab abstraction to distributed systems using a two-stage partitioning scheme for efficient load balancing and data ingress.
  • Introduces the atom graph to enable rapid, locality-aware placement of graph-structured data across distributed nodes.
  • Employs pipelined distributed locking to hide network latency and support dynamically prioritized execution in the locking engine.
  • Uses graph coloring to enable a partially synchronous chromatic engine for static schedules with sequential consistency.
  • Implements fault tolerance via two snapshotting schemes: a synchronous method and an asynchronous one based on Chandy-Lamport, both expressible using GraphLab primitives.
  • Optimizes the framework with data versioning to reduce network congestion and improve scalability in distributed environments.

Experimental results

Research questions

  • RQ1Can the GraphLab abstraction be effectively extended to the distributed setting while maintaining data consistency and high performance?
  • RQ2How can network congestion and latency be mitigated in distributed graph-parallel computation?
  • RQ3Can fault tolerance be efficiently integrated into the GraphLab abstraction using standard distributed algorithms?
  • RQ4To what extent does dynamic, asynchronous computation improve convergence in machine learning algorithms compared to synchronous or batch-based approaches?
  • RQ5How does the performance of Distributed GraphLab compare to Hadoop, Pregel, and hand-optimized MPI implementations on real-world workloads?

Key findings

  • Distributed GraphLab achieves 20–60x performance improvement over Hadoop/MapReduce implementations on a 512-processor Amazon EC2 cluster.
  • The framework matches the performance of carefully hand-tuned MPI implementations, demonstrating high efficiency in distributed execution.
  • Dynamic computation in GraphLab converges to equivalent test error in about half the number of updates compared to batch or synchronous methods, as shown in the Netflix recommendation task.
  • The price-performance ratio of GraphLab on Amazon EC2 is significantly better than Hadoop, with cost measured on a fine-grained billing model.
  • The locking engine with pipelined locking and latency hiding enables efficient asynchronous execution on general graph structures, outperforming synchronous models in dynamic workloads.
  • Fault tolerance is successfully implemented using Chandy-Lamport snapshots, and the mechanism can be natively expressed using GraphLab primitives, simplifying deployment and correctness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.