Skip to main content
QUICK REVIEW

[Paper Review] Strategies and Principles of Distributed Machine Learning on Big Data

Eric P. Xing, Qirong Ho|arXiv (Cornell University)|Dec 31, 2015
Stochastic Gradient Optimization TechniquesComputer Science60 references13 citations
TL;DR

This paper proposes a set of four foundational principles—distribution strategy, communication bridging, communication mechanism, and communication content—for designing efficient, scalable, and correct distributed machine learning systems on big data. It introduces Petuum, a general-purpose ML framework that leverages these principles to achieve near-ideal speedup across 10s to 1000s of machines by exploiting ML-specific properties like error tolerance and compact updates, enabling high-performance distributed training of complex models such as deep neural networks and topic models.

ABSTRACT

The rise of Big Data has led to new demands for Machine Learning (ML) systems to learn complex models with millions to billions of parameters, that promise adequate capacity to digest massive datasets and offer powerful predictive analytics thereupon. In order to run ML algorithms at such scales, on a distributed cluster with 10s to 1000s of machines, it is often the case that significant engineering efforts are required --- and one might fairly ask if such engineering truly falls within the domain of ML research or not. Taking the view that Big ML systems can benefit greatly from ML-rooted statistical and algorithmic insights --- and that ML researchers should therefore not shy away from such systems design --- we discuss a series of principles and strategies distilled from our recent efforts on industrial-scale ML solutions. These principles and strategies span a continuum from application, to engineering, and to theoretical research and development of Big ML systems and architectures, with the goal of understanding how to make them efficient, generally-applicable, and supported with convergence and scaling guarantees. They concern four key questions which traditionally receive little attention in ML research: How to distribute an ML program over a cluster? How to bridge ML computation with inter-machine communication? How to perform such communication? What should be communicated between machines? By exposing underlying statistical and algorithmic characteristics unique to ML programs but not typically seen in traditional computer programs, and by dissecting successful cases to reveal how we have harnessed these principles to design and develop both high-performance distributed ML software as well as general-purpose ML frameworks, we present opportunities for ML researchers and practitioners to further shape and grow the area that lies between ML and systems.

Motivation & Objective

  • To address the scalability gap in distributed machine learning, where speedups often fall far short of theoretical expectations due to inefficient system design.
  • To bridge the divide between machine learning research and systems engineering by grounding distributed ML system design in statistical and algorithmic insights from ML.
  • To develop a general-purpose, high-performance distributed ML framework that supports diverse algorithms while ensuring correctness and convergence guarantees.
  • To enable efficient execution of large-scale ML models (e.g., deep learning, topic models) across clusters of 10s to 1000s of machines with minimal engineering overhead.
  • To create a platform that abstracts low-level system complexity, allowing ML practitioners to focus on model logic while achieving near-ideal parallel performance.

Proposed method

  • Introduces four core design principles: (1) how to distribute ML programs, (2) how to bridge ML computation with inter-machine communication, (3) how to perform communication, and (4) what to communicate between machines.
  • Employs the Stale Synchronous Parallel (SSP) consistency model in Bösen, a bounded-asynchronous key-value store, to balance performance and correctness in data-parallel training.
  • Uses Strads, a dynamic scheduler for model-parallel training, to prioritize computation on critical model components and avoid unsafe parallel updates.
  • Applies factorization and aggregation strategies to minimize communication cost—e.g., broadcasting factors in top layers and aggregating updates in bottom layers to reduce bandwidth.
  • Builds Poseidon, a distributed deep learning system on top of Petuum, by replacing Caffe’s memory access routines with Bösen’s distributed shared programming interface, enabling GPU-scale distributed training with minimal code changes.
  • Designs Petuum as a unified framework supporting C++ and Java, YARN, and HDFS, enabling deployment on existing Hadoop clusters while maintaining high performance and correctness.

Experimental results

Research questions

  • RQ1How can ML programs be effectively distributed across a cluster of 10s to 1000s of machines while preserving algorithmic correctness and convergence?
  • RQ2What system-level abstractions and consistency models best bridge the gap between iterative ML computation and inter-machine communication?
  • RQ3How can communication overhead be minimized in distributed ML by exploiting the statistical and structural properties unique to ML workloads?
  • RQ4What criteria determine what data should be communicated between machines to maximize efficiency and minimize latency?
  • RQ5Can a general-purpose ML framework achieve near-ideal speedup across diverse ML algorithms while abstracting low-level system complexity?

Key findings

  • Petuum achieves near-ideal speedup across 10s to 1000s of machines by applying ML-specific system design principles, overcoming the common issue of sublinear speedup in distributed ML.
  • The Stale Synchronous Parallel (SSP) model in Bösen enables asynchronous-like performance without sacrificing convergence or correctness, outperforming both MapReduce and bulk-synchronous execution.
  • Strads, the dynamic scheduler, improves performance by prioritizing computation on model components that need it most, avoiding non-convergent parallel updates.
  • Communication optimization via factor broadcasting and update aggregation reduces communication cost from $KD$ to $S(K+D)$ or $KD \ll S(K+D)$, depending on the layer, significantly improving scalability.
  • Poseidon, a distributed version of Caffe built on Petuum, enables GPU-scale distributed training of deep learning models with minimal code changes, preserving usability for existing Caffe users.
  • The framework supports over 10 ready-to-run ML algorithms, including logistic regression, k-means, random forest, MedLDA, and deep learning, demonstrating broad applicability and performance.

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.