Skip to main content
QUICK REVIEW

[Paper Review] Consistent Bounded-Asynchronous Parameter Servers for Distributed ML

Jinliang Wei, Wei Dai|arXiv (Cornell University)|Dec 30, 2013
Interconnection Networks and SystemsComputer Science10 references6 citations
TL;DR

This paper proposes relaxed consistency models—CAP, VAP, and CVAP—for asynchronous parameter servers in distributed machine learning, enabling high throughput while ensuring theoretical convergence. By bounding staleness and using vector clocks, the system maintains algorithmic correctness in iterative ML algorithms like LDA, achieving strong scalability on a small cluster with up to 32 cores.

ABSTRACT

In distributed ML applications, shared parameters are usually replicated among computing nodes to minimize network overhead. Therefore, proper consistency model must be carefully chosen to ensure algorithm's correctness and provide high throughput. Existing consistency models used in general-purpose databases and modern distributed ML systems are either too loose to guarantee correctness of the ML algorithms or too strict and thus fail to fully exploit the computing power of the underlying distributed system. Many ML algorithms fall into the category of \emph{iterative convergent algorithms} which start from a randomly chosen initial point and converge to optima by repeating iteratively a set of procedures. We've found that many such algorithms are to a bounded amount of inconsistency and still converge correctly. This property allows distributed ML to relax strict consistency models to improve system performance while theoretically guarantees algorithmic correctness. In this paper, we present several relaxed consistency models for asynchronous parallel computation and theoretically prove their algorithmic correctness. The proposed consistency models are implemented in a distributed parameter server and evaluated in the context of a popular ML application: topic modeling.

Motivation & Objective

  • To address the trade-off between system throughput and algorithmic correctness in distributed machine learning by relaxing consistency models.
  • To enable high-performance asynchronous computation without sacrificing convergence guarantees in iterative ML algorithms.
  • To design consistency models that bound staleness and allow practical deployment in real-world distributed systems.
  • To evaluate the proposed models on topic modeling (LDA) and demonstrate strong scalability on a cluster.

Proposed method

  • Proposes Clock-bounded Asynchronous Parallel (CAP), a model that allows updates at any time while bounding staleness using vector clocks.
  • Introduces Vector-based Asynchronous Parallel (VAP), which uses vector clocks to track progress and ensure bounded inconsistency.
  • Develops Consistent Vector-based Asynchronous Parallel (CVAP), a stronger variant that combines consistency guarantees with high throughput.
  • Implements the models in Petuum PS, a parameter server with a two-level cache hierarchy and message batching to reduce network overhead.
  • Uses a consistency controller and policy-based API semantics to modularly support different consistency models per table.
  • Employs client push, client pull, and server push messaging with priority-based batching to optimize network utilization.

Experimental results

Research questions

  • RQ1Can relaxed consistency models with bounded staleness ensure convergence in distributed ML algorithms like LDA?
  • RQ2How does bounded-asynchronous consistency compare to strict models like SSP or sequential consistency in terms of throughput and convergence rate?
  • RQ3To what extent can system performance be improved by relaxing consistency without compromising algorithmic correctness?
  • RQ4Can the proposed models scale efficiently on a real cluster with realistic workloads?

Key findings

  • The proposed consistency models—CAP, VAP, and CVAP—enable high-throughput asynchronous computation while guaranteeing convergence for iterative ML algorithms.
  • The system achieves strong scalability on an 8-node cluster with up to 32 cores, showing speedup close to linear scaling in topic modeling workloads.
  • Experiments on the 20News dataset with 2,000 topics and 11,269 documents demonstrate stable convergence under weak consistency models.
  • The use of vector clocks and bounded staleness ensures that all updates are eventually seen, preventing divergence despite asynchrony.
  • Message batching and a two-level cache hierarchy significantly reduce network contention and hide latency.

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.