Geographic Gossip: Efficient Averaging for Sensor Networks

Alexandros G. Dimakis, Anand D. Sarwate, Martin J. Wainwright

Distributed averaging is a fundamental task in wireless sensor networks (WSNs), where nodes must compute a global statistic—such as average temperature or humidity—using only local communication. While standard gossip protocols are valued for their simplicity and robustness, they suffer from significant inefficiencies in realistic network topologies. This paper introduces Geographic Gossip, a protocol that leverages physical location data to break the slow-diffusion bottleneck of traditional methods.

The Problem: The Diffusion Bottleneck

In a standard gossip protocol, a node randomly selects a direct neighbor and averages its value with that neighbor. This process repeats across the network until consensus is reached. However, in common topologies like grids or Random Geometric Graphs (RGGs), information spreads via a random walk. This is a slow diffusion process; for a value to travel from one edge of the network to the other, it must "seep" through thousands of pairwise exchanges. This results in high latency and excessive energy consumption due to redundant local transmissions.

Network Topologies

The efficiency of gossip protocols is highly dependent on the underlying graph structure. The authors evaluate their approach on three primary topologies:

  1. The Cycle (Ring): Nodes arranged in a simple circular chain.
  2. The Grid: A regular 2D lattice structure.
  3. Random Geometric Graphs (RGG): A more realistic model where nodes are placed randomly in a square and connect to any neighbor within a specific communication radius.
Common network topologies used for evaluating gossip protocols: (a) Cycle, (b) Grid, and (c) Random Geometric Graph.

The Geographic Gossip Protocol

Geographic Gossip assumes that nodes know their own geographic coordinates, a common feature in sensor deployments. The protocol operates through the following steps:

  1. Long-Distance "Jumps": Instead of restricting exchanges to immediate neighbors, an active node selects a random location within the network area.
  2. Greedy Routing: The node uses standard geographic routing to pass its current value to the node physically closest to that target location. This effectively creates a complete graph overlay on top of the physical multi-hop network.
  3. Pairwise Averaging: The source and the distant target node average their values, and the updated result is routed back to the source.

While a single round of geographic gossip is more expensive—requiring $O(\sqrt{n})$ hops to cross a grid—it drastically increases the "spectral gap" of the network's transition matrix. This allows information to "tunnel" across the network, bypassing the mixing time limits of local random walks.

Ensuring Uniform Sampling

A critical requirement for fast convergence is that every node must have an equal probability of being selected for an exchange. In irregular networks like RGGs, nodes are not distributed evenly; some nodes occupy larger Voronoi cells than others and would naturally be targeted more frequently by random location sampling.

Illustration of spatial discretization used to ensure uniform node selection in irregular networks.

To correct this bias, the authors implement a rejection sampling scheme. The network area is conceptually divided into a grid. Nodes within cells that have a higher density or larger effective area occasionally "reject" incoming gossip requests. This ensures that the probability of any specific node being sampled remains uniform across the entire deployment, maintaining the theoretical efficiency of the complete-graph model.

Key Results and Efficiency Gains

The paper provides rigorous bounds on the total number of radio transmissions ($E$) required to reach a target accuracy ($\epsilon$). The results demonstrate that the multi-hop routing cost is a price well worth paying:

  • On a Grid: Geographic Gossip requires $O(n^{1.5} \log \epsilon^{-1})$ transmissions, a $\sqrt{n}$ improvement over the $O(n^2)$ required by standard gossip.
  • On a Ring: The protocol improves efficiency by a factor of $n$.
  • On RGGs: It yields an improvement factor of $\sqrt{n / \log n}$.

In simulations involving "spiky" data—where a single node holds an outlier value—Geographic Gossip converged significantly faster than standard methods, which struggled to propagate the influence of the outlier across the physical distance of the network.

Conclusion

By integrating geographic awareness into the gossip mechanism, the authors demonstrate that "long-distance" communication can paradoxically lead to lower total energy consumption in sensor networks. While the protocol depends on accurate localization and efficient routing, it provides a powerful framework for breaking the diffusion limits of decentralized consensus.

Summary updated

Abstract

Gossip algorithms for distributed computation are attractive due to their simplicity, distributed nature, and robustness in noisy and uncertain environments. However, using standard gossip algorithms can lead to a significant waste in energy by repeatedly recirculating redundant information. For realistic sensor network model topologies like grids and random geometric graphs, the inefficiency of gossip schemes is related to the slow mixing times of random walks on the communication graph. We propose and analyze an alternative gossiping scheme that exploits geographic information. By utilizing geographic routing combined with a simple resampling method, we demonstrate substantial gains over previously proposed gossip protocols. For regular graphs such as the ring or grid, our algorithm improves standard gossip by factors of $n$ and $\sqrt{n}$ respectively. For the more challenging case of random geometric graphs, our algorithm computes the true average to accuracy $\epsilon$ using $O(\frac{n^{1.5}}{\sqrt{\log n}} \log \epsilon^{-1})$ radio transmissions, which yields a $\sqrt{\frac{n}{\log n}}$ factor improvement over standard gossip algorithms. We illustrate these theoretical results with experimental comparisons between our algorithm and standard methods as applied to various classes of random fields.
BibTeX
@article{dimakis2008geographic,
  author = {Alexandros G. Dimakis and Anand D. Sarwate and Martin J. Wainwright},
  title = {{Geographic Gossip: Efficient Averaging for Sensor Networks}},
  journal = {IEEE Trans. Signal Process.},
  year = {2008},
  url = {https://openreview.net/forum?id=J1-7uNdAn4C8},
}
Figure