Abstract

Compressive sensing (CS) has been widely used in wireless sensor networks for the purpose of reducing the data gathering communication overhead in recent years. In this paper, we firstly apply 1-bit compressive sensing to wireless sensor networks to further reduce the communication overhead that each sensor needs to send. Furthermore, we propose a novel blind 1-bit CS reconstruction algorithm which outperforms other state-of-the-art blind 1-bit CS reconstruction algorithms under the settings of WSN. Experimental results on real sensor datasets demonstrate the efficiency of our method.

1. Introduction

Due to the vast practical and potential unlimited applications, wireless sensor networks keep attracting more and more attention from both research and industry community [1]. In order to design efficient wireless sensor networks, fundamental research aspects, such as topological control [2], multihop fair access [3], energy-efficient routing [46], and data aggregation protocols [7, 8], must be thoroughly explored.

In typical wireless senor networks, deployed sensor nodes periodically collect sensory data and send them to sinks (or base stations) via shared wireless channels. Since sensor node only has limited computation capability and energy power, it is desirable to design simple and energy-efficient data gathering (or aggregation) method to reduce data transmission consumption of each sensor.

Observing that the sensory data from natural phenomenon usually has intratemporal and interspatial correlation, various methods have been proposed to make use of those characteristics [9]. Recently, Wei et al. [7] proposed a prediction-based data aggregation which combined Grey model and Kalman filter. Guo et al. [8] tried to find the potential law of history data with the help of particle swarm optimization and neural network and thus reduce the unnecessary transmissions based on the deviation between the actual and the predicted value at each sensor node. Beside those effective methods, another promising taxonomy is compressive sensing (CS) [10, 11] based approaches. Compressive sensing can exactly recover signals with only few nonzero elements or few nonzero coefficients under some transform domain, such as wavelet basis or discrete cosine transform, from very few projections.

Wang et al. [12] first exploited the interspatial correlation of sensory data between sensor nodes in large scale wireless sensor networks using compressive sensing. In this method, each sensor node is classified as encoding sensor node or data sensor node. Encoding sensor nodes add and store the weighted sensory data sent from data sensor nodes, and then base station or collector can recover all the sensory data by querying only small portion of the encoding sensor nodes. The method is fully distributed but, in order to generate the projections, the communication overhead between sensor nodes is relatively large.

In [13], the authors proposed an energy-efficient compressive data gathering (CDG) method in large scale multihop WSNs. In this method, a spanning tree rooted at the base station will be generated, and the tree contains all the sensor nodes. Giving an by projection random matrix , each leaf node sends projection vector with length to its parent node along the spanning tree. After receiving the projection vectors from all its children nodes, the intermediate nodes add the vectors and then send the result vector to its own parent node. In the end, the base station can recover all the original sensory data from the final projection vector. Similar to CDG scheme, Luo et al. [14] and Xiang et al. [15] proposed a hybrid CS method. In this approach, each leaf node only needs to send its own single sensory data instead of projection vector to its parent node. More recent work in this direction is focusing on designing optimized sparse projection matrix [16, 17].

Though the communication overhead can be reduced, the CDG-based methods that utilize interspatial correlation have at least the following two costs. The first is that the projection spanning trees need to be regenerated even if there is only a single sensor node leaving or joining, and the second is that accurate time synchronization is required between sensor nodes.

Xu et al. [18] proposed a hierarchical data aggregation using compressive sensing (HDACS) scheme to address the local sparsity instead of global sparsity.

Intratemporal correlation was first utilized by using compressive sensing in [19]. Observing that the sparsity of sensory data may vary at different time period, Wang et al. [20] suggested using intelligent compressive sensing to adaptively adjust the number of projections that each sensor node needs to send.

Caione et al. [21] evaluated the computation overhead of generating different projection matrices and concluded that sparse binary matrix has the lowest generating computation overhead. Also, the authors successfully recover sensory data of projections from multiple sensor nodes using distributed compressive sensing [22].

In [2326], matrix completion technology [27], which is the extension of compressive sensing, has been used in WSNs to reduce the sampling and transmission cost. The basic idea is that, instead of using uniform sampling, each sensor node randomly samples and sends sensory data to base station under a certain probability. After receiving all the incomplete sensory data from sensor nodes, base station can form a low rank incomplete matrix and recover missing sensory data using matrix completion method.

More recently, 1-bit CS has attracted more and more attention for the ability to balance the cost of refined quantization and the cost of additional measurements [28]. In this paper, we focus on intratemporal correlation and first apply 1-bit CS to data gathering in WSNs.

The remainder of this paper is organized as follows. In Section 2, we describe the basic theory of 1-bit CS and then propose our 1-bit CS framework and new algorithm. In Section 3, we evaluate the efficiency of our method using real WSN datasets. At the end, we conclude the paper and present future research work.

2. Proposed Framework and Algorithm

2.1. 1-Bit CS

