Skip to main content
QUICK REVIEW

[Paper Review] Communication Scheduling as a First-Class Citizen in Distributed Machine Learning Systems.

Sayed Hadi Hashemi, Sangeetha Abdu Jyothi|arXiv (Cornell University)|Mar 8, 2018
Advanced Graph Neural NetworksComputer Science5 citations
TL;DR

This paper proposes a communication scheduling system for distributed machine learning that achieves near-optimal overlap of communication and computation in graph-based models without requiring changes to models or developer inputs. Built on TensorFlow, it improves training throughput by up to 20% and inference throughput by up to 82%, while reducing the straggler effect by up to 2.8x.

ABSTRACT

State-of-the-art machine learning systems rely on graph-based models, with the distributed training of these models being the norm in AI-powered production pipelines. The performance of these communication-heavy systems depends on the effective overlap of communication and computation. While the overlap challenge has been addressed in systems with simpler model representations, it remains an open problem in graph-based models. In this work, we develop a system for communication scheduling which realizes near-optimal overlap of communication and computation in graph-based models. Our system is implemented over TensorFlow and requires no changes in the model or developer inputs. Our system improves the throughput by up to 82% in inference and 20% in training, while also reducing straggler effect by up to 2.8x. A part of our implementation is already merged with TensorFlow codebase; the rest is publicly available.

Motivation & Objective

  • To address the open challenge of effective communication-computation overlap in distributed training of graph-based machine learning models.
  • To enable near-optimal overlap of communication and computation in systems using complex model representations.
  • To design a solution that integrates seamlessly into existing frameworks like TensorFlow without requiring model or developer input changes.
  • To reduce the straggler effect in distributed training, improving system efficiency and resource utilization.

Proposed method

  • The system introduces communication scheduling as a first-class abstraction in distributed ML systems, treating communication patterns as first-class entities for optimization.
  • It statically analyzes the computational graph to identify communication and computation dependencies, enabling precise scheduling decisions.
  • The scheduler dynamically overlaps communication and computation by reordering operations based on data availability and resource constraints.
  • It leverages existing TensorFlow infrastructure, requiring no modifications to model definitions or training code.
  • The system uses a novel scheduling algorithm that prioritizes communication tasks to minimize idle computation time.
  • It integrates with TensorFlow's execution engine to insert scheduling logic at the graph level, ensuring transparent deployment.

Experimental results

Research questions

  • RQ1How can communication and computation be effectively overlapped in graph-based machine learning models to improve system throughput?
  • RQ2What scheduling strategies enable near-optimal overlap without modifying model code or developer workflows?
  • RQ3To what extent can communication scheduling reduce the straggler effect in distributed training?
  • RQ4How does the proposed system scale across different model architectures and cluster configurations?
  • RQ5What performance gains are achievable in both training and inference workloads using this approach?

Key findings

  • The system improves inference throughput by up to 82% compared to baseline systems.
  • Training throughput is enhanced by up to 20% through better communication-computation overlap.
  • The straggler effect is reduced by up to 2.8x, indicating improved load balancing and resource utilization.
  • A portion of the implementation has been merged into the official TensorFlow codebase, confirming production readiness.
  • The system requires no changes to model definitions or developer inputs, enabling seamless integration.
  • The approach is effective across diverse graph-based model architectures and distributed training scenarios.

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.