Large Deviations Performance of Consensus+Innovations Distributed Detection with Non-Gaussian Observations
Dragana Bajovic, Dusan Jakovetic, Jose M. F. Moura, Joao Xavier, Bruno Sinopoli
I Introduction
Consider a distributed detection scenario where sensors are connected by a generic network with intermittently failing links. The sensors perform consensus+innovations distributed detection; in other words, at each time , each sensor updates its local decision variable by: 1) sensing and processing a new measurement to create an intermediate variable; and 2) weight averaging it with its neighbors’ intermediate decision variables. We showed in that, when the sensor observations are Gaussian, the consensus+innovations distributed detector exhibits a phase transition. When the network connectivity is above a threshold, then the distributed detector is asymptotically optimal, i.e., asymptotically equivalent to the optimal centralized detector that collects the observations of all sensors.
This paper establishes the asymptotic performance of distributed detection over random networks for generic, non-Gaussian sensor observations. We adopt as asymptotic performance measure the exponential decay rate of the Bayes error probability (error exponent). We show that phase transition behavior emerges with non-Gaussian observations and demonstrate how the optimality threshold is a function of the log-moment generating function of the sensors’ observations and of the number of sensors . This reveals a very interesting interplay between the distribution of the sensor observations (e.g., Gaussian or Laplace) and the rate of diffusion (or connectivity) of the network (measured by a parameter defined in Section II): for a network with the same connectivity, a distributed detector with say, Laplace observations distributions, may match the optimal asymptotic performance of the centralized detector, while the distributed detector for Gaussian observations may be suboptimal, even though the centralized detectors for the two distributions, Laplace and Gaussian, have the same optimal asymptotic performance.
For distributed detection, we determine the range on the detection threshold for which each sensor achieves exponentially fast decay of the error probability (strictly positive error exponent), and we find the optimal that maximizes the error exponent. Interestingly, above the critical (phase transition) value for the network connectivity , the optimal detector threshold is , mimicking the (asymptotically) optimal threshold for the centralized detector. However, below the critical connectivity, we show by a numerical example that the optimal distributed detector threshold might be non zero.
Brief review of the literature. Distributed detection has been extensively studied, in the context of parallel fusion architectures, e.g., , consensus-based detection , and, more recently, consensus+innovations distributed inference, see, e.g., for distributed estimation, and for distributed detection. Different variants of consensus+innovations distributed detection algorithms have been proposed; we analyze here running consensus, the variant in .
Reference considers asymptotic optimality of running consensus, but in a framework that is very different from ours. Reference studies the asymptotic performance of the distributed detector where the means of the sensor observations under the two hypothesis become closer and closer (vanishing signal to noise ratio (SNR)), at the rate of , where is the number of observations. For this problem, there is an asymptotic, non-zero, probability of miss and an asymptotic, non-zero, probability of false alarm. Under these conditions, running consensus is as efficient as the optimal centralized detector, , as long as the network is connected on average. Here, we assume that the means of the distributions stay fixed as grows. We establish, through large deviations, the rate (error exponent) at which the error probability decays to zero as goes to infinity. We show that connectedness on average is not sufficient for running consensus to achieve the optimality of centralized detection; rather, phase change occurs, with distributed becoming as good as centralized, when the network connectivity, measured by , exceeds a certain threshold.
We distinguish this paper from our prior work on the performance analysis of running consensus. In , we studied deterministically time varying networks and Gaussian observations, and in , we considered a different consensus+innovations detector with Gaussian observations and additive communication noise. Here, we consider random networks, non-Gaussian observations, and noiseless communications. Reference considers random networks and Gaussian, spatially correlated observations. In contrast, here the observations are non-Gaussian spatially independent. We proved our results in by using the quadratic nature of the Gaussian log-moment generating function. For general non-Gaussian observations, the log-moment generating function is no longer quadratic, and the arguments in no longer apply; we develop a more general methodology that establishes the optimality threshold in terms of the log-moment generating function of the log-likelihood ratio. We derive our results from generic properties of the log-moment generating function like convexity and zero value at the origin. Finally, while reference and our other prior work considered zero detection threshold , here we extend the results for generic detection thresholds . Our analysis reveals that, when is above its critical value, the zero detector threshold is (asymptotically) optimal. When is below the critical value, we compute the best detector threshold , which may be non-zero in general.
Our analysis shows the impact of the distribution of the sensor observations on the performance of distributed detection: distributed detectors (with different distributions of the sensors observations) can have different asymptotic performance, even though the corresponding centralized detectors are equivalent, as we will illustrate in detail in Section IV.
Paper outline. Section II introduces the network and sensor observations models and presents the consensus+innovations distributed detector. Section III presents and proves our main results on the asymptotic performance of the distributed detector. For a cleaner exposition, this section proves the results for (spatially) identically distributed sensor observations. Section IV illustrates our results on several types of sensor observation distributions, namely, Gaussian, Laplace, and discrete valued distributions, discussing the impact of these distributions on distributed detection performance. Section V extends our main results to non-identically distributed sensors’ observations. Finally, Section VI concludes the paper.
II Problem formulation
This section introduces the sensor observations model, reviews the optimal centralized detector, and presents the consensus+innovations distributed detector. The section also reviews relevant properties of the log-moment generating function of a sensor’s log-likelihood ratio that are needed in the sequel.
We study the binary hypothesis testing problem versus . We consider a network of nodes where is the observation of sensor at time , where ,
The sensors’ observations are independent and identically distributed (i.i.d.) both in time and in space, with distribution under hypothesis and under :
By spatial independence, the joint distribution of the observations of all sensors
at any time is under and under . Our main results in Section III are derived under Assumption 1. Section V extends them to non-identical (but still independent) sensors’ observations.
II-B Centralized detection, log-moment generating function (LMGF), and optimal error exponent
The log-likelihood ratio of sensor at time is and given by
where, , is 1) the probability density function corresponding to , when is an absolutely continuous random variable; or 2) the probability mass function corresponding to , when is discrete valued.
Under Assumption 1, the log-likelihood ratio test for time observations from all sensors, for a threshold is: In (3), we re-scale the spatio-temporal sum of the log-likelihood ratios by dividing the sum by . Note that we can do so without loss of generality, as the alternative test without re-scaling is: with
Log-moment generating function (LMGF). We introduce the LMGF of and its properties that play a major role in assessing the performance of distributed detection.
Let () denote the LMGF for the log-likelihood ratio under hypothesis :
In (4), replaces , for arbitrary , and , due to the spatial and temporal identically distributed observations, see Assumption 1.
Consider Assumption 1. For and in (4) the following holds:
For a proof of (a) and (b), see . Part (c) follows from the definitions of and , which we show here for the case when the distributions and are absolutely continuous (the proof for discrete distributions is similar):
We further assume that the LMGF of a sensor’s observation is finite.
In the next two remarks, we give two classes of problems when Assumption 2 holds.
Remark I. We consider the signal+noise model:
In (8) and (10), we can also allow either (or both) to equal 1, but then the corresponding is in . Note that need not be symmetric, i.e., need not be equal to . Intuitively, the tail of the density behaves regularly, and grows either like a polynomial of arbitrary finite order in , or slower, like a power , , or like a logarithm . The class of admissible densities includes, e.g., power laws , , or the exponential families , , with: 1) the Lebesgue base measure ; 2) the polynomial, power, or logarithmic potentials ; and 3) the canonical set of parameters , .
Remark II. Assumption 2 is satisfied if has arbitrary (different) distributions under and with the same, compact support; a special case is when is discrete, supported on a finite alphabet.
Denote by , the Fenchel-Legendre transform of :
It can be shown that is nonnegative, strictly convex, , for , and , . We now state the result on the centralized detector’s asymptotic performance.
Let Assumption 1 hold, and consider the family of centralized detectors (3) with constant threshold Then, the best (maximal) error exponent:
Denote by the LMGF for the log-likelihood ratio for the observations of all sensors at time . Then, , by the i.i.d. in space assumption on the sensors’ observations. The Lemma now follows by the Chernoff lemma (Corollary 3.4.6, ):
II-C Distributed detection algorithm
We now consider distributed detection when the sensors cooperate through a randomly varying network. Specifically, we consider the running consensus distributed detector proposed in . Each node maintains its local decision variable , which is a local estimate of the global optimal decision variable in (3). Note that is not locally available. At each time , each sensor updates in two ways: 1) by incorporating its new observation to make an intermediate decision variable ; and 2) by exchanging the intermediate decision variable locally with its neighbors and computing the weighted average of its own and the neighbors’ intermediate variables.
More precisely, the update of is as follows:
Here is the (random) neighborhood of sensor at time (including ), and are the (random) averaging weights. The sensor ’s local decision test at time is:
i.e., (respectively, ) is decided when (respectively, ).
Write the consensus+innovations algorithm (13) in vector form. Let and . Also, collect the averaging weights in the matrix , where, clearly, if the sensors and do not communicate at time step . The algorithm (13) becomes:
Network model. We state the assumption on the random averaging matrices .
The averaging matrices satisfy the following:
The sequence is i.i.d.
is symmetric and stochastic (row-sums equal 1 and ) with probability one, .
There exists , such that, for any realization , , , and, whenever , .
and are mutually independent over all and .
Condition (c) is mild and says that: 1) sensor assigns a non-negligible weight to itself; and 2) when sensor receives a message from sensor , sensor assigns a non-negligible weight to sensor .
It is easy to verify from (15) that equals:
Network connectivity. From (17), we can see that the matrices should be as close to as possible for enhanced detection performance. Namely, the ideal (unrealistic) case when for all , corresponds to the scenario where each sensor is equivalent to the optimal centralized detector. It is well known that, under certain conditions, the matrices converge in probability to :
The following Lemma easily follows from (18).
Let Assumption 3 hold. Then, for any , there exists a constant (independent of ) such that:
III Main results: Asymptotic analysis and error exponents for distributed detection
Subsection III-A states our main results on the asymptotic performance of consensus+innovations distributed detection; subsection III-B proves these results.
where, we recall, and are the prior probabilities.
and define , by
Then, for every , at each sensor , , we have:
Let Assumptions 1-3 hold and consider the family of distributed detectors in (13) and (14) parameterized by detector thresholds . Then:
and the lower bound in (24) is maximized for the point As we show in the proof, such a point exists and is unique. at which
Figure 1 (left) illustrates the error exponent lower bounds and in Theorem 5, while Figure 1 (right) illustrates the quantities in (21). ( See the definition of the function in (36) in the proof of Theorem 5.) We consider sensors and a discrete distribution of over a 5-point alphabet, with the distribution under , and under . We set here
Corollary 6 states that, when the network connectivity is above a threshold, the distributed detector in (13) and (14) is asymptotically equivalent to the optimal centralized detector. The corresponding optimal detector threshold is . When is below the threshold, Corollary 6 determines what value of the error exponent the distributed detector can achieve, for any given . Moreover, Corollary 6 finds the optimal detector threshold for a given ; can be found as the unique zero of the strictly decreasing function on , see the proof of Corollary 6, e.g., by bisection on .
Corollary 6 establishes that there exists a “sufficient” connectivity, say , so that further improvement on the connectivity (and further spending of resources, e.g., transmission power) does not lead to a pay off in terms of detection performance. Hence, Corollary 6 is valuable in the practical design of a sensor network, as it says how much connectivity (resources) is sufficient to achieve asymptotically optimal detection.
Equation (24) says that the distribution of the sensor observations (through LMGF) plays a role in determining the performance of distributed detection. We illustrate and explain by examples this effect in Section IV.
III-B Proofs of the main results
Consider the probability of false alarm in (19). We upper bound using the exponential Markov inequality parameterized by :
Next, by setting , with , we obtain:
The terms in the sum in the exponent in (28) are conditionally independent, given the realizations of the averaging matrices , , Thus, by iterating the expectations, and using the definition of in (4), we compute the expectation in (28) by conditioning first on , :
Partition of the sample space. We handle the random matrix realizations , , through a suitable partition of the underlying probability space. Adapting an argument from , partition the probability space based on the time of the last successful averaging. In more detail, for a fixed , introduce the partition of the sample space that consists of the disjoint events , , given by:
for , , and . For simplicity of notation, we drop the index in the sequel and denote event by , . for . Intuitively, the smaller is, the closer the product to is; if the event occurred, then the largest for which the product is still -close to equals . We now show that is indeed a partition. We need the following simple Lemma. The Lemma shows that convergence of is monotonic, for any realization of the matrices
Let Assumption 3 hold. Then, for any realization of the matrices :
Since every realization of is stochastic and symmetric for every , we have that and , and, so: . Now, using the sub-multiplicative property of the spectral norm, we get
To show that is a partition, note first that (at least) one of the events necessarily occurs. It remains to show that the events are disjoint. We carry out this by fixing arbitrary , and showing that, if the event occurs, then , , does not occur. Suppose that occurs, i.e., the realizations are such that and . Fix any Then, event does not occur, because, by Lemma 7, Now, fix any Then, event does not occur, because, by Lemma 7, Thus, for any , if the event occurs, then , for , does not occur, and hence the events are disjoint.
Using the total probability law over , the expectation (29) is computed by:
where, we recall, is the indicator function of the event . The following lemma explains how to use the partition to upper bound the expectation in (30).
For any realization of the random matrices , :
Further, consider a fixed in . If the event occurred, then, for :
To prove part (b) of the Lemma, suppose that event occurred. Then, by the definition of ,
Using the fact that each realization , , is doubly stochastic, and using the sub-multiplicative property of the spectral norm, we have that
for every . Then, by the equivalence of the 1-norm and the spectral norm, it follows that:
Finally, since is convex (Lemma 1, part (a)), its maximum in is attained at a boundary point and the claim follows. ∎
We now fix . Using the results from Lemma 4 and Lemma 8, we next bound the expectation in (30) as follows:
To simplify the notation, we introduce the function:
We need the following property of .
Since is convex, for and for fixed , we have that
Thus, for fixed , is non-increasing, and the claim of the Lemma follows. ∎
We proceed by bounding further the right hand side in (31), by rewriting as :
The second inequality follows by introducing and by enlarging the set for from to the continuous interval $\logk$, from (27) and (33) we get:
Taking the when , the first two terms in the right hand side of (34) vanish; further, changing the sign, we get a bound on the exponent of that holds for every :
By Lemma 9, as , decreases to ; further, letting , we get
The previous bound on the exponent of the probability of false alarm holds for any . To get the best bound, we maximize the expression on the right hand side of (35) over . (We refer to figure 1 to help illustrate the bounds and for a discrete valued observations over a 5-point alphabet.) To this end, introduce
We show that the best bound equals in (23), i.e.:
From the first order optimality conditions, for a fixed , an optimizer (if it exists) of the objective in (37) is a point that satisfies:
where last inequality is by Theorem 5. We now show that for all First, from the expression for in Theorem 5, for , we have: , and for any . As the function is convex, we conclude that , for all (The same conclusion holds under by replacing with ) Analogously, it can be shown that for all , and so , for all
We now calculate . Consider the function . Using the definition of in Theorem 5, and taking the subdifferential of at any point , it is easy to show that , for any subgradient , which implies that is strictly increasing on . Similarly, it can be shown that is strictly decreasing on . Further, using the properties that and , we have , and . By the previous two observations, we have that is strictly decreasing on , with and . Thus, has a unique zero in . Now, the fact that holds trivially because is strictly increasing on and is strictly decreasing on . This completes the proof of part (a).
IV Examples
This section illustrates our main results for several examples of the distributions of the sensor observations. Subsection IV-A compares the Gaussian and Laplace distributions, both with a finite number of sensors and when . Subsection IV-B considers discrete distributions with finite support, and, in more detail, binary distributions. Finally, Subsection IV-C numerically demonstrates that our theoretical lower bound on the error exponent (24) is tight. Subsection IV-C also shows trhough a symmetric, tractable example how distributed detection performance depends on the network topology (nodes’ degree and link occurrence/failure probability.)
Gaussian distribution. We now study the detection of a signal in additive Gaussian noise; has the following density:
Applying Corollary 6, we get the sufficient condition for optimality:
Since , the two conditions from the Corollary here reduce to a single condition in (24).
Laplace distribution. We next study the optimality conditions for the sensor observations with Laplace distribution. The density of is:
Again, the minimum is at , and the per sensor Chernoff information is
The optimality condition in (24) becomes:
Hence, the required to achieve the optimal error exponent grows much slower with the Laplace distribution than with the Gaussian distribution.
IV-B Discrete distributions
We now consider the case when the support of the sensor observations under both hypothesis is a finite alphabet . This case is of practical interest when, for example, the sensing device has an analog-to-digital converter with a finite range; hence, the observations take only a finite number of values. Specifically, the distribution of , , , is given by:
Combining (51) and (52), and applying Corollary 6 (equation (24)), we get that a sufficient condition for asymptotic optimality is:
We further assume a very simplified sufficient condition for optimality:
IV-C Tightness of the error exponent lower bound in (24) and impact of the network topology
Impact of the network topology. We have seen in the previous two subsections how detection performance depends on . In order to understand how depends on the network topology, we consider a symmetric network structure, namely a regular network. For this case, we can express as an explicit (closed form) function of the nodes’ degrees and the link occurrence probabilities. (Recall that the smaller is, the better the network connectivity.)
Consider a connected regular network with nodes and degree . Suppose that each link is a Bernoulli random variable, equal to with probability (link online) and with probability (link offline,) with spatio-temporally independent link occurrences. Then, it can be shown that equals:
This expression is very intuitive. When increases, i.e., when the links are online more often, the network (on average) becomes more connected, and hence we expect that the network connectivity increases (improves). This is confirmed by (54): when increases, becomes smaller and closer to zero. Further, when increases, the network becomes more connected, and hence the network speed again improves. Note also that is a linear function of .
V Non-identically distributed observations
We extend Theorem 5 and Corollary 6 to the case of (independent) non-identically distributed observations. First, we briefly explain the measurement model and define the relevant quantities. As before, let denote the observation of sensor at time , , .
Assumption A The observations of sensor are i.i.d. in time, with the following distribution:
(Here we assume that and are mutually absolutely continuous, distinguishable measures, for ). Further, the observations of different sensors are independent both in time and in space, i.e., for , and are independent for all and .
Under Assumption A, the form of the log-likelihood ratio test remains the same as under Assumption 1:
where the log-likelihood ratio at sensor , , is now:
Denote by the LMGF of under hypothesis :
We assume finiteness of the LMGF’s of all sensors. Assumption 2 is restated explicitly as Assumption B.
The optimal centralized detector, with highest error exponent, is the likelihood ratio test with zero threshold , its error exponent is equal to the Chernoff information of the vector of all sensors observations, and can be expressed in terms of the LMGF’s as:
Let Assumptions A, B and 3 hold, and let, in addition, Consider the family of distributed detectors in (13) and (14) with thresholds . Then, at each sensor :
Let Assumptions A, B and 3 hold, and let, in addition, Consider the family of distributed detectors in (13) and (14) with thresholds . Then:
and the lower bound in (58) is maximized for the point at which
Comparing Theorem 5 with Theorem 10, we can see that, under non-identically distributed observations, it is no longer possible to analytically characterize the lower bounds on the error exponents, and . However, the objective functions (in the variable ) in (56) and (57) are concave (by convexity of the LMGF’s) and the underlying optimization variable is a scalar, and, thus, and can be efficiently found by a one dimensional numerical optimization procedure, e.g., a subgradient algorithm .
The proof of Theorem 10 mimics the proof of Theorem 5; we focus only on the steps that account for different sensors’ LMGF’s. First, expression (29) that upper bounds the probability of false alarm for the case of non-identically distributed observations becomes:
Next, we bound the sum in the exponent of the previous equation, conditioned on the event , for a fixed in , deriving a counterpart to Lemma 8.
For any realization of , :
Consider a fixed in . If the event occurred, then, for :
The remainder of the proof proceeds analogously to the proof of Theorem 5. ∎
VI Conclusion
We analyzed the large deviations performance (error exponent) of consensus+innovations distributed detection over random networks. The sensors’ observations have generic (non-Gaussian) distribution, independent, not necessarily identical over space, and i.i.d. in time. Our results hold assuming that the log-moment generating functions of each sensor’s log-likelihood ratio are finite. We showed that the distributed detector exhibits a phase transition behavior with respect to the network connectivity, measured by , where is the (exponential) rate of convergence in probability of the product to the consensus matrix . When is above the threshold, the distributed detector has the same error exponent as the optimal centralized detector. We further showed that the optimality threshold depends on the type of the distribution of the sensor observations. Numerical and analytical studies illustrated this dependence for Gaussian, Laplace, and binary distributions of the sensors’ observations.
Appendix A Appendix
where we use the fact that the density under is , i.e., is the shifted density (of the noise) under . With , (60) is rewritten as:
Now, by (7), for any , there exists , so that
Also, for any , there exists , such that:
To upper bound the integral , we note that, by (63), we can choose large enough, so that: for arbitrary . Thus, we have: