Abstract

We study some nonlinear gossip algorithms for wireless sensor networks. Firstly, two types of nonlinear single gossip algorithms are proposed. By using Lyapunov theory, Lagrange mean value theorem, and stochastic Lasalle’s invariance principle, we prove that the nonlinear single gossip algorithms can converge to the average of initial states with probability one. Secondly, two types of nonlinear multigossip algorithms are also presented and the convergence is proved by the same methods. Finally, computer simulation is also given to show the validity of the theoretical results.

1. Introduction

Wireless sensor networks that are composed of a large number of unreliable cheap sensors have drawn much attention from academia to industry in the past decade [1]. The sensors are deployed for the purpose of monitoring and sensing their environment over time, communicating with each other over a wireless network, and processing information that they have exchanged with each other [2]. Clearly, the primary purpose of such networks is to collect and process the sensed information by sensors rather than provide efficient communication [3]. Robustness, scalability, power consumption, memory resources, and computation ability are the main constraints of such networks. These constraints naturally lead to gossip algorithms. Gossiping is a distributed computation, where a node exchanges and updates information at each time at most with one of its neighbors according to some rules [4]. Gossip algorithms are canonical algorithmic architectural solutions to wireless sensor networks [2], whose purposes are to make all the sensors achieve agreement [57] or synchronization [811].

Recently, there emerge lots of studies on gossip algorithms in the field of wireless communication [10, 1214] and of control systems [1518]. In wireless sensor networks, gossip algorithms are used to solve many practical problems including distributed average, distributed estimation, source localization, and data compression [10]. These traditional gossip algorithms reach agreement by exchanging information with neighbor and averaging the exchanged information. Averaging the exchanged information can be seen as a case of liner process. However, under many practical conditions, the processing ability of sensor is nonlinear. Gossip algorithm can be viewed as a form of consensus protocol, but it differs from generic consensus protocol greatly [1922]. The goal of consensus is to agree on the value of some quantity whereas the goal of gossiping is to compute the average of the initial values of net nodes [4]. Though nonlinear consensus algorithms have been widely investigated [23, 24], to the best of our knowledge, few studies focus on nonlinear gossip algorithm. The present study tries to address this question and proposes some novel nonlinear gossip algorithms to do the exchanged information. Two types of nonlinear single gossip algorithms and nonlinear multigossip algorithms are presented for wireless sensor networks. By using Lyapunov theory, Lagrange mean value theorem, and stochastic Lasalle’s invariance principle, we prove that the proposed algorithms converge to the average of the initial states with probability one.

The remainder of this paper is organized as follows. In Section 2, we review some concepts on graph theory and introduce the linear gossip algorithm. Nonlinear gossip algorithm is presented in Section 3. We propose two types of nonlinear single gossip algorithm and nonlinear multigossip algorithm and prove their convergence properties. Section 4 gives the computer simulation to show the validity of the theoretical results. Section 5 offers our concluding remarks and the possible research line in the future.

Notation. Let be the dimension column vector of all ones, , . The superscript “” stands for matrix transposition. denotes the expectation of stochastic variable. . w.p.1 is the shortened form of with probability one.

2. Preliminaries

Suppose there is a connected wireless sensor network which consists of sensors distributed randomly in an area. We describe this wireless sensor network by a unidirectional graph , where is the vertex set with each element denoting a sensor. Let denote the set of links along which node pairs can communicate.   is the adjacency matrix. If sensor can communicate with sensor , ; otherwise, . For the purpose of simplicity, we assume that the network graph is connected and unchanged over time in terms of and .

The gossip algorithm can be described as the following: without loss of generality, we assume in discrete time slot that node can gossip with one of its neighbors . First, node sends its current information , called gossip variable, to node . After it received this information, node sends its own current gossip variable to node . Then node and node set their gossip variables by some rules at discrete time , respectively. The gossip variables of the rest nodes remain unchanged, as showed by where is a function on gossip variables and (or) . We call gossip function, which indicates the change introduced by the cooperation of node to node . When the gossip function is a linear function, for instance, , where are constant, (1) becomes

This is the traditional gossip algorithm, which is called linear gossip algorithm. Specially, if , this linear gossip algorithm is average gossip algorithm [4]. The gossip process repeats between each pair of nodes; then finally all the sensors will have the same value as the average of their initial information, which is showed as The proof of conclusion (3) can be found in [22].

3. Nonlinear Gossip Algorithms

In gossip algorithms, different gossip functions denote different gossip rules. If is a nonlinear function, then the gossip algorithm is nonlinear. We call this algorithm nonlinear gossip algorithm. Two types of nonlinear gossip algorithms are presented for single gossip algorithm and multigossip algorithm, respectively. We will give a brief statement on these two types of nonlinear gossip algorithms and deliberate their convergence properties.

3.1. Nonlinear Gossip Algorithms Type-1

In this subsection, we consider the following nonlinear gossip algorithm:

In (4), we think of the nonlinear function on the increment of gossip variables and as the change introduced by the cooperation of node to node .

Theorem 1. Suppose the gossip function in gossip rule (4) can be any continuous function which satisfies (i) is odd; (ii)   ; then all the gossip variables converge to the average of their initial values w.p.1.

