TOPICS
Search

Average Consensus Problem


The average consensus problem asks a collection of graph vertices on a connected graph that is undirected to reach agreement using only local communication. If graph vertex i starts with a scalar value x_i(0), the required common value is the arithmetic mean

 x^_=1/nsum_(i=1)^nx_i(0).
(1)

A standard linear formulation collects the values in a vector x(k) and uses a matrix W whose off-diagonal entries are zero between nonadjacent graph vertices, giving the iteration

 x(k+1)=Wx(k).
(2)

The iteration reaches average consensus for every initial vector iff

1^TW=1^T
(3)
W1=1
(4)
rho(W-1/n11^T)<1,
(5)

where 1 is the all-ones vector and rho is the spectral radius. The first two conditions preserve the sum and fix constant vectors, while the last condition contracts all other components. The spectral radius in the final condition is the asymptotic convergence factor (Xiao and Boyd 2004). If W has nonnegative entries, the first two conditions state that it is a doubly stochastic matrix.

Choosing the weights to minimize the convergence factor gives the fastest distributed linear averaging problem. With symmetric weights, this optimization can be expressed as a semidefinite programming problem (Xiao and Boyd 2004). A gossip algorithm instead performs randomized local pairwise updates to solve the average consensus problem (Boyd et al. 2006).


See also

Arithmetic Mean, Doubly Stochastic Matrix, Gossip Algorithm, Spectral Radius

Explore with Wolfram|Alpha

References

Boyd, S.; Ghosh, A.; Prabhakar, B.; and Shah, D. "Randomized Gossip Algorithms." IEEE Trans. Inform. Theory 52, 2508-2530, 2006. https://doi.org/10.1109/TIT.2006.874516.Xiao, L. and Boyd, S. "Fast Linear Iterations for Distributed Averaging." Syst. Control Lett. 53, 65-78, 2004. https://doi.org/10.1016/j.sysconle.2004.02.022.

Cite this as:

Weisstein, Eric W. "Average Consensus Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/AverageConsensusProblem.html

Subject classifications