Instead of transmitting the full quantized projections directly, 1-bit CS only sends the sign of projection values, such as where sign is a sign function, such that , is a given Gaussian random matrix, has only () nonzero elements, and . Now the problem is trying to recover sparse signal from sign measurement .

Boufounos and Baraniuk [28] first showed that we can accurately reconstruct normalized , through where and denote the -norm and -norm of a vector, respectively, and is an diagonal matrix whose diagonal elements are from the element of vector . Also, the constraint in (2) imposes on the consistency requirement between the 1-bit measurements and the solution, and the constraint limits the solution to a unit sphere which also means the estimated loses the scale information.

In [28], the authors relaxed the constraint and used fixed-point continuation (FPC) algorithm solving the below alternative model: where is a tuning parameter and BIHT [29] currently is one of the fastest and accurate reconstruction algorithms which solve the following model: But model (5) needs the sparse level as the prior information that is not practical in WSNs.

We classify reconstruction algorithms without the prior requirement of sparsity level as blind 1-bit CS.

In [30], the authors proposed an efficient blind 1-bit CS method, which was restricted step shrinkage (RSS) algorithm, to solve model (2). This algorithm used trust-region methods for nonconvex optimization on a unit sphere and has provable convergence guarantees.

Blind 1-bit CS algorithms are an ongoing research direction, which has attracted more and more attention in recent years [31, 32].

In the next subsection, we exploit the compressible feature of sensor data and propose a novel blind 1-bit CS framework and a new reconstruction algorithm based on BIHT.

2.2. Our Framework and Algorithm

In WSNs, the measurements that each sensor node collects have intratemporal correlation and thus can be sparsified under certain transform basis. For example, as we can see from experiment section, the sensory data from two real WSN datasets can be represented by only very few coefficients under discrete cosine transform (DCT). We assume the projections of sensory data that each sensor node needs to send are vector and where is the original sensory data and is a given Gaussian random projection matrix. Suppose that can be sparsified as coefficients by an orthogonal transform matrix , such that ; then (6) can be rewritten as the equation below: where . Equation (7) is equal to (1) and can be used by base station to recover the normalized coefficients .

Though the scale inforamation is lost during the projection operation, the measurements in WSNs have only finite precision. Motivated by this fact, we first propose 1-bit data gathering CS framework in WSNs that is presented in Algorithm 1. The main idea in our framework is that each sensor node sends extra norm value of to base station.

Sensor node’s operation:
 (1) Sample and buffer sensory data , then generate projection computed from (6);
 (2) Calculate the norm value of original sensory data ;
 (3) Send norm_x and projection to base station.
Base station’s operations:
(1) After receiving norm_x and projection from the sensor node, base station solves (7)
 and get normalized coefficients from blind_1_bit_cs ( , ), here blind_1_bit_cs function
 can be any blind CS reconstruction algorithm that needs no prior sparse level information.
(2) Computing the estimated original sensory data
, here is the transpose of , and .

Observing that only a small portion of coefficients dominate the energy of , and those coefficients almost centralize at the beginning of (see Figures 1 and 2 in the next experiment section as examples), we propose a new blind 1-bit CS algorithm for WSN based on BIHT [29]. We call our algorithm BBIHT, and the details are described in Algorithm 2.

(1)Initialization: ( ), , stop_var = 0.01, best_k
(2) for  : 1 : max_K
(3)     = BIHT( ); //using BIHT as the 1-bit CS reconstruction algorithm with given sparse level k
(4)  S(:, ) = ;
(5) end
(6) for 1 : 1 : max_K //find the best sparse level
(7)    tmp = S(i, i: max_K); //get the non-zero
          // elements of row
(8)    if var(tmp) > stop_var //stop criticism
(9)        best_k = ;
(10)      Break;
(11)   end
(12)   end
(13)   return S(:, best_k); //the best reconstructed signal

In our BBIHT algorithm, we compute all the BIHT solutions given the sparse level arranging from 1 to max_ (from steps 2 to 5 in Algorithm 2). The problem now is how to find the best solution with the highest accuracy among all the BIHT solutions. Our BBIHT was motivated by observing the fact that the variance among the rows of all the BIHT solutions with different sparse level can indicate the best sparse level with the highest accuracy. That is to say, if the variance is larger than threshold stop_var, which is a relative small value, we can tell that the related sparse level is not the best sparse level and then previous sparse level is the best sparse level (from steps 7 to 12 in Algorithm 2).

As we can see from Algorithm 2, the reconstruction accuracy of our BBIHT mainly depends on the reconstruction accuracy of BIHT with the best sparse level. Also, adjusting the value of max_ can affect the computing time and reconstruction accuracy. For example, when max_ equals 1, we only need to compute BIHT once; thus the computing time is the lowest, but, at the same time, the reconstruction accuracy is the poorest.

In the next section, we can find that BBHIT works pretty well in real WSN datasets.

3. Experimental Results

