An Anomaly Detection Method for Wireless Sensor Networks Based on the Improved Isolation Forest
Open Access
- 4 January 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (2) , 702
Abstract
With the continuous development of technologies such as the Internet of Things (IoT) and cloud computing, sensors collect and store large amounts of sensory data, realizing real-time recording and perception of the environment. Due to the open characteristics of WSN, the security risks during information transmission are prominent, and network attack or intrusion is likely to occur. Therefore, effective anomaly detection is vital for IoT systems to keep the system safe. The original Isolation Forest algorithm is an anomaly detection algorithm with linear time complexity and has a better detection effect on perceptual data. However, there are also disadvantages such as strong randomness, low generalization performance, and insufficient stability. This paper proposes a data anomaly detection method named BS-iForest (box plot-sampled iForest) for wireless sensor networks based on a variant of Isolation Forest to address the problems. This method first uses the sub-dataset filtered by the box graph to train and construct trees. Then, isolation trees with higher accuracy are selected in the training set to form a base forest anomaly detector. Next, the base forest anomaly detector uses anomaly detection to judge data outliers during the next period. These experiments were performed on datasets collected from sensors deployed in a data center of a university, and the Breast Wisconsin (BreastW) dataset, showing the performance of the variant of the Isolation Forest algorithm. Compared with the traditional isolation forest, the area under the curve (AUC) increased by 1.5% and 7.7%, which verified that the proposed method outperforms the standard Isolation Forest algorithm with the two datasets we chose.Keywords
Funding Information
- National Natural Science Foundation of China (62072146, 2021C03187, 2022C01125)
- Key Technology Research and Development Program of the Zhejiang Province (62072146, 2021C03187, 2022C01125)
This publication has 36 references indexed in Scilit:
- Localized forgery detection in hyperspectral document images2015
- Fast and Efficient Outlier Detection Method in Wireless Sensor NetworksIEEE Sensors Journal, 2015
- ARIMA based Value Estimation in Wireless Sensor NetworksThe International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 2014
- Unsupervised video anomaly detection using feature clusteringIET Signal Processing, 2012
- Isolation-Based Anomaly DetectionACM Transactions on Knowledge Discovery From Data, 2012
- Incremental K-clique clustering in dynamic social networksArtificial Intelligence Review, 2011
- Least squares one-class support vector machinePattern Recognition Letters, 2009
- A New Local Distance-Based Outlier Detection Approach for Scattered Real-World Data2009
- Rock: A robust clustering algorithm for categorical attributesInformation Systems, 2000
- LOF2000