Skip to main content
QUICK REVIEW

[Paper Review] Petuum: A New Platform for Distributed Machine Learning on Big Data

Eric P. Xing, Qirong Ho|arXiv (Cornell University)|Dec 30, 2013
Graph Theory and AlgorithmsComputer Science26 references9 citations
TL;DR

Petuum is a distributed machine learning platform that enables efficient, scalable execution of large-scale ML workloads by leveraging iterative-convergent optimization, bounded-error synchronization, and dynamic scheduling. It achieves 2–10x speedups over Spark, GraphLab, and YahooLDA, and supports models up to 100 billion parameters on modest clusters, demonstrating superior performance and scalability for Big Data and Big Models.

ABSTRACT

What is a systematic way to efficiently apply a wide spectrum of advanced ML programs to industrial scale problems, using Big Models (up to 100s of billions of parameters) on Big Data (up to terabytes or petabytes)? Modern parallelization strategies employ fine-grained operations and scheduling beyond the classic bulk-synchronous processing paradigm popularized by MapReduce, or even specialized graph-based execution that relies on graph representations of ML programs. The variety of approaches tends to pull systems and algorithms design in different directions, and it remains difficult to find a universal platform applicable to a wide range of ML programs at scale. We propose a general-purpose framework that systematically addresses data- and model-parallel challenges in large-scale ML, by observing that many ML programs are fundamentally optimization-centric and admit error-tolerant, iterative-convergent algorithmic solutions. This presents unique opportunities for an integrative system design, such as bounded-error network synchronization and dynamic scheduling based on ML program structure. We demonstrate the efficacy of these system designs versus well-known implementations of modern ML algorithms, allowing ML programs to run in much less time and at considerably larger model sizes, even on modestly-sized compute clusters.

Motivation & Objective

  • To address the scalability gap between academic ML implementations and industrial deployment on large clusters.
  • To overcome limitations of existing platforms like Hadoop, Spark, and GraphLab in handling large models and fine-grained synchronization.
  • To unify data- and model-parallelism in a single framework that supports diverse ML algorithms.
  • To enable efficient, correct, and programmable execution of advanced ML algorithms on modest-sized clusters.
  • To demonstrate that systematic system design based on ML algorithm structure can significantly improve performance and scalability.

Proposed method

  • Leverages the iterative-convergent nature of ML algorithms as a foundation for system design, enabling error-tolerant and convergent computation.
  • Introduces a bounded-error network synchronization mechanism to ensure correctness while allowing asynchrony for performance.
  • Employs a dynamic scheduler that exploits data and model dependencies to optimize computation and communication scheduling.
  • Uses a lightweight parameter server architecture with minimal storage overhead to support model-parallelism across machines.
  • Applies dependency-aware scheduling to enable correct and efficient model-parallel execution of algorithms like LDA and matrix factorization.
  • Supports both data-parallel and model-parallel execution patterns through a unified abstraction, enabling portability across diverse ML programs.

Experimental results

Research questions

  • RQ1Can a general-purpose distributed ML platform effectively handle both Big Data and Big Models with high efficiency and correctness?
  • RQ2How can bounded-error synchronization and dynamic scheduling improve performance in distributed ML without sacrificing convergence guarantees?
  • RQ3To what extent can a single framework support diverse ML algorithms, including LDA, matrix factorization, and deep learning, across different hardware configurations?
  • RQ4Can Petuum achieve near-linear speedup for cluster implementations of single-machine algorithms like Caffe and DML?
  • RQ5How does Petuum’s model-parallelism and parameter server design enable scaling to models with over 100 billion parameters on limited hardware?

Key findings

  • Petuum achieves 2–6x speedup over Spark and GraphLab on matrix factorization and LDA workloads, with up to 6x speedup over YahooLDA on LDA due to superior scheduling.
  • Petuum is the only platform that successfully scales matrix factorization to ranks K ≥ 1000 on the given hardware, outperforming both Spark and GraphLab.
  • The Petuum implementation of Caffe CNN achieves 3.1x speedup on 4 machines, demonstrating near-linear scaling with minimal code changes.
  • The Petuum DML implementation converges 3.8x faster than the single-machine Xing2002 implementation on 4 machines, showing strong performance for data-parallel SGD.
  • Petuum LDA converges faster and supports LDA models over 10 times larger than YahooLDA’s data-parallel-only implementation, enabling long-tail topic capture.
  • Petuum’s model-parallelism and lightweight parameter server reduce memory overhead, enabling larger models to be trained within fixed cluster memory budgets.

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.