Scalable Average Consensus with Compressed Communications

Mohammad Taha Toghani, César A. Uribe

TL;DR

This paper introduces Scalable Compressed Gossip (SCG), a decentralized algorithm that allows a network of agents to reach an average consensus while using compressed messages. By combining error-feedback mechanisms with momentum-based acceleration, the authors achieve a convergence rate that scales linearly with the network size ($n$), offering a significant speedup over traditional methods that scale quadratically on poorly connected networks.

What Problem Does This Paper Address?

In decentralized systems (like federated learning or sensor networks), agents need to agree on a global average of their local data. This is known as the average consensus problem. Two major bottlenecks plague existing solutions:

  1. Communication Overhead: When data is high-dimensional, sending full vectors between neighbors consumes too much bandwidth.
  2. Scalability: In "thin" networks (like a ring or a path), information travels slowly. Standard gossip algorithms have a "mixing time" that grows quadratically ($O(n^2)$) with the number of agents, making them impractical for large-scale deployments.

While previous research addressed these issues separately—either through compression or through momentum-based scaling—this paper is among the first to successfully unify both.

Methods

The authors propose the Scalable Compressed Gossip (SCG) algorithm. Its architecture relies on three key pillars:

  • Compression with Error-Feedback: Agents don't send their full state. Instead, they send a compressed version (using operators like top-k sparsification or quantization). To prevent the "drift" typically caused by compression errors, agents maintain a local estimate of what their neighbors think they have, effectively "remembering" the compression error and adding it back into the next round.
  • Momentum (Extrapolation): Borrowing from heavy-ball acceleration methods, the algorithm uses a momentum parameter ($\sigma$) to "push" the estimates faster across the network. This is what changes the scaling from quadratic to linear.
  • Metropolis-Hastings Mixing: The algorithm uses a specific weight matrix (mixing matrix) to ensure that even in irregular graphs, the agents converge exactly to the true global average.

Datasets

As a theoretical algorithmic paper, the authors evaluate their method using synthetic network topologies rather than static datasets:

  • Path Networks: A line of nodes where information must travel from one end to the other.
  • Ring Networks: A circle of nodes. These are "worst-case" scenarios for consensus algorithms because of their low connectivity, making them ideal for testing scalability.

Key Insights and Ideas

  • Linear Scaling is Possible with Noise: The most significant insight is that the $O(n)$ linear scaling property of "Scalable Exact Gossip" (SEG) can be preserved even when the communication is lossy and compressed, provided the compression error is managed correctly.
  • The Step-size/Compression Trade-off: There is a fundamental "tug-of-war" between the consensus step-size ($\gamma$) and the compression ratio ($\omega$). A larger step-size leads to faster convergence but requires more accurate (less compressed) communication to remain stable.
  • Broad Operator Support: Unlike some methods that require unbiased compressors, SCG works with a wide class of compression operators, including biased ones like top-k selection, which are often more efficient in practice.

Key Results

  • Theoretical Convergence: The authors prove that SCG converges linearly to the exact global average. The convergence rate is $O(1 - \gamma^{1/2} n^{-1})$, confirming the linear dependence on the network size $n$.
  • Communication Efficiency: In numerical simulations on a ring network of 120 agents, SCG reached the same level of accuracy as non-compressed scalable methods while transmitting 90% fewer bits.
  • Iteration Speedup: Compared to standard Compressed Gossip (CG), SCG requires significantly fewer iterations to reach a target error threshold ($\epsilon$) as the network size increases, demonstrating superior scalability.

Limitations and Future Work

  • Static Topologies: The current proof assumes the network structure is static and undirected. Real-world mobile networks or ad-hoc sensor arrays often have time-varying or directed connections.
  • Hyperparameter Sensitivity: The momentum and step-size parameters need to be tuned based on the network size $n$, which might not be known by every agent in a truly decentralized setting.
  • Byzantine Faults: The paper does not account for adversarial agents who might send malicious compressed messages to subvert the consensus.
  • Future Directions: The authors suggest extending this "scalable + compressed" framework to more complex decentralized tasks, such as distributed optimization and social learning.

Summary updated

BibTeX
@inproceedings{toghani2022scalable,
  author = {Mohammad Taha Toghani and César A. Uribe},
  title = {{Scalable Average Consensus with Compressed Communications}},
  booktitle = {ACC},
  year = {2022},
  doi = {10.23919/acc53348.2022.9867351},
}
Figure