Anomaly detection for blueberry data using sparse autoencoder-support vector machine

PeerJ Comput Sci. 2023 Mar 10:9:e1214. doi: 10.7717/peerj-cs.1214. eCollection 2023.

Abstract

High-dimensional space includes many subspaces so that anomalies can be hidden in any of them, which leads to obvious difficulties in abnormality detection. Currently, most existing anomaly detection methods tend to measure distances between data points. Unfortunately, the distance between data points becomes more similar as the dimensionality of the input data increases, resulting in difficulties in differentiation between data points. As such, the high dimensionality of input data brings an obvious challenge for anomaly detection. To address this issue, this article proposes a hybrid method of combining a sparse autoencoder with a support vector machine. The principle is that by first using the proposed sparse autoencoder, the low-dimensional features of the input dataset can be captured, so as to reduce its dimensionality. Then, the support vector machine separates abnormal features from normal features in the captured low-dimensional feature space. To improve the precision of separation, a novel kernel is derived based on the Mercer theorem. Meanwhile, to prevent normal points from being mistakenly classified, the upper limit of the number of abnormal points is estimated by the Chebyshev theorem. Experiments on both the synthetic datasets and the UCI datasets show that the proposed method outperforms the state-of-the-art detection methods in the ability of anomaly detection. We find that the newly designed kernel can explore different sub-regions, which is able to better separate anomaly instances from the normal ones. Moreover, our results suggested that anomaly detection models suffer less negative effects from the complexity of data distribution in the space reconstructed by those layered features than in the original space.

Keywords: Anomaly detection; Auto encoder; High dimensionality; Support vector machine.

Grants and funding

We received funding from the National Natural Science Foundation of China under grant #61871061 to Hongchun Qu, the Sub-project of National Key R&D Program of China under grant #2016YFC500304-01 to DW, and the National key R&D plan “Research, development and demonstration of key technologies for berry complex ecological cultivation” 2022YFF1300503-03 to Dianwen Wei. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.