# Distributed Anomaly Detection using Autoencoder Neural Networks in WSN for IoT

arXiv: https://arxiv.org/abs/1812.04872 · HTML: https://mlsanity.com/paper/1812.04872/

## Key facts

- Cited by 16 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 12 Dec 2018.

## Built on by (most cited first, 16 of 16)

- [Deep Learning for Time Series Anomaly Detection: A Survey](https://mlsanity.com/paper/2211.05244/) (2022)
- [On the Importance of Building High-quality Training Datasets for Neural Code Search](https://mlsanity.com/paper/2202.06649/) (2022)
- [Fast Deep Autoencoder for Federated learning](https://mlsanity.com/paper/2206.05136/) (2022)
- [Machine Learning for the Detection and Identification of Internet of Things (IoT) Devices: A Survey](https://mlsanity.com/paper/2101.10181/) (2021)
- [Federated Learning with Unreliable Clients: Performance Analysis and Mechanism Design](https://mlsanity.com/paper/2105.06256/) (2021)
- [Resource-aware Time Series Imaging Classification for Wireless Link Layer Anomalies](https://mlsanity.com/paper/2104.00972/) (2021)
- [Anomaly Detection through Unsupervised Federated Learning](https://mlsanity.com/paper/2209.04184/) (2022)
- [Adaptive Anomaly Detection for Internet of Things in Hierarchical Edge Computing: A Contextual-Bandit Approach](https://mlsanity.com/paper/2108.03872/) (2021)
- [An Encode-then-Decompose Approach to Unsupervised Time Series Anomaly Detection on Contaminated Training Data--Extended Version](https://mlsanity.com/paper/2510.18998/) (2025)
- [Benchmarking Anomaly Detection Algorithms: Deep Learning and Beyond](https://mlsanity.com/paper/2402.07281/) (2024)
- [Weather-Driven Agricultural Decision-Making Using Digital Twins Under Imperfect Conditions](https://mlsanity.com/paper/2508.08326/) (2025)
- [Degradation Prediction of Semiconductor Lasers using Conditional Variational Autoencoder](https://mlsanity.com/paper/2211.02847/) (2022)
- [CADeSH: Collaborative Anomaly Detection for Smart Homes](https://mlsanity.com/paper/2303.01021/) (2023)
- [Wireless Sensor Networks anomaly detection using Machine Learning: A Survey](https://mlsanity.com/paper/2303.08823/) (2023)
- [Failure-tolerant Distributed Learning for Anomaly Detection in Wireless Networks](https://mlsanity.com/paper/2303.13015/) (2023)
- [A New Spatiotemporal Correlation Anomaly Detection Method that Integrates Contrastive Learning and Few-Shot Learning in Wireless Sensor Networks](https://mlsanity.com/paper/2506.00420/) (2025)

## Abstract (arXiv)

Wireless sensor networks (WSN) are fundamental to the Internet of Things (IoT) by bridging the gap between the physical and the cyber worlds. Anomaly detection is a critical task in this context as it is responsible for identifying various events of interests such as equipment faults and undiscovered phenomena. However, this task is challenging because of the elusive nature of anomalies and the volatility of the ambient environments. In a resource-scarce setting like WSN, this challenge is further elevated and weakens the suitability of many existing solutions. In this paper, for the first time, we introduce autoencoder neural networks into WSN to solve the anomaly detection problem. We design a two-part algorithm that resides on sensors and the IoT cloud respectively, such that (i) anomalies can be detected at sensors in a fully distributed manner without the need for communicating with any other sensors or the cloud, and (ii) the relatively more computation-intensive learning task can be handled by the cloud with a much lower (and configurable) frequency. In addition to the minimal communication overhead, the computational load on sensors is also very low (of polynomial complexity) and readily affordable by most COTS sensors. Using a real WSN indoor testbed and sensor data collected over 4 consecutive months, we demonstrate via experiments that our proposed autoencoder-based anomaly detection mechanism achieves high detection accuracy and low false alarm rate. It is also able to adapt to unforeseeable and new changes in a non-stationary environment, thanks to the unsupervised learning feature of our chosen autoencoder neural networks.
