Data prediction model in wireless sensor networks based on bidirectional LSTM

Hongju Cheng, Zhe Xie, Leihuo Wu, Zhiyong Yu, Ruixing LiEurasip J. Wirel. Commun. Netw 2019

Introduction

Wireless Sensor Networks (WSNs) are a cornerstone of the Internet of Things (IoT), deployed extensively for environmental and industrial monitoring. A primary constraint in these networks is energy consumption, largely driven by data transmission. To extend battery life, researchers are developing models that predict sensor data at the sink node, reducing the frequency of transmissions. This paper proposes the Multi-Node Multi-Feature (MNMF) model, which utilizes Bidirectional Long Short-Term Memory (Bi-LSTM) networks to achieve high-accuracy predictions by exploiting temporal and spatial correlations.

Data Quality and Denoising

Sensor data in real-world deployments is often "dirty," containing global outliers and local high-frequency noise. The MNMF model addresses this through a two-step enhancement process:

  1. Quartile Method: Identifies and removes extreme data points that fall outside the normal range.
  2. Wavelet Threshold Denoising: Filters out jitter while preserving the underlying signal trend.
Partial voltage data of node 8 illustrating the high-frequency noise that requires denoising.

This preprocessing is vital for features like voltage, which often exhibit significant instability that can mislead standard neural networks if not properly smoothed.

The MNMF Architecture

The core of the MNMF model is the Bi-LSTM network. Unlike unidirectional LSTMs, Bi-LSTMs process sequences in both directions, allowing the model to capture the full context of environmental patterns. The "Multi-Node Multi-Feature" aspect refers to the model's ability to ingest data from both the target sensor and its neighbors. By fusing these parallel streams, the model accounts for spatial redundancy—the phenomenon where adjacent sensors record similar trends.

Experimental Evaluation

The model was tested using the Intel Berkeley Research Lab dataset, a benchmark comprising 2.3 million readings from 54 sensors measuring temperature, humidity, light, and voltage.

The spatial layout of the 54 sensor nodes in the Intel Berkeley Research Lab.

Analysis of the dataset confirmed strong spatial correlations; for instance, temperature readings between neighboring nodes (such as Nodes 7, 8, and 9) showed a Spearman correlation coefficient of 0.9945. This high degree of similarity validates the inclusion of neighboring node data as a predictive feature.

Results and Performance

The MNMF model significantly outperformed traditional networks like Elman, NARX, and GRNN across key metrics:

  • Accuracy: The model achieved a Root Mean Square Error (RMSE) of 0.10095, a 2.5x improvement over the Elman network.
  • Goodness of Fit: An $R^2$ value of 0.99625 indicates that the model explains over 99% of the data variance.
  • Stability: Qualitative tracking shows the MNMF prediction curve aligns almost perfectly with real-world observations, minimizing the lag and overshooting common in competing models.

Conclusion

The MNMF model demonstrates that integrating denoising techniques with spatial-temporal deep learning can provide robust and accurate data prediction for WSNs. While the computational overhead of Bi-LSTMs remains a consideration for low-power hardware, the model's ability to reduce transmission frequency offers a promising path toward more energy-efficient IoT ecosystems.

Summary updated

BibTeX
@article{cheng2019data,
  author = {Hongju Cheng and Zhe Xie and Leihuo Wu and Zhiyong Yu and Ruixing Li},
  title = {{Data prediction model in wireless sensor networks based on bidirectional LSTM}},
  journal = {Eurasip J. Wirel. Commun. Netw},
  year = {2019},
  doi = {10.1186/s13638-019-1511-4},
}
Figure