Abstract
In this work we present novel provably accelerated gossip algorithms for solving the average consensus problem. The proposed protocols are inspired from the recently developed accelerated variants of the randomized Kaczmarz method - a popular method for solving linear systems. In each gossip iteration all nodes of the network update their values but only a pair of them exchange their private information. Numerical experiments on popular wireless sensor networks showing the benefits of our protocols are also presented.
Introduction
In distributed systems, such as wireless sensor networks or multi-agent swarms, nodes often need to compute the average of their private local values (e.g., sensor readings) without the aid of a central server. This fundamental task is known as the average consensus (AC) problem.
The standard approach to solving AC is the "Gossip" algorithm: pairs of neighboring nodes meet at random and average their values. While simple and robust, standard gossip algorithms converge slowly, particularly in large or poorly connected networks. This paper introduces the first gossip algorithms that achieve a provably accelerated linear convergence rate, significantly outperforming standard methods in reaching network-wide agreement.
Methodology: From Linear Systems to Distributed Gossip
The core innovation of this work lies in bridging two distinct fields: Gossip Protocols and Randomized Kaczmarz (RK) methods—iterative solvers for linear systems $Ax=b$.
The authors demonstrate that the average consensus problem can be framed as solving a specific linear system where the matrix $A$ represents the network's incidence matrix. Under this framework, standard gossip is mathematically equivalent to the basic RK method. To achieve acceleration, the authors adapt two recent "Accelerated" variants of the Kaczmarz method into a protocol called AccGossip.
Unlike standard gossip, where a node maintains a single value, AccGossip requires each node to maintain two local registers ($x$ and $v$). In every iteration, a random edge $(i, j)$ is selected, and those nodes exchange information. Crucially, all nodes in the network update their local registers using a momentum-like calculation (similar to Nesterov or Heavy Ball momentum), even if they did not participate in the communication exchange during that step.
Experimental Setup
The researchers evaluated the performance of AccGossip across several common network topologies:
- Cycle Graphs (Ring): A simple topology where information propagation is naturally slow.
- 2D Grids: Representative of physical sensor layouts in a plane.
- Random Geometric Graphs (RGG): A standard model for wireless networks where connectivity is determined by physical proximity.
Key Results
Theoretically, the authors prove that AccGossip achieves an accelerated linear rate. For a network with $m$ edges, while standard gossip convergence depends on the network's spectral properties, AccGossip improves this by a square-root factor—a substantial theoretical gain.
Empirically, AccGossip demonstrates superior performance across all tested topologies. As shown in the comparative results below, the proposed methods reach high precision (e.g., $10^{-10}$ error) in significantly fewer iterations than the baseline gossip or the "Stochastic Heavy Ball" (SHB) method. For instance, on a 30x30 2D grid, AccGossip reaches the target error approximately 3 times faster than the baseline.
Discussion and Future Work
While providing a significant speedup, AccGossip introduces a practical requirement: a Global Clock. For the acceleration to be provable, nodes must know the current iteration count to update their internal registers correctly when inactive. This implies a need for synchronized clocks or a shared understanding of the gossip rate. Furthermore, optimal parameters for acceleration require knowledge of the network Laplacian's smallest non-zero eigenvalue, which may require decentralized pre-computation.
The authors suggest that this framework of translating breakthroughs in numerical linear algebra to distributed computing could be extended to more complex problems, such as decentralized optimization for distributed machine learning.
Summary updated