Nanyang Technological University
Anomaly detection: comparing different machine learning approaches
Abstract
dc:description.abstractTimeseries anomaly detection plays a vital role in industrial internet monitoring and IT operations. Although deep learning methods have made significant progress in recent years, traditional machine learning algorithms remain irreplaceable in certain domains due to their low computational complexity and interpretability. However, the field currently lacks systematic evaluations of traditional algorithms under unified benchmarks, and research on the trade-offs between hyperparameter sensitivity and computational efficiency remains insufficient. This study aims to systematically evaluate the effectiveness and efficiency of unsupervised machine learning algorithms in univariate time series anomaly detection. We selected four representative algorithms—PCA, kNN, GMM, and iForest—and conducted extensive comparative experiments on the NAB dataset. Additionally, ablation studies were designed to thoroughly analyze the specific impact of two critical hyperparameters—sliding window size 𝑊 and anomaly detection threshold—on model Precision, Recall, and F1-score. Finally, addressing the limitations of traditional algorithms—which rely on static windows and struggle to capture long-range, multi-scale dependencies—this paper offers a forward-looking perspective based on the latest academic advancements. Research indicates that future time-series anomaly detection will evolve from shallow, static models toward multi-scale adaptive mechanisms and general-purpose temporal foundational models, enabling zero-shot inference and stronger generalization capabilities. This study provides empirical evidence and theoretical references for selecting and deploying anomaly detection algorithms in industrial settings. Keywords: TimeSeries Anomaly Detection; Unsupervised Learning; Isolation Forest; Ablation Study; Computational Efficiency; Time Series Baseline Model
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Peixing
- Advisor dc:contributor.supervisor
-
- Wang Lipo
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/212681