When Distributed Computation Is Communication Expensive

David P. Woodruff, Qin Zhang

TL;DR

Exact distributed computation for basic statistical and graph problems is often incredibly communication-expensive, sometimes offering no benefit over simply dumping all data onto a single central server. To achieve true communication efficiency in distributed big data systems, algorithm designers must embrace approximation, structured data layouts, or realistic distributional assumptions.

What Problem Does This Paper Address?

In big data applications, massive datasets are frequently distributed across a network of machines (e.g., network routers monitoring traffic or shards of a massive social network graph). While distributing data allows for parallel processing, the communication required between machines to solve global queries often becomes the primary bottleneck, draining network bandwidth and energy.

This paper investigates the fundamental communication limits of solving basic statistical queries (like counting distinct elements) and graph problems (like checking connectivity, bipartiteness, or triangle-freeness) exactly in a distributed setting. The authors aim to determine when distributed computation actually helps reduce communication costs, and when it is fundamentally inefficient without relaxations.

Methods

The authors analyze these problems using the message-passing model, an abstract framework that captures point-to-point distributed communication models like MapReduce and Bulk Synchronous Parallel (BSP).

To establish strong impossibility results (lower bounds), they employ a symmetrization technique to reduce multi-party distributed problems to classic two-party communication complexity problems. Specifically, they introduce a multi-party threshold meta-problem ($THRESH^\theta_r$) and prove its hardness by reducing it to the well-known two-party Set-Disjointness ($2\text{-DISJ}$) problem.

Crucially, their lower bounds are information-theoretic: they assume each machine has infinite local computational power and memory, meaning the proven bottlenecks are purely inherent to the distribution of data itself. To complement these lower bounds, they provide deterministic, computationally efficient protocols (upper bounds) that match the lower bounds up to logarithmic factors.

Datasets

Not discussed in the paper. As a theoretical computer science paper, the focus is entirely on mathematical proofs and complexity bounds rather than empirical evaluation on real-world datasets.

Key Insights and Ideas

  • The Centralized Baseline is Hard to Beat: For many exact problems, the naive strategy—sending all local data to a single coordinator node—is asymptotically optimal. Distributed computation provides no communication savings if you demand 100% exact answers.
  • Data Layout Matters (Edge Duplication): Whether data elements (like edges in a graph) are duplicated across multiple sites drastically changes the communication complexity. For instance, testing graph connectivity with edge duplication requires $\tilde{\Omega}(kn)$ bits of communication, but without duplication, it drops significantly to $\tilde{\Omega}(kr)$ (where $r = \min\{n, m/k\}$).
  • Approximation is a Superpower: The paper highlights that even a tiny relaxation of the problem requirements can break through these communication barriers. For example, exactly computing a graph's diameter is highly expensive, but allowing a tiny additive error of just 2 drops the communication cost drastically to $O(kn^{3/2} \log^2 n)$.

Key Results

The paper maps out tight upper and lower bounds for several fundamental problems, proving that exact computation scales poorly with the number of machines ($k$), vertices ($n$), or edges ($m$). These findings are summarized in the paper's central table:

Summary of communication complexity bounds for distributed statistical and graph problems.
  • Distinct Elements ($F_0$): Proven to require $\tilde{\Omega}(kF_0)$ bits of communication for exact calculation, improving previous bounds to near-optimality.
  • Graph Connectivity & Bipartiteness: Requires $\tilde{\Omega}(kn)$ bits with edge duplication, meaning communication scales linearly with both the number of machines and vertices.
  • Triangle-Freeness: Requires $\tilde{\Omega}(km)$ bits with duplication, scaling directly with the total number of edges across the network.

Limitations and Future Work

  • Worst-Case Assumptions: The lower bounds focus on worst-case inputs and distributions, which might be overly pessimistic compared to real-world data that often exhibits specific properties (like power-law distributions in social networks).
  • Round Efficiency vs. Communication Volume: The paper primarily targets total communication volume rather than the number of communication rounds. Some of the proposed approximation algorithms (like the one for graph diameter) rely on sequential breadth-first searches, which inherently require a high number of communication rounds ($\Omega(\Delta)$, where $\Delta$ is the graph diameter).
  • Open Conjecture: The exact communication complexity of the graph diameter problem remains an open conjecture ($\tilde{\Omega}(km)$).
  • Future Directions: The authors suggest further investigating round-efficient protocols that can match these communication lower bounds and exploring performance under more realistic, non-worst-case data layouts.

Summary updated

Abstract

We consider a number of fundamental statistical and graph problems in the message-passing model, where we have k machines (sites), each holding a piece of data, and the machines want to jointly solve a problem defined on the union of the k data sets. The communication is point-to-point, and the goal is to minimize the total communication among the k machines. This model captures all point-to-point distributed computational models with respect to minimizing communication costs. Our analysis shows that exact computation of many statistical and graph problems in this distributed setting requires a prohibitively large amount of communication, and often one cannot improve upon the communication of the simple protocol in which all machines send their data to a centralized server. Thus, in order to obtain protocols that are communication-efficient, one has to allow approximation, or investigate the distribution or layout of the data sets.
BibTeX
@inproceedings{woodruff2013when,
  author = {David P. Woodruff and Qin Zhang},
  title = {{When Distributed Computation Is Communication Expensive}},
  booktitle = {Distributed Comput},
  year = {2013},
  url = {https://openreview.net/forum?id=p2QPj9V9N0g},
}
Figure