Factor-structured anomaly detection: an interpretable AI framework for anomaly behavioral analysis

Network Intrusion Detection Systems (NIDS) are increasingly required not only to identify malicious traffic, but also to provide defensible evidence explaining why an alert was generated. This paper presents DLAD-SSL, a semi-supervised, factor-structured anomaly-detection framework that learns benign network-flow behavior using a factor-aligned Variational Autoencoder (VAE), self-supervised learning objectives, temporal context modeling, and calibrated anomaly scoring. The proposed framework organizes the latent representation into three operational traffic factors: protocol compliance, temporal behavior, and payload/volume behavior. This structure enables block-level attribution by associating each alert with the behavioral factor that deviates most strongly from the calibrated benign distribution. Under CICIDS2017 evaluation protocol, the DLAD-SSL Frozen Head achieved precision of 0.9953, recall of 0.9539, F1-score of 0.9741, false positive rate (FPR) of 0.48%, and area under the receiver operating characteristic curve (AUC-ROC) of 0.9966. Although fully supervised tree-based classifiers achieved higher closed-set classification scores when trained on the same labeled pool, DLAD-SSL substantially outperformed unsupervised anomaly-detection baselines, including a standard VAE, autoencoder, Isolation Forest, and One-Class Support Vector Machine (One-Class SVM). Moreover, the frozen latent representation alone achieved F1-score of 0.9553 and AUC-ROC of 0.9892, confirming that benign-only factor-aligned training produced discriminative latent features. A representative Distributed Denial-of-Service (DDoS) case study further showed that the payload/volume factor was the dominant contributor to the alert, demonstrating the operational value of the proposed attribution mechanism.

Authors

Institutions

Publication Details

Journal
Ain Shams Engineering Journal
Published
2026-06-12
DOI
https://doi.org/10.1016/j.asej.2026.104260
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Factor-structured anomaly detection: an interpretable AI framework for anomaly behavioral analysis

Marwan Ali Albahar
Ain Shams Engineering Journal
Network Security and Intrusion Detection
article

Factor-structured anomaly detection: an interpretable AI framework for anomaly behavioral analysis

Marwan Ali Albahar
article en

Abstract

Network Intrusion Detection Systems (NIDS) are increasingly required not only to identify malicious traffic, but also to provide defensible evidence explaining why an alert was generated. This paper presents DLAD-SSL, a semi-supervised, factor-structured anomaly-detection framework that learns benign network-flow behavior using a factor-aligned Variational Autoencoder (VAE), self-supervised learning objectives, temporal context modeling, and calibrated anomaly scoring. The proposed framework organizes the latent representation into three operational traffic factors: protocol compliance, temporal behavior, and payload/volume behavior. This structure enables block-level attribution by associating each alert with the behavioral factor that deviates most strongly from the calibrated benign distribution. Under CICIDS2017 evaluation protocol, the DLAD-SSL Frozen Head achieved precision of 0.9953, recall of 0.9539, F1-score of 0.9741, false positive rate (FPR) of 0.48%, and area under the receiver operating characteristic curve (AUC-ROC) of 0.9966. Although fully supervised tree-based classifiers achieved higher closed-set classification scores when trained on the same labeled pool, DLAD-SSL substantially outperformed unsupervised anomaly-detection baselines, including a standard VAE, autoencoder, Isolation Forest, and One-Class Support Vector Machine (One-Class SVM). Moreover, the frozen latent representation alone achieved F1-score of 0.9553 and AUC-ROC of 0.9892, confirming that benign-only factor-aligned training produced discriminative latent features. A representative Distributed Denial-of-Service (DDoS) case study further showed that the payload/volume factor was the dominant contributor to the alert, demonstrating the operational value of the proposed attribution mechanism.

Ain Shams Engineering JournalVol. 17(8)
Umm al-Qura University (SA)
Reduced inequalities
Openalex Percentile: Top 4%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Factor-structured anomaly detection: an interpretable AI framework for anomaly behavioral analysis — Marwan Ali Albahar · Ain Shams Engineering Journal (2026) | TGRS Research Map | TGRS