Skip to main content
QUICK REVIEW

[Paper Review] Sparse Allreduce: Efficient Scalable Communication for Power-Law Data

Huasha Zhao, John Canny|arXiv (Cornell University)|Dec 11, 2013
Graph Theory and AlgorithmsComputer Science24 references10 citations
TL;DR

This paper proposes Sparse Allreduce, a communication-optimized primitive for distributed machine learning on power-law data, using a hybrid butterfly-round-robin network with nested communication and heterogeneous node degrees. It achieves up to 10× speedup over Hadoop and PowerGraph by reducing communication overhead through sparse, feature-aware data transfer.

ABSTRACT

Many large datasets exhibit power-law statistics: The web graph, social networks, text data, click through data etc. Their adjacency graphs are termed natural graphs, and are known to be difficult to partition. As a consequence most distributed algorithms on these graphs are communication intensive. Many algorithms on natural graphs involve an Allreduce: a sum or average of partitioned data which is then shared back to the cluster nodes. Examples include PageRank, spectral partitioning, and many machine learning algorithms including regression, factor (topic) models, and clustering. In this paper we describe an efficient and scalable Allreduce primitive for power-law data. We point out scaling problems with existing butterfly and round-robin networks for Sparse Allreduce, and show that a hybrid approach improves on both. Furthermore, we show that Sparse Allreduce stages should be nested instead of cascaded (as in the dense case). And that the optimum throughput Allreduce network should be a butterfly of heterogeneous degree where degree decreases with depth into the network. Finally, a simple replication scheme is introduced to deal with node failures. We present experiments showing significant improvements over existing systems such as PowerGraph and Hadoop.

Motivation & Objective

  • Address the communication bottleneck in distributed machine learning and graph algorithms on power-law datasets, which are common in web graphs, social networks, and text data.
  • Improve Allreduce performance for sparse, irregular data by minimizing unnecessary data transfer across nodes.
  • Design a scalable, fault-tolerant communication primitive tailored for sparse matrix operations and iterative algorithms like PageRank and stochastic gradient descent.
  • Optimize network topology and communication pattern to reduce latency and improve throughput on commodity clusters.

Proposed method

  • Propose a hybrid network topology combining butterfly and round-robin structures to balance load and reduce congestion in sparse Allreduce.
  • Introduce a nested communication pattern instead of cascaded stages, reducing the number of communication rounds and improving scalability.
  • Design a non-homogeneous butterfly network where node degrees decrease with depth to better match the sparsity distribution of power-law data.
  • Implement a replication scheme to handle node failures with minimal performance overhead, ensuring fault tolerance in production clusters.
  • Use sparse data transfer by communicating only non-zero features required by each node, avoiding full vector aggregation.
  • Evaluate the primitive using real-world workloads including PageRank, spectral clustering, and mini-batch SGD, comparing against Hadoop, PowerGraph, and GraphX.

Experimental results

Research questions

  • RQ1How can Allreduce be optimized for sparse, power-law distributed data to reduce communication overhead in large-scale machine learning?
  • RQ2What network topology (butterfly, round-robin, or hybrid) provides the best balance of load balancing and throughput for sparse Allreduce?
  • RQ3Does nesting communication stages improve performance over cascaded stages in sparse Allreduce?
  • RQ4Can a non-uniform butterfly network with decreasing degrees per layer improve scalability and reduce latency?
  • RQ5How does the proposed Sparse Allreduce compare in performance to existing systems like Hadoop, PowerGraph, and GraphX on real-world graph and ML workloads?

Key findings

  • Sparse Allreduce reduces communication overhead by transferring only non-zero features, achieving up to 10× speedup over Hadoop and PowerGraph on large-scale graph workloads.
  • The hybrid butterfly-round-robin network topology outperforms pure butterfly or round-robin networks by balancing load and minimizing contention.
  • Nested communication stages reduce the number of communication rounds and improve scalability compared to cascaded stages used in dense Allreduce.
  • A non-homogeneous butterfly network with decreasing degrees from top to bottom achieves optimal throughput for power-law data distributions.
  • The system achieves 6 seconds for 10 PageRank iterations on the Twitter followers graph and 23 seconds on the Yahoo graph, significantly outperforming Hadoop and PowerGraph.
  • Performance is currently limited by Java sockets, but future integration with RDMA (e.g., RoCE or Sockets Direct) is expected to yield further gains.

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.