Skip to content
Conference Open access

The 99 Percent Accuracy Illusion: A Base-Rate-Aware and Cross-Dataset Re-Evaluation of Machine-Learning Intrusion Detection

Sep 2026 · 2026 International Russian Automation Conference (RusAutoCon) · pp. 756-761 · 0 citations · 17 references

TL;DR

These results expose a systemic evaluation gap rather than an algorithmic deficiency, and a base-rate-aware, distribution-shift-aware evaluation protocol is proposed as a prerequisite for credible ML-IDS research.

Abstract

Machine-learning (ML) intrusion-detection systems are routinely reported to achieve 98-99% accuracy on standard benchmarks, widely read as evidence that the problem is solved. We challenge that reading through a controlled, leakage-safe, reproducible re-evaluation of four representative classifiers logistic regression, random forest, XGBoost and a multilayer perceptron - on the NSL-KDD benchmark and, for cross-network generalization, on the NetFlow-v2 datasets NF-UNSW-NB15 and NF-ToN-IoT. Four findings follow. First, the high accuracy is an artifact of same-distribution validation: five-fold cross-validation reproduces 97.4-99.9% accuracy, yet the identical pipelines attain only 75.3-79.5% on the held-out, distribution-shifted test partition, an optimism gap of 20-22 points. Second, this reduced accuracy is still operationally misleading: projecting each model's measured true- and false-positive rates onto traffic in which intrusions are 0.1% of flows, the precision of the best model collapses from 0.96 to 0.023, so over 97% of alarms are false and even that model raises more than $\text{2 6, 0 0 0}$ false alerts per million flows. Third, detection is highly uneven: recall on rare remote-to-local attacks falls to 1%, and recall on attack types unseen during training (25-53%) is far below that on known types (71-78%). Fourth, in a true cross-network experiment the Matthews correlation coefficient of the strongest models collapses from 0.96 to approximately zero, and in places negative. These results expose a systemic evaluation gap rather than an algorithmic deficiency, and we propose a base-rate-aware, distribution-shift-aware evaluation protocol as a prerequisite for credible ML-IDS research.

Read PDF

Similar papers

Open access Nov 2026

Cross-Dataset Intrusion Detection under Benchmark Shift: Directed Transfer, Probability Calibration, and Alert Burden

Machine-learning intrusion detectors commonly report strong performance within one benchmark, but deployment requires transport across traffic environments and realistic target prevalence. This study used three public harmonized NetFlow datasets: NF-UNSW-NB15, NF-ToN-IoT, and NF-BoT-IoT. Their archive attack prevalence...

P. R · 0 citations
Review Open access Oct 2026

Prospective Worst-Attack Reliability Floors for Flow-Based Machine-Learning Intrusion Detection under Forward-Time Shift

Flow-based machine-learning intrusion detectors are commonly assessed using aggregate scores, which can conceal weak attack-family recall. This study tests a source-calibrated minimum-recall floor on a short forward-time UNSW-NB15 capture as a proof of methodology. Four raw files were deduplicated to 2,059,414 flows an...

S. M. Bahauddin Bakhtiar · 0 citations
Conference Open access Sep 2026

Beyond Aggregate Accuracy: Attack-Family Reliability of Machine-Learning Intrusion Detection on TON_IoT

Evaluating attack-family reliability of three conventional machine-learning classifiers on the TON_IoT network dataset under a leakage-controlled protocol shows that aggregate superiority does not imply uniform attack-family superiority and that family-level reliability should be interpreted together with representatio...

Mohit Tiwari, Tripti Tiwari · 0 citations
Open access Sep 2026

Towards Trustworthy Intrusion Detection: A Calibration-Aware and Explainable Classical-ML Pipeline on NSL-KDD

Existing assessments of machine-learning-based intrusion detection systems (IDSs) often consider each of accuracy, reliability of probability outputs, and transparency of decisions separately. Few attempt to combine all three dimensions in a single assessment. This paper provides a reproducible IDS pipeline that satisf...

Zainab Qahtan Mohammed · 0 citations
Open access Oct 2026

A Comparative Analysis of Tuned and Untuned Machine Learning Models for Cybersecurity Intrusion Detection

This study benchmarks tuned and untuned machine learning models for intrusion detection across a 63-class attack taxonomy using the Cybersecurity Attack and Defense Dataset ($n=14{,}133$). A leakage-safe pipeline is designed, fitting all encoders and scalers exclusively on training data. Nine models are evaluated: five...

Kun Wang, Jin-Lei Gu · 0 citations

Multi-Class, Multi-Tier Network Intrusion Detection: A Comprehensive and Reproducible Benchmark

Machine learning (ML) and deep learning (DL) have dominated Intrusion Detection System (IDS) research in recent years. Unfortunately, many existing studies have produced inflated results and unreliable benchmarks due to critical oversights and mistakes in the ML and DL pipeline, from data collection and labeling to fea...

Yu-Feng Xin, Bryant Goseland, Mohamed Rahouti · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.