Robust Anomaly Detection in Network Traffic: Evaluating Machine Learning Models on CICIDS2017

Identifying suitable machine learning paradigms for intrusion detection remains critical for building effective and generalizable security solutions. In this study, we present a controlled comparison of four representative models—MultiLayer Perceptron (MLP), 1D Convolutional Neural Network (CNN), One-Class Support Vector Machine (OCSVM) and Local Outlier Factor (LOF)—on the CICIDS2017 dataset under two scenarios: detecting known attack types and generalizing to previously unseen threats. Our results show that supervised MLP and CNN achieve near-perfect accuracy on familiar attacks but suffer drastic recall drops on novel attacks. Unsupervised LOF attains moderate overall accuracy and high recall on unknown threats at the cost of elevated false alarms, while boundarybased OCSVM balances precision and recall best, demonstrating robust detection across both scenarios. These findings offer practical guidance for selecting IDS models in dynamic network environments.

Authors

Institutions

Publication Details

Published
2025-06-27
DOI
https://doi.org/10.1109/icetis66286.2025.11144025
Citations
7
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
10.41
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Robust Anomaly Detection in Network Traffic: Evaluating Machine Learning Models on CICIDS2017

Zhaoyang Xu, Yunbo Liu
7 citations
Network Security and Intrusion Detection
10.41
article

Robust Anomaly Detection in Network Traffic: Evaluating Machine Learning Models on CICIDS2017

Zhaoyang Xu, Yunbo Liu
article en
7 citations

Abstract

Identifying suitable machine learning paradigms for intrusion detection remains critical for building effective and generalizable security solutions. In this study, we present a controlled comparison of four representative models—MultiLayer Perceptron (MLP), 1D Convolutional Neural Network (CNN), One-Class Support Vector Machine (OCSVM) and Local Outlier Factor (LOF)—on the CICIDS2017 dataset under two scenarios: detecting known attack types and generalizing to previously unseen threats. Our results show that supervised MLP and CNN achieve near-perfect accuracy on familiar attacks but suffer drastic recall drops on novel attacks. Unsupervised LOF attains moderate overall accuracy and high recall on unknown threats at the cost of elevated false alarms, while boundarybased OCSVM balances precision and recall best, demonstrating robust detection across both scenarios. These findings offer practical guidance for selecting IDS models in dynamic network environments.

University of Southern California (US), Duke University (US)
Openalex Percentile: Top 2%
Network Security and Intrusion Detection
10.41
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.

Robust Anomaly Detection in Network Traffic: Evaluating Machine Learning Models on CICIDS2017 — Zhaoyang Xu, Yunbo Liu · (2025) | TGRS Research Map | TGRS