Unveiling environment memorization in machine learning-based intrusion detection

Machine-learning intrusion detection systems can reach 99% accuracy on benchmark datasets, yet this performance is rarely reproduced in deployment. This gap motivates the study of environment memorization, the learning of artifacts of the data-collection environment rather than transferable attack behavior. The phenomenon is formally defined and two diagnostics are introduced: the dataset quality score, which measures classifier reliance on behavioral versus environmental features, and the environment generalization test, which measures the accuracy drop under controlled environmental perturbation. On CIC-IDS2017, eight environmental features alone reach 98.26% accuracy. Models trained on either benchmark fail to exceed a majority-class baseline when transferred to the other, so the reported benchmark accuracy does not survive a change of environment. Under environmental perturbation, a concentrated port shortcut in CIC-IDS2017 produces a drop of 72.82 pp, while distributed timing features in UNSW-NB15 produce a drop of 57.62 pp.

Authors

Institutions

Publication Details

Journal
Pollack Periodica
Published
2026-12-02
DOI
https://doi.org/10.1556/606.2026.01703
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
NOV
article

Unveiling environment memorization in machine learning-based intrusion detection

Mustafa Muwafak Alobaedy, Mohammad M. Rasheed
Pollack Periodica
Network Security and Intrusion Detection
article

Unveiling environment memorization in machine learning-based intrusion detection

Mustafa Muwafak Alobaedy, Mohammad M. Rasheed
article en

Abstract

Machine-learning intrusion detection systems can reach 99% accuracy on benchmark datasets, yet this performance is rarely reproduced in deployment. This gap motivates the study of environment memorization, the learning of artifacts of the data-collection environment rather than transferable attack behavior. The phenomenon is formally defined and two diagnostics are introduced: the dataset quality score, which measures classifier reliance on behavioral versus environmental features, and the environment generalization test, which measures the accuracy drop under controlled environmental perturbation. On CIC-IDS2017, eight environmental features alone reach 98.26% accuracy. Models trained on either benchmark fail to exceed a majority-class baseline when transferred to the other, so the reported benchmark accuracy does not survive a change of environment. Under environmental perturbation, a concentrated port shortcut in CIC-IDS2017 produces a drop of 72.82 pp, while distributed timing features in UNSW-NB15 produce a drop of 57.62 pp.

Pollack Periodica
Multimedia University (MY), University of Information Technology and Communications (IQ)
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.

Laika access coming soon