Proof. First we will prove nonlinear gossip algorithm (4) can converge w.p.1.
Without loss of generality, in , we randomly choose node and node for gossiping. Define a Lyapunov function , and we have Since is odd, that is, , hence and (5) can be simplified as
According to Lagrange mean value theorem and due to , we can forward our proof by considering all three possible cases in terms of the difference between and :(i)if , we have and ; thus, (ii)if , then and ; therefore, we can also obtain ;(iii)if , then .
Hence, from (i), (ii), and (iii), we have
Invoking the stochastic version of LaSalle’s Theorem [25, 26], we conclude that where is a constant. Equation (10) indicates that the nonlinear gossip algorithms (4) can converge w.p.1.
Now we will prove that all the gossip variables converge to the average of their initial values. Consider The gossip function is an odd function; thus . Then, (11) can be simplified as Therefore, we have
Equation (13) implies that , which in turn implies that all gossip variables converge to the average of their initial values w.p.1 under nonlinear gossip rule (4).

3.2. Nonlinear Gossip Algorithms Type-2

We consider the following nonlinear gossip algorithm:

In (14), we think of the increment of the nonlinear function on gossip variables and on gossip variables as the change introduced by the cooperation of node to node .

Theorem 2. Suppose the gossip function in gossip rule (14) can be any continuous function and satisfies ; then all the gossip variables converge to the average of their initial values w.p.1.

Proof. Similar to the proof of Theorem 1, in , we randomly choose node and node for gossiping. We define a Lyapunov function . From (14),
According to Lagrange mean value theorem and due to , we have that (i)if , we have and ; thus, (ii)if , then and ; therefore, we can also obtain ;(iii)if then .
Hence from (i), (ii), and (iii), we have
By using the stochastic version of LaSalle’s Theorem, we have where is a constant. Equation (19) indicates that the nonlinear gossip algorithms (14) can converge w.p.1.
Consider Hence we have
Equation (21) implies that , which in turn implies that all gossip variables converge to the average of their initial values w.p.1 under nonlinear gossip rule (14).

3.3. Nonlinear Multigossip Algorithms

In aforementioned gossip algorithms, each sensor is allowed to gossip with at most one of its neighbors in a fixed time slot, which leads to a low average convergence rate. For example when sensor and sensor are gossiping, another sensor cannot gossip with others. This gossip algorithm is single gossip algorithm. In fact, multiple pairs of sensors can gossip at the same time slot, provided each of two pairs has no common sensor, which are multigossip algorithms [4]. For example, when sensor and sensor are gossiping, sensor and sensor are also gossiping; then and should satisfy and . Obviously, the convergence rate of multigossip algorithms is faster than one of single gossip algorithms.

It is similar to nonlinear single gossip algorithm that we present two types of nonlinear multigossip algorithms.

Assume in discrete time slot that there are pairs of sensors, , that can gossip, and if the gossip rules conform to type-1, then we have

Theorem 3. In multigossip algorithm, if nonlinear function in gossip rule (22) can be any continuous function which satisfies that (i)    is odd; (ii)   , then all gossip variables converge to the average of their initial values w.p.1.

Proof. In , we randomly choose pairwise nodes for gossiping. By defining a Lyapunov function , we have
Similar to the proof of Theorem 1, if , then ; if , then .
Therefore we have
Hence, we get where is a constant. Equation (25) indicates that the nonlinear gossip algorithms (14) can converge w.p.1.
Consider Because the gossip function is an odd function, (26) is simplified as Therefore we have
Equation (28) implies that , which in turn implies that all gossip variables converge to the average of their initial values w.p.1 under nonlinear multigossip rule (22).

Assume in discrete time slot ,   pairs of sensors, , that are gossiping, and if the gossip rules conform to type-2, then we have

Theorem 4. In multigossip algorithm, if nonlinear function in gossip rule (29) can be any continuous function and satisfies , then all gossip variables converge to the average of their initial values w.p.1.

Proof. The analysis is similar to the proofs of Theorems 2 and 3, and it is thus omitted here.

4. Numerical Simulation

In this section, we give several computer simulation examples for the presented nonlinear gossip algorithms. A connected wireless sensor network is considered which is composed of sensors and whose network is showed as in Figure 1. No matter what the distribution of the sensors’ gossip variables is, the proposed nonlinear algorithms can converge w.p.1. We assume the initial gossip variables of these five sensors are , , , , and , respectively. In the proposed nonlinear gossip algorithms, we require that the gossip function in type-1 satisfy two conditions: (i)   is odd and (ii)  ; the gossip function in type-2 should only satisfy . We give a function which satisfies the above conditions. We simulate two different gossip types of nonlinear single gossip algorithms and nonlinear multigossip algorithms. The simulation results are showed in Figures 2 and 3.

Figure 2 is the simulations of nonlinear single gossip algorithms for type-1 and type-2. Figure 3 is the simulations of nonlinear multigossip algorithms for type-1 and type-2. It can be seen from Figures 2 and 3 that the proposed nonlinear gossip algorithms can converge and the convergent value is the sensors’ average of their initial values. Figures 2 and 3 also illustrate that different gossip rules have different convergence rates of nonlinear gossip algorithms.

5. Conclusion

Nonlinear gossip algorithms for wireless sensor networks are considered. It is proved that the proposed algorithms can converge to the average of the initial values with probability one. The proposed algorithm is a general approach to the gossip algorithm, while the traditional linear gossip algorithm can be viewed as a special case of the nonlinear gossip algorithm. In the simulation, we find that different gossip functions bring about different convergence rates. How to determine and accelerate the convergence rate of nonlinear gossip algorithms may worth further study.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (nos. 61371107, 61261017, and 61304160), by the Fundamental Research Funds for the Central Universities (Grant no. JB140406), and by Guangxi Natural Science Foundation (2013GXNSFAA019334).