Design and Analysis of Distributed Averaging with Quantized Communication

Mahmoud El Chamie, Ji Liu, Tamer Başar

Abstract

Consider a network whose nodes have some initial values, and it is desired to design an algorithm that builds on neighbor-to-neighbor interactions with the ultimate goal of convergence to the average of all initial node values or to some value close to that average. Such an algorithm is called generically “distributed averaging,” and our goal in this paper is to study the performance of a subclass of distributed averaging algorithms where the information exchange between neighboring nodes (agents) is subject to deterministic uniform quantization. With such quantization, the precise average cannot be achieved (except in exceptional cases), but some value close to it, called quantized consensus. It is shown in this paper that in finite time, the algorithm will either cause all agents to reach a quantized consensus where the consensus value is the largest integer not greater than the average of their initial values, or will lead all variables to cycle in a small neighborhood around the average, depending on initial conditions. In the latter case, tight bounds for the size of the neighborhood are given, and it is further shown that the error can be made arbitrarily small by adjusting the algorithm's parameters in a distributed manner.

Introduction

In decentralized networks, such as autonomous drone swarms or distributed sensor grids, "distributed averaging" serves as a foundational primitive. It allows every node in a network to estimate the global average of initial data using only local interactions with immediate neighbors. While standard theoretical models assume nodes can exchange real numbers with infinite precision, practical digital communication links are constrained by finite bandwidth. This necessitates the use of quantization—rounding or truncating numerical values into discrete bits.

Quantization introduces significant non-linearity and error into the system. Previous research often relied on probabilistic methods, such as dithered quantization or adding random noise, to smooth these effects. However, the behavior of purely deterministic quantized systems has remained less understood. This paper provides a rigorous mathematical analysis of these deterministic systems, proving that they do not diverge or behave chaotically. Instead, they either reach a "quantized consensus" or enter a stable, small-scale cycle around the true average within a finite number of steps.

Methodology

The authors analyze a discrete-time system where nodes update their internal states based on a weighted sum of their neighbors' values. The critical constraint is that nodes only receive quantized versions of their neighbors' states. The analysis relies on several key technical pillars:

  • Mass Conservation: The algorithm is structured to ensure the total sum of all node values remains invariant over time. This ensures that the "true" average is preserved within the system, even if individual node values are subject to rounding errors.
  • Lyapunov Stability Analysis: To establish convergence, a custom Lyapunov function is employed to measure the system's distance from a state of consensus. The authors demonstrate that this "energy" function is non-increasing and must eventually decrease until a terminal state is reached.
  • Weight Selection: The study utilizes Metropolis weights, which assign importance to neighbors based on their connectivity (degree). Furthermore, "Modified Metropolis Weights" are introduced to allow for the tuning of system precision.
  • Finite State Automata Theory: Since the quantized values exist in a discrete state space and the total sum is conserved, the network is modeled as a deterministic finite state machine. This framework is used to prove that the system must eventually enter a periodic cycle or reach a fixed point.

Experimental Setup

The theoretical findings were validated through extensive numerical simulations. Rather than using empirical datasets, the authors employed synthetic network models to test the algorithm under various topological conditions:

  • 10-Node Networks: Used for granular observation of convergence versus cycling behavior.
  • Erdös-Renyi (ER) Random Graphs: Networks where edges between nodes are established with a fixed probability, testing the algorithm against random connectivity.
  • Random Geometric Graphs (RGG): Networks where connectivity is determined by physical proximity, closely mimicking the constraints of wireless sensor deployments.

Discussion and Key Insights

A primary contribution of this work is the characterization of the "Cycle or Consensus" duality. The system does not simply fail when an exact integer consensus is unreachable; instead, it enters a predictable, stable cycle. In these cycles, nodes may toggle between adjacent values (e.g., 34 and 35), remaining trapped within a minimal neighborhood of the true average.

Stability in these systems is heavily dependent on the "trust" a node places in its own current state. The authors demonstrate that for stability, the self-weight ($w_{ii}$) must exceed 1/2. This "dominant diagonal" property prevents the system from experiencing wild oscillations. Additionally, there is an inherent trade-off between precision and speed. By adjusting the parameter $C$ in the modified weight design, the error neighborhood can be made arbitrarily small, though this typically results in slower convergence rates.

Key Results

The research yields several significant conclusions:

  1. Finite Time Convergence: Unlike asymptotic models, this deterministic quantized system is guaranteed to reach its final state (consensus or stable cycle) in a finite number of iterations.
  2. Tight Error Bounds: In cases where the system enters a cycle, the distance from any node's value to the global average is strictly bounded by $2\alpha$, where $\alpha$ is a parameter derived from the network weights.
  3. Quantized Consensus Conditions: The authors identified specific conditions based on the initial average's fractional part. If this part is sufficiently far from the rounding threshold, the system is guaranteed to reach a single-value consensus.
  4. Topology Impact: Simulations on RGG and ER graphs confirmed that higher network connectivity significantly accelerates convergence, demonstrating that robust communication topologies can mitigate the limitations of coarse quantization.

Conclusion and Future Work

While this paper provides a comprehensive framework for static, undirected networks with synchronous updates, several avenues for future research remain. The current model does not account for dynamic topologies where nodes move or links fail. Furthermore, real-world decentralized systems often operate asynchronously, where nodes do not update their states simultaneously. Extending these deterministic results to directed graphs and time-varying topologies represents the next frontier in making these models robust for practical mobile robotics and large-scale sensor networks.

Summary updated

Abstract

Consider a network whose nodes have some initial values, and it is desired to design an algorithm that builds on neighbor to neighbor interactions with the ultimate goal of convergence to the average of all initial node values or to some value close to that average. Such an algorithm is called generically "distributed averaging," and our goal in this paper is to study the performance of a subclass of deterministic distributed averaging algorithms where the information exchange between neighboring nodes (agents) is subject to uniform quantization. With such quantization, convergence to the precise average cannot be achieved in general, but the convergence would be to some value close to it, called quantized consensus. Using Lyapunov stability analysis, we characterize the convergence properties of the resulting nonlinear quantized system. We show that in finite time and depending on initial conditions, the algorithm will either cause all agents to reach a quantized consensus where the consensus value is the largest quantized value not greater than the average of their initial values, or will lead all variables to cycle in a small neighborhood around the average. In the latter case, we identify tight bounds for the size of the neighborhood and we further show that the error can be made arbitrarily small by adjusting the algorithm's parameters in a distributed manner.
BibTeX
@inproceedings{chamie2014design,
  author = {Mahmoud El Chamie and Ji Liu and Tamer Başar},
  title = {{Design and Analysis of Distributed Averaging with Quantized Communication}},
  booktitle = {CDC},
  year = {2014},
  doi = {10.1109/cdc.2014.7039988},
}
Figure