Conference paper · IEEE COMPAS 2025
Comparative Performance Analysis of Supervised Models for Network Anomaly Detection
The question
What should you measure when choosing a model to flag suspicious network traffic?
The problem
Many supervised models can be used to flag intrusions and anomalies in network traffic, which leaves the question of how to compare them fairly.
Our approach
We compare five supervised classifiers, Random Forest, XGBoost, K-Nearest Neighbors, Support Vector Classifier and Logistic Regression, on the CICIDS2017 dataset. Each is scored on accuracy, precision, recall, F1 and ROC-AUC, and the differences are checked with Friedman, Nemenyi and Wilcoxon tests. Random Forest performed best, with XGBoost and K-Nearest Neighbors close behind.
Key results
- Random Forest performed best overall, with XGBoost and K-Nearest Neighbors close behind
- Differences were checked with Friedman, Nemenyi and Wilcoxon significance tests
Why it matters
It gives teams building intrusion and anomaly detection a side-by-side basis for choosing a model.
Cite this paper
@inproceedings{nishat2025comparative,
title = {Comparative Performance Analysis of Supervised Models for Network Anomaly Detection},
author = {Nishat, Tahsinul Islam and
Nadim, Ragib and
Rahman, Noshin Saiyara and
Haque, Md. Eaoumoon and
Shihab, Md. Fahim Al and
Ahmed, Mustakim and
Sohan, Md. Faruk Abdullah Al},
booktitle = {IEEE COMPAS 2025},
year = {2025},
doi = {10.1109/compas67506.2025.11381844},
url = {https://doi.org/10.1109/compas67506.2025.11381844}
}