Skip to main content
QUICK REVIEW

[Paper Review] Graph Partitioning via Parallel Submodular Approximation to Accelerate Distributed Machine Learning

Mu Li, Dave G. Andersen|arXiv (Cornell University)|May 18, 2015
Graph Theory and AlgorithmsComputer Science34 references9 citations
TL;DR

This paper proposes Parsa, a parallel submodular approximation algorithm for graph partitioning that accelerates distributed machine learning by minimizing inter-machine communication. By modeling data and parameter placement as a graph partitioning problem and using efficient submodular optimization, Parsa reduces network traffic by 90% and achieves a 1.6x speedup in training on large-scale datasets like CTRb with 10 billion nonzeros.

ABSTRACT

Distributed computing excels at processing large scale data, but the communication cost for synchronizing the shared parameters may slow down the overall performance. Fortunately, the interactions between parameter and data in many problems are sparse, which admits efficient partition in order to reduce the communication overhead. In this paper, we formulate data placement as a graph partitioning problem. We propose a distributed partitioning algorithm. We give both theoretical guarantees and a highly efficient implementation. We also provide a highly efficient implementation of the algorithm and demonstrate its promising results on both text datasets and social networks. We show that the proposed algorithm leads to 1.6x speedup of a state-of-the-start distributed machine learning system by eliminating 90\% of the network communication.

Motivation & Objective

  • To address the communication bottleneck in distributed machine learning caused by frequent synchronization of shared parameters across machines.
  • To reduce inter-machine communication overhead in large-scale learning systems by optimizing data and parameter placement through graph partitioning.
  • To design a scalable, efficient, and theoretically grounded partitioning algorithm that outperforms existing methods like METIS and PaToH.
  • To enable faster convergence and lower latency in distributed inference by minimizing data movement between machines.
  • To demonstrate practical effectiveness on real-world text and social network datasets with billions of nonzeros.

Proposed method

  • Formulate data and parameter placement as a vertex-cut graph partitioning problem to minimize communication cost.
  • Use parallel submodular approximation to iteratively assign vertices to partitions, leveraging submodular function properties for approximation guarantees.
  • Implement the algorithm with a doubly-linked list data structure to achieve O(k|E|) time complexity, where k is the number of partitions and |E| is the number of edges.
  • Apply sampling, smart initialization, and parallelization techniques to improve partition quality and runtime efficiency.
  • Integrate Parsa with the parameter server framework to accelerate state-of-the-art solvers like DBPG for ℓ₁-regularized logistic regression.
  • Use a maximal τ-delay consistency model to align with practical distributed training systems and reduce synchronization overhead.

Experimental results

Research questions

  • RQ1Can a parallel submodular approximation algorithm achieve both theoretical guarantees and practical efficiency in graph partitioning for distributed machine learning?
  • RQ2How does Parsa compare to existing partitioning tools like METIS, PaToH, and Zoltan in terms of communication cost and runtime on large-scale datasets?
  • RQ3To what extent can Parsa reduce inter-machine communication and accelerate distributed training in real-world applications?
  • RQ4How does the algorithm scale with increasing numbers of machines and data size, particularly in sparse, real-world graphs?
  • RQ5Can Parsa maintain high partition quality even with aggressive parallelization and limited initial information?

Key findings

  • Parsa reduces inter-machine communication from 4.23 TB to 0.32 TB in ℓ₁-regularized logistic regression on the CTRb dataset, a 90% reduction.
  • The algorithm achieves a 1.6x speedup in training time, reducing total time from 1.43 hours to 0.91 hours on 16 machines.
  • Parsa partitions the CTRb dataset (10 billion nonzeros) in just 4 minutes, demonstrating high runtime efficiency.
  • The ratio of local (intra-machine) communication increases from 6% to 92% after partitioning, significantly improving data locality.
  • Parsa outperforms or matches state-of-the-art tools like METIS, PaToH, and Zoltan in both partition quality and execution time across text and social network datasets.
  • The algorithm maintains high partition quality even when scaling from 4 to 64 workers, with only a 5% degradation in result quality, due to consistent initialization and sparse tail vertex conflicts.

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.