Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-07T00:06:32.669Z Has data issue: false hasContentIssue false

Trading accuracy for speed in approximate consensus

Published online by Cambridge University Press:  17 November 2016

Jacob Beal*
Affiliation:
Raytheon BBN Technologies, Cambridge, MA 02138, USA e-mail: jakebeal@bbn.com
Rights & Permissions [Opens in a new window]

Abstract

Approximate consensus is an important building block for distributed systems, used overtly or implicitly in applications as diverse as formation control, sensor fusion, and synchronization. Laplacian-based consensus, the current dominant approach, is extremely accurate and resilient, but converges slowly. Comparing Laplacian-based consensus to exact consensus algorithms, relaxing the requirements for accuracy and resilience should enable a spectrum of algorithms that incrementally tradeoff accuracy and/or resilience for speed. This manuscript demonstrates that may be so by beginning to populate this spectrum with a new approach to approximate consensus, Power-Law-Driven Consensus (PLD-consensus), which accelerates consensus by sending values across long distances using a self-organizing overlay network. Both a unidirectional and bidirectional algorithm based on this approach are studied. Although both have the same asymptotic O(diameter) convergence time (vs. O(diameter 2) for Laplacian-based), unidirectional PLD-consensus is faster and more resilient than bidirectional PLD-consensus, but exhibits higher variance in the converged value.

Information

Type
Articles
Copyright
© Cambridge University Press, 2016 
Figure 0

Figure 1 Approximate consensus is currently generally carried out by Laplacian-based approaches, which are extreme in both their resilience and their slow speed of convergence. An alternate ‘straw-man’ extreme approach is a spanning-tree consensus, which provides a lower bound on time and minimal resilience. This paper proposes that there should exist a spectrum of possible approximate consensus algorithms trading off resilience and/or accuracy for speed, and begins the process of filling in this spectrum with two new algorithms based on Power-Law-Driven Consensus (PLD-consensus), which are both fast and resilient, at the cost of degrading the precision of the converged value to varying degrees

Figure 1

Table 1 Table of variables

Figure 2

Figure 2 Visualization of dominance competition driven by 1/f noise, by having each device spread a unique RGB color. From an initial state where no devices are dominant (a), regions of dominance are expected to grow rapidly (b, c) until eventually some device is able to dominate the entire network (d)

Figure 3

Figure 3 Numerical evaluation of Equation (21) shows (a) that cumulative probability with respect to x forms a sigmoid representing a lower bound on the likelihood of a dominant value in round Dk, and (b) summing over the range x=1 to 108 for various n and k demonstrates low sensitivity to network size and rapid convergence with k

Figure 4

Figure 4 Power-Law-Driven Consensus (PLD-consensus) vs. Laplacian-based consensus on a mesh network of 1000 devices with ~15 neighbors each. The devices are shown as gray dots distributed in a plane, viewed at an angle, with their current values for consensus showed as the height of colored dots above the plane: red for unidirectional PLD-consensus, blue for bidirectional PLD-consensus, and green for Laplacian-based consensus. From an initial spatially correlated distribution (a), both unidirectional and bidirectional PLD-consensus begin to converge rapidly (b). Both forms of PLD-consensus converge within a few hundred rounds (c), with bidirectional much closer to the true mean than unidirectional. Laplacian-based consensus is guaranteed to eventually arrive at the true mean, but even after 5000 rounds it is far from converged, retaining more than half of its initial range of values (d)

Figure 5

Figure 5 Both Power-Law-Driven Consensus (PLD-consensus) algorithms progress toward convergence at similar rates and much faster than Laplacian-based consensus, though Laplacian-based consensus initially progresses more quickly when initial values are homogeneously randomly distributed (a). Unidirectional PLD-consensus converges more quickly than bidirectional when values are spatially correlated (b), but there is a high degree of variance in both

Figure 6

Figure 6 With spatially correlated distributions, convergence time for both Power-Law-Driven Consensus algorithms increases linearly with the width of the network. Laplacian consensus cannot converge in a reasonable number of rounds except in the smallest of networks

Figure 7

Figure 7 When the network is well connected, device mobility has little effect on convergence of either Power-Law-Driven Consensus algorithm. When the network is largely disconnected, however, higher mobility is beneficial: the flexibility of the overlay construction allows values to flow effectively even across gaps in connectivity where they must be ferried by moving devices. Laplacian-based consensus performs poorly except at high velocities, where the motion of devices mixes them well. (a) Percentage converging and (b) time of convergence

Figure 8

Figure 8 Power-Law-Driven Consensus (PLD-consensus) converges reliably within 1000 rounds for all α⩾0.01 (a): the apparent ‘non-converging’ cases are caused by outlier random graphs with more disconnected devices than usual. Laplacian-based consensus, on the other hand, only barely converges within 1000 rounds for a few trials with intermediate values of ε. Lines are plotted with a small vertical displacement to enhance visibility. For cases where PLD-consensus converges, the convergence time (b) is be dominated by blend rate for low α and by diameter (regulating overlay construction and value relay) for high α

Figure 9

Figure 9 Unlike Laplacian consensus, Power-Law-Driven Consensus (PLD-consensus) will not generally converge to the mean of all initial device values. With a balanced distribution, however, the mean of the converged values over many trials will still likely be close to the true mean, as demonstrated in (a). The standard deviation of converged value (b) depends on how far information can move before a dominant device emerges and drives the system to convergence. Here, bidirectional PLD-consensus always performs much better than unidirectional, since it gathers information more quickly and from farther away. With homogeneous random values, even very short ranges can capture a reasonable approximation of the mean. When values are spatially correlated, higher α results in more variance, as devices move toward a broadcast value before their own inputs can reach a dominant device