In this section, we run extensive numerical experiments on two real WSN datasets to demonstrate the effectiveness of our algorithm. The first dataset is a real world trace from Intel Berkeley Research lab and we choose the temperature information collected by sensor node with number 1 on March 2, 2004 [33]. Another dataset is the temperature data collected in the Pacific Sea at (7.0N, 180W) on March 29, 2008 [34]. All experiments were performed using MATLAB on the same computer. The simulation codes of 1-bit FPC and RSS, which are the state-of-the-art 1-bit blind CS algorithms, are all from the original authors.

3.1. Sparsity of the WSN Datasets

Figures 1 and 2 are the DCT coefficients of the two datasets, respectively. As we can see from the results, few coefficients dominate the energy, and most of the coefficients are nearly zero. In fact, the first 4 DCT coefficients of Pacific Sea dataset occupy more than 99.97% energy. Thus, the two datasets can be sparsified under DCT transform and thus can be compressed using CS and 1-bit CS.

3.2. Reconstruction Experiments

The setup for our experiments is as follows. The elements of matrix follow i.i.d. Gaussian distribution with zero mean and variance. is a DCT orthogonal transform matrix. and stop_var in BBHIT are set to 0.1 and 0.01, respectively.

We performed 200 trials, and in each trial we fixed the length of reading vector as 250 and varied from 25 to 500. The sign measurements are computed as in (6). We obtain estimated using RSS [30], 1-bit FPC [28], and our BBHIT introduced in this paper, respectively.

The average signal-to-noise ratio (SNR) for each original sensory data with respect to estimated was computed. Here SNR is denoted by

Figures 3 and 4 present the SNR values for Pacific Sea dataset and Berkeley Research lab dataset using RSS, 1-bit FPC, and BBIHT algorithms, respectively. The results demonstrate that BBIHT algorithm can achieve relatively higher accuracy than RSS and 1-bit FPC algorithms, especially for the Pacific Sea dataset, which is sparser than the other dataset. Also, as depicted in the figures, we can see that when equals 1 (that means we only use 1 bit for each projection), the SNR is still higher than 20 db. Thus, BBIHT can significantly reduce the communication overhead while still achieving a reasonable high accuracy.

When equals 1, Figures 5 and 6 show the results of reconstructed readings from all the 1-bit blind CS algorithms and original readings for the two datasets, respectively. As we can see, reconstructed readings of our BBIHT and RSS fit the original readings well for both the datasets, since both of them have good SNR value.

3.3. Comparison of Compression Ratio

Usually, sensor reading in WSN is IEEE single-precision floating point value; in order to present the traditional CS projection value 24 bits are needed. For example, the value of CS projection for Pacific Sea dataset lies between −914.8860 and 1.1418e + 03, and 16 bits are not enough to store the projection. Thus, the compression ratio of traditional CS is In CDG scheme the best compression ratio is 0.1 (Section  5.1 in [13]).

In our BBIHT schema, we only need 1 bit to store each projection and 24 bits to store the extra norm value in Algorithm 1. Thus, the compression ratio of BBIHT in our experiment is When , which is always the case, BBIHT compression ratio is less than . Hence, BBIHT significantly reduces the communication overhead more than traditional CS methods and can still achieve a reasonable reconstruction accuracy. For example, as depicted in Figures 3 and 5, we can see that the SNR of Pacific Sea dataset is higher than 20 db and the accuracy is enough when . In this case, the BBIHT compression ratio is .

3.4. Average CPU Time

Figures 7 and 8 are the average CPU time of the three blind 1-bit CS algorithms for the two datasets, respectively. We can see that the average CPU time of our BBIHT is below 1 second when is less than 1. Also, note that we can adjust in Algorithm 2 to balance the computation overhead and SNR accuracy, because controls the running rounds of BIHT (from steps 2 to 5 in Algorithm 2) and the searching range for the best sparse level (from steps 6 to 12 in Algorithm 2). Figures 9 and 10 give out the normalized value of CPU time and SNR under different value.

As we can see from the results, the CPU time decreases almost linearly when decreases. But SNR is almost the same when for Pacific Sea dataset and for Intel Berkeley dataset; the reason is that the max_ still covers the actual best sparse level around those values. In practical scene, can also be optimally estimated by analyzing historical sensory data to minimize the CPU time while still achieving good SNR.

4. Conclusion and Future Work

In this paper, we have first presented a framework and a new blind 1-bit CS algorithm for the data gathering in WSNs. Experiments on two real world sensor datasets reveal our preliminary but interesting results; that is, we can achieve much more compression ratio, which means less communication overhead, and the reconstruction accuracy is still reasonable and acceptable.

Thorough theory analysis of our BBIHT and more experiments on other kind of real sensor datasets with different tuning parameters are remaining as our future work.

Conflict of Interests

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

Acknowledgments

This work was supported in part by the Opening Fund of Top Key Discipline of Computer Software and Theory in Zhejiang Provincial Colleges at Zhejiang Normal University (no. ZSDZZZZXK28). The authors would like to thank Zaiwen Wen for sharing the implementation of the original RSS algorithm.