Uppsats
Isolation Forest for Multi-Level Anomaly Detection in Hierarchical System Logs
Kandidat-uppsats
KTH/Skolan för teknikvetenskap (SCI)
Publicerad: 2026
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
Manual inspection of large system logs is impractical for troubleshooting complex cyber-physical systems. This thesis investigates an unsupervised Isolation Forest approach for anomaly detection in a multi-level system at Saab. While the main system log can indicate failures, it is insufficient for identifying root causes distributed across subsystem logs. To address this, a hierarchical approach is introduced where subsystem-level models are trained separately and their outputs are used as features in a higher-level main model. A processing pipeline was developed using Drain3 for log parsing, fixed two-minute event windowing, and evaluation on a representative synthetic dataset containing point, contextual, and collective anomalies. The proposed hierarchical model improves detection performance, increasing F1-score from 0.392 to 0.639 and Precision@44 from 0.432 to 0.705, while also enabling detection of hidden subsystem anomalies not visible in the main log. Overall, the results show that a hierarchical Isolation Forest combined with targeted PCA and selective feature removal provides an effective and scalable approach for automated anomaly detection.
Information
- Författare
- Persson, Elias, Råhlén, Gustav
- Lärosäte / institution
- KTH/Skolan för teknikvetenskap (SCI)
- Publiceringsdatum
- 2026
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Göteborgs universitet/Institutionen för data- och informationsteknik
Lindström Bermann,Freja Nicole Tiger, Edlund, Jennie, Rankanen Jason, Isac
Publicerad: 2026-02-23
Kandidat-uppsats, Högskolan i Skövde/Institutionen för handel och företagande
Kling, Ellen, Rakh, Shilan
Publicerad: 2026
Kandidat-uppsats, Lunds universitet/Matematisk statistik
Truong, Nancy
Publicerad: 2026
Kandidat-uppsats, Umeå universitet/Institutionen för datavetenskap
Velkov, Viktor
Publicerad: 2026
Kandidat-uppsats, Karlstads universitet/Institutionen för hälsovetenskaper (from 2013)
Thoreson, Alice, Svensson, Björn
Publicerad: 2026
Kandidat-uppsats, Malmö universitet/Institutionen för datavetenskap och medieteknik (DVMT)
Persson, Ola
Publicerad: 2026