Abstract
In this work we present a new framework for the analysis and design of randomized gossip algorithms for solving the average consensus problem. We show how classical randomized iterative methods for solving linear systems can be interpreted as gossip algorithms when applied to special systems encoding the underlying network and explain in detail their decentralized nature. Our general framework recovers a comprehensive array of well-known gossip algorithms as special cases, including the pairwise randomized gossip algorithm and path averaging gossip, and allows for the development of provably faster variants. The flexibility of the new approach enables the design of a number of new specific gossip methods. For instance, we propose and analyze novel block and the first provably accelerated randomized gossip protocols, and dual randomized gossip algorithms. From a numerical analysis viewpoint, our work is the first that explores in depth the decentralized nature of randomized iterative methods for linear systems and proposes them as methods for solving the average consensus problem. We evaluate the performance of the proposed gossip protocols by performing extensive experimental testing on typical wireless network topologies.
Introduction
In distributed systems—such as wireless sensor networks or multi-agent swarms—nodes often need to reach an "average consensus" (AC). This requires every node to calculate the average of all private values held across the network using only local, neighbor-to-neighbor communication. While gossip algorithms have existed for decades, they have historically suffered from slow convergence on large networks and a lack of a unified mathematical framework. This paper bridges the gap between randomized numerical linear algebra (RandNLA) and decentralized gossip algorithms, framing the average consensus problem as a specific type of linear system.
The Sketch and Project Framework
The authors' core insight is that the average consensus problem is mathematically equivalent to finding the best approximation solution to a consistent linear system $Ax=b$. By utilizing the Sketch and Project framework, they provide a unified lens through which various gossip protocols can be viewed and improved. In this setup, "sketching" corresponds to choosing a random set of edges or nodes to communicate, and "projecting" corresponds to the actual gossip update where nodes average their values.
Key methodological contributions include:
- Scaled Randomized Kaczmarz (RK): A modified linear solver that enables nodes to solve the weighted average consensus problem with provable linear convergence.
- Block Gossip (RBK): Instead of simple pairwise communication, a "block" of edges is selected. This recovers existing methods like "path averaging" and "clique gossiping" under one theoretical roof.
- Acceleration (mRK & AccGossip): By incorporating momentum—specifically Polyak’s heavy ball and Nesterov’s acceleration—the authors develop the first gossip protocols with provable acceleration, using information from previous iterations to speed up consensus.
- Dual Gossip: The framework reveals a "hidden duality" where algorithms maintain variables on the network edges rather than nodes, leading to a Randomized Newton Method for gossip.
Key Insights and Results
By representing the network as an incidence or Laplacian matrix, gossip becomes a problem of projecting onto the nullspace of that matrix. This allows decades of research in linear solvers to be imported into distributed computing.
Experimental Performance
The protocols were evaluated on standard wireless topologies, including 2D-Grids, Random Geometric Graphs (RGG), and Cycle Graphs. Key findings include:
- Superlinear Speedup: Increasing the "block size" (the number of nodes communicating simultaneously) results in a superlinear improvement in convergence speed.
- The Power of Over-relaxation: While theory often suggests a step-size ($\omega$) of 1, experiments show that "over-relaxing" (using $\omega$ between 1.8 and 1.9) significantly boosts performance.
- Empirical Gains: In RGG and Grid topologies, the accelerated methods (
mRKandAccGossip) drastically outperformed standard pairwise gossip baselines, reaching high precision in a fraction of the iterations.
Limitations and Future Work
While the framework is powerful, some accelerated and block methods assume a degree of synchronization (like a global clock) that may be difficult to implement in extremely low-power or highly asynchronous ad-hoc networks. Additionally, optimal momentum parameters often depend on network spectral properties, which may require decentralized estimation. Future research may extend this framework beyond simple averaging to general multi-agent optimization and distributed machine learning.
Summary updated