Machine Learning Techniques for Energy Efficiency and Anomaly Detection in Hybrid Wireless Sensor Networks
Abstract
:1. Introduction
Contribution
- First of all, energy efficient sensor routing hierarchical protocols Low-Energy Adaptive Clustering Hierarchy (LEACH) and Energy–Efficient Sensor Routing (EESR) were selected as ground techniques for the proposal. To enhance the energy efficiency of these strategies, embed LEACH and EESR protocols with a Levenberg–Marquardt neural network (LMNN), i.e., LEACH-LMNN and EESR-LMNN, were developed.
- For further enhancement of performance in LEACH protocol, the sub-cluster LEACH protocol is proposed and embedded with a Levenberg–Marquardt neural network (LMNN), i.e., Sub-LEACH-LMNN.
- Additionally, as an anomaly detection system (IDS), a novel framework is proposed. This framework classifies normal and anomaly for input data, and considers the machine learning technique support vector machine (SVM) with this aim.
2. A Brief Discussion on LEACH, EESR and Sub-Cluster LEACH Protocols
2.1. LEACH Protocol
2.2. EESR Routing Protocol
2.3. Sub-Cluster LEACH
- Select one, or at most two Sub-CH nodes in each cluster.
- Selection depends on remain energy parameter and nodes concentration.
- N-CH selects either CH or Sub-CH nodes of the same cluster to transfer the data. This can be done by distance calculations from N-CH to CH and N-CH to Sub-CH.
- The link quality parameter is used to calculate the distance.
- Each N-CH transmits its data to CH nodes or Sub-CH nodes. The Sub-CH node, later, transmits the aggregated data to CH by compressing them.
- Data are collected by CH from N-CH and Sub-CH nodes.
- Jointly, N-CH data and Sub-CH data are transferred to the BS.
- A Sub-CH node also acts as an intermediate node for transmitting the aggregated data from CH nodes to BS, only if the Sub-CH node is nearer to BS. Otherwise, another N-CH node is selected as the intermediate. However, first priority is given to the Sub-CH node as an intermediate node.
3. Related Works
4. Methodology
4.1. Levenberg–Marquardt Neural Network
Algorithm 1: The Levenberg–Marquardt algorithm |
Input: |
Step 0 Set k := 0. |
Step 1 Compute and |
If , stop. Otherwise by Equation (13) |
Step 2 (a) Obtain by solving the following linear system |
(b) Solve the linear system |
to obtain , where . |
(c) Solve the linear system |
to obtain , where . |
(d) Set |
Step 3 If |
then take and go to Step 5. Otherwise go to step 4. |
Step 4 Set |
Compute with satisfying |
where the positive sequence . |
Step 5 Set Set and goto step 1. |
4.2. The Proposed LEACH-LMNN Protocol
4.3. The Proposed Sub-Cluster LEACH-LMNN Protocol
4.4. Proposed EESR-LMNN Protocol
4.5. Proposed Intrusion Detection System
Selection of Optimal Features
5. Experimental Results
5.1. Experimental Results for LEACH-LMNN, EESR-LMNN and Sub-Cluster LEACH-LMNN
5.2. Routing Protocol Discussion
5.3. IDS Results
5.4. IDS Discussion
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
Nomenclature
BS | Base Station |
CH | Cluster Head |
LMNN | Levenberg–Marquardt neural network |
MEMS | micro-electromechanical system |
N-CH | non-Cluster Head |
LEACH | Low-Energy Adaptive Clustering Hierarchy |
EESR | Energy-Efficient Sensor Routing |
SN | Sensor Node |
SVM | Support Vector Machine |
TDMA | Time Division Multiplexing Access |
WSN | Wireless Sensor Network |
References
- Haseeb, K.; Abbas, N.; Saleem, M.Q.; Sheta, O.E.; Awan, K.; Islam, N. RCER: Reliable Cluster-based Energy-aware Routing protocol for heterogeneous Wireless Sensor Networks. PLoS ONE 2019, 14, e0224319. [Google Scholar]
- Ahmad, M.; Li, T.; Khan, Z.; Khurshid, F.; Ahmad, M. A Novel Connectivity-Based LEACH-MEEC Routing Protocol for Mobile Wire- less Sensor Network. Sensors 2018, 18, 4278. [Google Scholar] [CrossRef] [Green Version]
- Feng, Q.; He, D.; Zeadally, S.; Khan, M.K.; Kumar, N. A survey on privacy protection in blockchain system. J. Netw. Comput. Appl. 2019, 126, 45–58. [Google Scholar] [CrossRef]
- He, D.; Kumar, N.; Lee, J.H. Privacy-preserving data aggregation scheme against internal attackers in smart grids. Wirel. Netw. 2016, 22, 491–502. [Google Scholar] [CrossRef]
- Kumar, N.; Iqbal, R.; Misra, S.; Rodrigues, J.J.P.C. An intelligent approach for building a secure decentralized public key infrastructure in VANET. J. Comput. Syst. Sci. 2015, 81, 1042–1058. [Google Scholar] [CrossRef]
- Mittal, M.; Iwendi, C. A Survey on Energy-Aware Wireless Sensor Routing Protocols. EAI Endorsed Trans. Energy Web 2019, 6, 1–16. [Google Scholar] [CrossRef]
- Awad, A.; German, R.; Dressler, F. Exploiting Virtual Coordinates for Improved Routing Performance in Sensor Networks. IEEE Trans. Mob. Comput. 2011, 10, 1214–1226. [Google Scholar] [CrossRef]
- Chen, H.; Shi, Q.; Tan, R.; Poor, H.V.; Sezaki, K. Mobile element assisted cooperative localization for wireless sensor networks with obstacles. IEEE Trans. Wirel. Commun. 2010, 9, 956–963. [Google Scholar] [CrossRef]
- Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. In Computer Networks; Elsevier: Amsterdam, The Netherlands, 2002; pp. 393–422. [Google Scholar]
- Chen, H.; Gao, F.; Martins, M.; Huang, P.; Liang, J. Accurate and Efficient Node Localization for Mobile Sensor Networks. ACM/Springer J. Mob. Networks Appl. 2013, 18, 141–147. [Google Scholar] [CrossRef]
- Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. [Google Scholar] [CrossRef]
- Intanagonwiwat, C.; Govindan, R.; Estrin, D. Direct Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks. In Proceedings of the ACM (Mobi-Com), Boston, MA, USA, 2007; pp. 56–67. Available online: http://people.cs.uchicago.edu/~ravenben/classes/333/papers/ige00.pdf (accessed on 26 May 2021).
- Heinzelman, W.B.; Chandrakasan, A.; Balakrishnan, H. Energy- Efficient Communication Protocol for Wireless Microsensor Networks. In Proceedings of the International Conference System Science, Maui, HI, USA, 7 January 2000; pp. 1–10. [Google Scholar]
- Heinzelman, W.B.; Chandrakasan, A.; Balakrishnan, H. Application-Specific Protocol Architecture for Wireless Microsensor Networks. IEEE Trans. Wirel. Commun. 2002, 4, 660–670. [Google Scholar] [CrossRef] [Green Version]
- Arbab, E.; Aghazarian, V.; Hedayati, A.; Motlagh, N.G.A. LEACH-Based Clustering Algorithm for Optimizing Energy Consumption in Wireless Sensor Networks. In Proceedings of the 2nd International Conference on Computer Science and Information Technology (ICCSIT), Singapore, 28–29 April 2012; pp. 147–150. [Google Scholar]
- Elsisi, M.; Mahmoud, K.; Lehtonen, M.; Darwish, M.M.F. Effective Nonlinear Model Predictive Control Scheme Tuned by Improved NN for Robotic Manipulators. IEEE Access 2021, 9, 64278–64290. [Google Scholar] [CrossRef]
- Oh, H.; Chae, K. An Energy-Efficient Sensor Routing with low latency, scalability in Wireless Sensor Networks. In Proceedings of the International Conference on Multimedia and Ubiquitous Engineering, Seoul, Korea, 26–28 April 2007; pp. 147–152. [Google Scholar]
- Mittal, M.; Kumar, K. Network Lifetime Enhancement of Homogeneous Sensor Network Using ART1 Neural Network. In Proceedings of the Sixth International Conference on Computational Intelligence and Communication Networks, Bhopal, India, 14–16 November 2014; pp. 472–475. [Google Scholar]
- Fausett, L. Fundamentals of Neural networks: Architecture, Algorithm and Applications; Pearson Education: London, UK, 1994. [Google Scholar]
- Mittal, M.; Kumar, K. Delay Prediction in Wireless Sensor Network Routing Using ART1 Neural Network. Afr. J. Comput. ICT 2015, 8, 175–180. [Google Scholar]
- Enami, N.; Moghadam, R.A. Energy Based Clustering Self Organizing Map Protocol For extending Wireless Sensor Networks lifetime and coverage. Can. J. Multimed. Wirel. Netw. 2010, 1, 42–54. [Google Scholar]
- Mittal, M.; Kumar, K. Data Clustering In Wireless Sensor Network Implemented On Self Organization Feature Map (SOFM) Neural Network. In Proceedings of the International Conference on Computing Communication and Automation(ICCCA), Greater Noida, India, 29–30 April 2016; pp. 202–207. [Google Scholar]
- Mittal, M.; Kumar, K. Quality of Services Provisioning in Wireless Sensor Networks using Artificial Neural Network: A Survey. Int. J. Comput. Appl. 2015, 117, 28–40. [Google Scholar] [CrossRef]
- Mittal, M.; Bhadoria, R.S. Aspect of ESB with Wireless Sensor Network. In Exploring Enterprise Service Bus in the Service-Oriented Architecture Paradigm; IGI-Global Publications: Hershey, PA, USA, 2017. [Google Scholar]
- Guo, Z.; Malakooti, S.; Sheikh, S.; Najjar, C.A.; Lehman, M.; Malakooti, B. Energy aware proactive optimized link state routing in mobile ad-hoc networks. Appl. Math. Model. 2017, 35, 4715–4729. [Google Scholar] [CrossRef]
- Robinson, Y.H.; Julie, E.G.; Balaji, S.; Ayyasamy, A. Energy Aware Clustering Scheme in Wireless Sensor Network Using Neuro-Fuzzy Approach. Wirel. Pers. Commun. 2017, 95, 703–721. [Google Scholar] [CrossRef]
- Akkaya, K.; Younis, M. Energy and QoS Aware Routing in Wireless Sensor Networks. Clust. Comput. 2005, 8, 179–188. [Google Scholar] [CrossRef]
- Mohemed, R.E.; Saleh, A.I.; Abdelrazzak, M.; Samra, A.S. Energy-efficient routing protocols for solving energy hole problem in wireless sensor networks. Comput. Netw. 2017, 114, 51–66. [Google Scholar] [CrossRef]
- Aslam, M.; Munir, E.U.; Rafique, M.M.; Hu, X. Adaptive energy-efficient clustering path planning routing protocols for heterogeneous wireless sensor networks. Sustain. Comput. Inform. Syst. 2016, 12, 57–71. [Google Scholar] [CrossRef]
- Kaur, N.; Singh, S. Optimized cost effective and energy efficient routing protocol for wireless body area networks. Hoc. Netw. 2017, 61, 65–84. [Google Scholar] [CrossRef]
- Feng, Y.F.; Pan, S.G.; Huang, Z.Y.; Lin, H.C. Improvement of Energy Efficiency in Wireless Sensor Networks Using Low-energy Adaptive Clustering Hierarchy (LEACH)-based Energy Betweenness Model. Sens. Mater. 2019, 31, 2691–2702. [Google Scholar] [CrossRef]
- Xu, J.; Jin, N.; Lou, X.; Peng, T.; Zhou, Q.; Chen, Y. Improvement of Leach protocol for WSN. In Proceedings of the 9th International Conference on Fuzzy Systems and Knowledge Discovery, Chongqing, China, 29–31 May 2012; pp. 2174–2177. [Google Scholar]
- Salim, A.; Osamy, W.; Khedr, A.M. IBLEACH: Intra-balanced Leach protocol for Wireless Sensor Networks. Wirel. Netw. 2014, 20, 1515–1525. [Google Scholar] [CrossRef]
- Anand, G.; Balakrishnan, R. Leach-Ex protocol—A comparative performance study and analysis with Leach variants of Wireless Sensor Networks. In Proceedings of the National Conference on Frontiers &Advances in Information Science & Technology, 2013; pp. 192–196. Available online: https://www.researchgate.net/publication/270159147_Leach-Ex_Protocol_-A_Comparative_Performance_Study_And_Analysis_With_Leach_Variants_Of_Wireless_Sensor_Networks (accessed on 26 May 2021).
- Liu, J.L.; Ravishankar, C.V. LEACH-GA: Genetic Algorithm-based energy efficient adaptive clustering protocol for Wireless Sensor Networks. Int. J. Mach. Learn. Comput. 2011, 1, 79–85. [Google Scholar] [CrossRef] [Green Version]
- Lindsey, S.; Raghavendra, C. PEGASIS: Power Efficient Gathering in Sensor Information Systems. In Proceedings of the IEEE Aerospace Conference, Big Sky, MT, USA, 9–16 March 2002; pp. 1125–1130. [Google Scholar]
- KDD99. KDDCup1999Data. 2020. Available online: http://kddicsuciedu/databases/kddcup99/kddcup99html (accessed on 26 May 2021).
- Gaikwad, D.; Thool, R. DAREnsemble:Decision tree and rule learner based ensemble for network intrusion detection system. Proc. First Int. Conf. Inf. Commun. Technol. Intell. Syst. 2016, 50, 185–193. [Google Scholar]
- Pajouh, H.H.; Dastghaibyfard, G.; Hashemi, S. Two-tier network anomaly detection model: A machine learning approach. J. Intell. Inf. Syst. 2017, 48, 61–74. [Google Scholar] [CrossRef]
- Kanakarajan, N.; Muniasamy, K. Improving the accuracy of intrusion detection using gar-forest with feature selection. In Proceedings of the 4th International Conference on Frontiers in Intelligent Computing: Theory and Applications; Springer: New Delhi, India, 2016; pp. 539–547. Available online: https://link.springer.com/chapter/10.1007/978-81-322-2695-6_45 (accessed on 26 May 2021).
S.No. | Parameters | Values |
---|---|---|
1 | Field Dimensions | 100 m × 100 m/200 m × 200 m |
2 | Number of nodes | 100 |
3 | Base Station | 50 m × 50 m/100 m × 100 m |
4 | Battery energy | 0.5 Joules |
5 | Energy model parameter: | 1 × |
6 | Energy model parameter: | 1.3 × |
7 | Electronics Energy: | 50 nJ/bit |
8 | Data packet length | 4000 bits |
9 | Control packet length | 200 bits |
Training Accuracy% | Training Loss | Testing Accuracy% | Testing Loss |
---|---|---|---|
95.30 | 0.11 | 95.81 | 0.10 |
Confusion Metric for GRU | |||
TP | FP | FN | TN |
20098 | 1354 | 443 | 22,661 |
Classification Report | |||
Class Labels | Precision | Recall | F1 Score |
Normal Class | 94.00 | 98.00 | 96.00 |
Anomaly Class | 98.00 | 94.00 | 96.00 |
FPR | TPR % | ||
0.05 | 96.15 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Mittal, M.; de Prado, R.P.; Kawai, Y.; Nakajima, S.; Muñoz-Expósito, J.E. Machine Learning Techniques for Energy Efficiency and Anomaly Detection in Hybrid Wireless Sensor Networks. Energies 2021, 14, 3125. https://doi.org/10.3390/en14113125
Mittal M, de Prado RP, Kawai Y, Nakajima S, Muñoz-Expósito JE. Machine Learning Techniques for Energy Efficiency and Anomaly Detection in Hybrid Wireless Sensor Networks. Energies. 2021; 14(11):3125. https://doi.org/10.3390/en14113125
Chicago/Turabian StyleMittal, Mohit, Rocío Pérez de Prado, Yukiko Kawai, Shinsuke Nakajima, and José E. Muñoz-Expósito. 2021. "Machine Learning Techniques for Energy Efficiency and Anomaly Detection in Hybrid Wireless Sensor Networks" Energies 14, no. 11: 3125. https://doi.org/10.3390/en14113125
APA StyleMittal, M., de Prado, R. P., Kawai, Y., Nakajima, S., & Muñoz-Expósito, J. E. (2021). Machine Learning Techniques for Energy Efficiency and Anomaly Detection in Hybrid Wireless Sensor Networks. Energies, 14(11), 3125. https://doi.org/10.3390/en14113125