Work

Anomaly Detection in Smart City Sensor Data Using Isolation Forest and Autoencoder Models

Year: 2026
Type: article
Abstract: Smart city operations depend on continuous sensing across transport, energy, and environmental systems. Although these data streams enable data-driven urban management, they also expose city operators to abnormal patterns caused by sensor malfunction, communication dropout, sudden load changes, and cybersecurity-relevant manipulation of telemetry values. This study develops and evaluates a hybrid anomaly detection framework that combines Isolation Forest and Autoencoder models for multivariate smart city sensor data. Isolation Forest is used to perform scalable initial screening of sparse and high-deviation observations, while an Autoencoder learns nonlinear normal operating patterns and refines alerts through reconstruction error. The framework was assessed on CitySense-AD, a controlled multivariate smart city benchmark containing traffic, energy, environmental, and device-health measurements across multiple urban zones. Model performance was evaluated using precision, recall, F1-score, receiver operating characteristic area under the curve, precision-recall area under the curve, false-positive rate, detection latency, noise robustness, and explanation stability. The hybrid model achieved an F1-score of 0.837 and ROC-AUC of 0.944, outperforming standalone Isolation Forest, standalone Autoencoder, one-class support vector machine, and local outlier factor baselines. Robustness analysis showed that the hybrid model retained a higher F1-score under injected sensor noise and partial missingness, while feature-level reconstruction and isolation contributions provided operationally meaningful explanations for alert triage. The findings indicate that combining tree-based isolation with neural reconstruction can improve anomaly detection reliability in heterogeneous smart city sensor environments without requiring extensive labeled attack data.
Language: English
Open Access status: diamond
OpenAlex ID: W7235976287
FWCI:
Cites: 13
Cited by:
Related to: 10